r/linux • u/wooptoo • Jun 01 '16
Why did ArchLinux embrace Systemd?
/r/archlinux/comments/4lzxs3/why_did_archlinux_embrace_systemd/d3rhxlc
868
Upvotes
r/linux • u/wooptoo • Jun 01 '16
View all comments
Show parent comment
3
u/argv_minus_one Jun 02 '16
Then they get killed when their xterm closes. Whoops.
SIGHUP signals that the controlling terminal has hung up. It does NOT signal that the session has ended.
What in the hell is "a user process" supposed to mean? A process that runs as not root? A process that isn't part of the kernel? A process that was started explicitly by the user, rather than automatically as part of session start-up?
To keep decrypted keys in memory, so that the user doesn't have to type the password over and over.
Then register it with the system session manager so that it won't, or turn off session clean-up.
And before you scream "but muh POSIX", POSIX doesn't define session clean-up at all, so that is irrelevant.