[systemd-devel] systemd prevents pulseaudio from shutting down

Paul Menzel paulepanter at users.sourceforge.net
Sun Jun 3 09:46:55 PDT 2012


Dear Robert,


Am Sonntag, den 03.06.2012, 11:35 +0200 schrieb Robert Buhren:

> i'm using "ecryptfs" to encrypt my home directory and "pam_mount" to 
> have it automatically
> mounted/unmounted at login/logout. The unmounting never worked and i 
> discoverd that a pulseaudio process of my user was keept running 
> although my user was already logged out. This process had some files 
> opened  in "~./pulse" which is why i think my home dir is not unmounted.
> The only client that was accessing my pulseaudio process was the module 
> systemd-login.c
> 
> [pulseaudio] main.c: 1 client(s) logged in.
> [pulseaudio] main.c:     index: 0
> [pulseaudio] main.c:     driver: <module-systemd-login.c>
> [pulseaudio] main.c:     owner module: 19
> [pulseaudio] main.c:     properties:
> [pulseaudio] main.c:             application.name = "Login Session 2"
> [pulseaudio] main.c:             systemd-login.session = "2"
> 
> I already tried using "KillUserProcesses=yes" in "logind.conf",to to 
> have systemd kill all user process on logout, but it didn't help.
> 
> So is it true that systemd keeps my pusleaudio alive? If so how can i 
> avoid that? And is this behavior intended?

I will not be able to help you, but you can give more information. What
distribution do you use? What version of Linux, PulseAudio, systemd?
Maybe even attach the PulseAudio’s unit file for reference.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120603/4165235f/attachment-0001.pgp>


More information about the systemd-devel mailing list