Package: sddm
Version: 0.21.0-1.1
Severity: normal
X-Debbugs-Cc: z...@debian.org
User: z...@debian.org
Usertags: utmp-disable

Hi,

starting with systemd 256.7-2, utmp support has been disabled [1]. This
was done as utmp is not Y2038 safe. For more details, see [2].

After this change, /run/utmp is no longer created by systemd leading to
the following warning in the systemd journal on boot:

Nov 12 19:06:30 mars sddm-helper[1948]: Failed to write utmpx:  No such file or 
directory

As the expected environment in trixie is, that /run/utmp no longer
exists, it doesn't make sense to log such a warning message.
For other distros, that made the same changes, users where mislead by
this error/warning message [3].

The code to update /run/utmp should thus be disabled on Debian
sid/trixie or at least the warning message downgraded to debug.

I've CCed zeha who knows a lot more about the finer details for this
change. If you have further questions, it's probably best if you CC zeha
as well.

Regards,
Michael

[1] 
https://salsa.debian.org/systemd-team/systemd/-/commit/249676834ca241cc407622b8cd3d540121956897
[2] https://wiki.debian.org/pam_lastlog2%20and%20wtmpdb
[3] 
https://forums.opensuse.org/t/failed-to-write-utmpx-no-such-file-or-directory/175978/3


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.11.7-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sddm depends on:
ii  adduser                   3.137
ii  debconf [debconf-2.0]     1.5.87
ii  libc6                     2.40-3
ii  libgcc-s1                 14.2.0-8
ii  libpam0g                  1.5.3-7+b1
ii  libqt5core5t64            5.15.15+dfsg-2
ii  libqt5dbus5t64            5.15.15+dfsg-2
ii  libqt5gui5t64             5.15.15+dfsg-2
ii  libqt5network5t64         5.15.15+dfsg-2
ii  libqt5qml5                5.15.15+dfsg-3
ii  libqt5quick5              5.15.15+dfsg-3
ii  libstdc++6                14.2.0-8
ii  libsystemd0               257~rc1-4
ii  libxau6                   1:1.0.11-1
ii  libxcb-xkb1               1.17.0-2+b1
ii  libxcb1                   1.17.0-2+b1
ii  qml-module-qtquick2       5.15.15+dfsg-3
ii  x11-common                1:7.7+23.1
ii  xauth                     1:1.1.2-1
ii  xkb-data                  2.42-1
ii  xserver-xephyr [xserver]  2:21.1.14-2
ii  xserver-xorg [xserver]    1:7.7+23.1

Versions of packages sddm recommends:
ii  libpam-systemd                         257~rc1-4
ii  sddm-theme-breeze [sddm-theme]         4:5.27.11.1-1+b2
ii  sddm-theme-debian-breeze [sddm-theme]  4:5.27.11.1-1+b2

Versions of packages sddm suggests:
ii  libpam-kwallet5           6.1.4-2
pn  qtvirtualkeyboard-plugin  <none>

-- debconf information:
  sddm/daemon_name: /usr/bin/sddm
* shared/default-x-display-manager: sddm

Reply via email to