Your message dated Wed, 3 Apr 2019 00:05:21 +0200
with message-id <[email protected]>
and subject line Re: Bug#922647: Info received (Bug#922647: systemd --user no 
longer running)
has caused the Debian Bug report #922647,
regarding systemd --user no longer running
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
922647: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922647
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpam-systemd
Version: 240-5
Severity: normal

Hi,

a few days ago some user services started failed - I mainly noticed that 
pulseaudio was no longer available.
This looked very strange, and while checking other systems, I saw that
"systemd --user" is not launched, which would have started pa and some
other user-session daemons.

So I started looking around, what "systemd --user" doing and how it is
started? Here, the first issue emerges. The manual explains --user but
a) does not tell you who/what is supposed to run this
b) in case you run systemd --user manually, it aborts with 
"Trying to run as user instance, but $XDG_RUNTIME_DIR is not set."
This does not help me at all - how shall a user guess where it's coming
from and how this is required for --user? There is NO explanation or
hint in the manpage.

Ok, so I guess that it must be some special thing triggered by login.
Which probably means pam. So I found libpam-systemd by looking through
the package list. And the manpage is interesting. But nothing tells me
what might be going wrong when the thing is NOT spawning systemd--user.
So I checked a few hints in the "SEE ALSO" section, like logind.conf(5),
and still nothing tells me how to debug a problem where systemd --user
is not run.

I checked the journal, and still cannot find much about/from PAM there.
And the only matches for /login/ are:

| Feb 18 19:54:58 zombie systemd[1]: Condition check resulted in getty on 
tty2-tty6 if dbus and logind are not available being skipped.

This phrase I not understand. Missing a comma somewhere? Missing some 
background explanation for regular users? Is this my problem and if yes, what 
to do about it?

The rest looks harmless:

| Feb 18 19:54:58 zombie systemd-logind[996]: New seat seat0.
| Feb 18 19:54:58 zombie systemd-logind[996]: Watching system buttons on 
/dev/input/event9 (Power Button)
| Feb 18 19:54:58 zombie systemd-logind[996]: Watching system buttons on 
/dev/input/event8 (Power Button)
| Feb 18 19:54:58 zombie systemd-logind[996]: Watching system buttons on 
/dev/input/event0 (Microsoft Natural® Ergonomic Keyboard 4000)
| Feb 18 19:54:58 zombie systemd-logind[996]: Watching system buttons on 
/dev/input/event1 (Microsoft Natural® Ergonomic Keyboard 4000)
| Feb 18 19:54:58 zombie systemd-logind[996]: Watching system buttons on 
/dev/input/event2 (A4TECH USB Device Keyboard)
| Feb 18 19:54:58 zombie systemd-logind[996]: Watching system buttons on 
/dev/input/event3 (A4TECH USB Device System Control)
| Feb 18 19:54:58 zombie systemd-logind[996]: Watching system buttons on 
/dev/input/event4 (A4TECH USB Device Consumer Control)
| Feb 18 19:55:00 zombie systemd-logind[996]: New session c1 of user lightdm.
| Feb 18 19:55:09 zombie systemd-logind[996]: Removed session c1.

Still does not tell me much if I don't know what to look for. There are
no exceptions/error/hints which would look somehow linked to login
sequence problems.

Any ideas?

NOTE: this issue might be related to #921687 because it started at
approximately the same time.

Best regards,
Eduard.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.20.7 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libpam-systemd depends on:
ii  dbus            1.12.12-1
ii  libc6           2.28-7
ii  libpam-runtime  1.3.1-5
ii  libpam0g        1.3.1-5
ii  systemd         240-5
ii  systemd-sysv    240-5

libpam-systemd recommends no packages.

libpam-systemd suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Sun, 10 Mar 2019 20:58:37 +0100 Julien Leproust <[email protected]>
wrote:
> I tried the fix_db.pl script, there was no output. Here is the only 
> relevant difference:
> 
> --- debconf.old/config.dat▸-----2019-03-10 18:43:37.265483165 +0100
> +++ debconf/config.dat▸-2019-03-10 18:43:41.261085496 +0100
> @@ -1151,7 +1151,7 @@
> 
>   Name: libpam-modules/disable-screensaver
>   Template: libpam-modules/disable-screensaver
> -Owners: libpam-modules
> +Owners: libpam-modules, libpam-modules:amd64
> 
>   Name: libpam-runtime/conflicts
>   Template: libpam-runtime/conflicts
> 
> 
> Other differences are only label translations for 
> libraries/restart-without-asking in templates.


Eduard didn't report back anymore and Julien was not really able to
further narrow down the problem (which looks like a libpam-runtime
problem with the info available so far).

So I'm going to close this bug report at this point.

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to