[RESOLVED] urxvt spawns extra process
Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
Re: [RESOLVED] urxvt spawns extra process
I'm not sure I really understand. How does it make sense to spawn an extra process. Kind of sounds like bs to me. How can that even be the slightest bit acceptable?
Work hard; Complain less
Re: [RESOLVED] urxvt spawns extra process
I don't understand either, especially because Debian is the only distro that seems to need this extra process. I have been searching and reading, but I can't still can't say I understand this (or why it's necessary)
if urxvt is setgid utmp (as it is now in debian) it forks an helper
process to manage the pty/utmp stuff while the main process drops
priviledges
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: [RESOLVED] urxvt spawns extra process
It should rather drop the 'd' in Priviledge :D
..gnutella..
-
- Baconator
- Posts: 10253
- Joined: Thu Sep 16, 2010 11:03 am
- Location: Pfälzerwald
- Contact:
Re: [RESOLVED] urxvt spawns extra process
Extremely stupid question: the groups without associated users (floppy, cdrom, utmp) are also listed in groups. Usually a process should only be able to setid utmp if the group utmp is existing, shouldn't it. This enables to write to /var/run/utmp. Judging from how other terminals do it, they switch to root (xterm, according to a bug report), or use a helper process (gnome-terminal).
Totally unclear.
Totally unclear.
..gnutella..
Re: [RESOLVED] urxvt spawns extra process
They consider being able to see the urxvt process in the 'w' command to be more important than that extra process.
As a consequence, from a security point of view, it makes sense to do it like that.
I was using xterm and eshell in emacs anyway, as I said before, and I will continue to do so.
As a consequence, from a security point of view, it makes sense to do it like that.
I was using xterm and eshell in emacs anyway, as I said before, and I will continue to do so.
Connected. Take this REPL, brother, and may it serve you well.
Re: [RESOLVED] urxvt spawns extra process
I was assuming that it was security related as well, ("setuid is dangerous blah, blah, blah"). I have no problem with building from tars, so whatever makes Debian happy...then they can feel free to do it. I'll do what I want apart from them anyhow.
I don't generally see a huge need for a highly updated terminal emulator.
I don't generally see a huge need for a highly updated terminal emulator.
Re: [RESOLVED] urxvt spawns extra process
There is a very simple solution to get rid of that extra process:
Just install the Debian package as normal,
then run the following commands as root:
BINGO!
Just install the Debian package as normal,
then run the following commands as root:
Code: Select all
chgrp root /usr/bin/urxvt
chmod g-s /usr/bin/urxvt
Connected. Take this REPL, brother, and may it serve you well.
Re: [RESOLVED] urxvt spawns extra process
Thank you.xaos52 wrote:There is a very simple solution to get rid of that extra process:
Re: [RESOLVED] urxvt spawns extra process
No problem.
I have added that solution in a response to the bug report.
I am curious what the maintainer will come up with. :D
I have added that solution in a response to the bug report.
I am curious what the maintainer will come up with. :D
Connected. Take this REPL, brother, and may it serve you well.
Re: [RESOLVED] urxvt spawns extra process
Thanks you.
well check that out. Interesting solution. Based on what we've learned, I guess that makes sense. So what group is / would it normally be under? users? I checked mine, both xterm and urxvt, and both are root:root. But the urxvt I have was build from source.
Edit: after some more reading, I think I better understand.
well check that out. Interesting solution. Based on what we've learned, I guess that makes sense. So what group is / would it normally be under? users? I checked mine, both xterm and urxvt, and both are root:root. But the urxvt I have was build from source.
Edit: after some more reading, I think I better understand.
Work hard; Complain less
Re: [RESOLVED] urxvt spawns extra process
^ root:root is normal
Connected. Take this REPL, brother, and may it serve you well.
Re: [RESOLVED] urxvt spawns extra process
Many thanks xaos52, that's what i was looking for... :D
Thanks also dkeg that addressed me on this thread. ;)
Thanks also dkeg that addressed me on this thread. ;)
Devuan/XFCE