retitle 897654 libpam-systemd: hidepid causes "Failed to create session: No such process" thanks
On Thu, May 03, 2018 at 22:53:34 +0200, Michael Biebl wrote: > On Thu, 3 May 2018 16:31:53 -0400 Michael Gold <mg...@qnx.com> wrote: > > Apr 09 11:37:30 golbez lightdm[14767]: pam_systemd(lightdm:session): > > pam-systemd initializing > > Apr 09 11:37:30 golbez lightdm[14767]: pam_systemd(lightdm:session): > > Asking logind to create session: uid=1000 pid=14767 service=lightdm > > type=x11 class=user desktop=lightdm-xsession seat=seat0 vtnr=7 tty= > > display=:0 remote=no remote_user= remote_host= > > Apr 09 11:37:30 golbez lightdm[14767]: pam_systemd(lightdm:session): > > Failed to create session: No such process ... > Are you using hidepid? Yes, "proc /proc proc rw,relatime,gid=4,hidepid=2 0 0". After running "mount /proc -o remount,hidepid=0" I logged in on a VT and saw a session in the list. (I was wrong about this working on the other system. I'm using the same mount options there and also have 0 sessions, at least over ssh.) Thanks for the quick response. Is this problem already tracked? Any idea why it would happen, given that systemd-logind is running as root? -- Michael
signature.asc
Description: PGP signature
--------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
_______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-systemd-maintainers