Bug#952767: systemd: enable systemd-pstore.service by default

2020-02-28 Thread Michael Biebl
Am 28.02.20 um 21:57 schrieb Kevin Locke:
> Package: systemd
> Version: 244.3-1
> Severity: normal
> 
> Dear Maintainer,
> 
> This morning my ThinkPad T430 failed to boot with the message:
> 
> Error: The non-volatile variable storage is about full
> Press F1 to enter Setup.
> 
> The cause was the same as #891434: the kernel had dumped dmesg in pstore
> after an oops, which created dump-type0-* efivars, which had accumulated
> sufficiently to cause UEFI pre-boot to require user action.  (Luckily my
> machine still boots, unlike in #891434.)
> 
> It appears that systemd-pstore.service should move these files to
> /var/lib/systemd/pstore/ but the service is disabled.  `systemctl status
> systemd-pstore.service` shows:
> 
> Loaded: loaded (/lib/systemd/system/systemd-pstore.service; disabled; 
> vendor preset: enabled)"
> 
> I confirmed the same state occurs in a fresh testing install in a VM and
> was not inadvertently disabled by me or a previous update.
> 
> Is there a reason systemd-pstore.service is disabled by default?  Could
> we consider enabling it to avoid causing UEFI boot issues?

At a cursory glance, this might seem like a useful service to enable by
default, but I'm not sure if it has any downsides (and if we can enable
it safely on every system).

Colin, Niels, since you've been working on #891434 I'd welcome your
feedback here.
Ben, as kernel maintainer, your feedback would be very much appreciated
as well.

https://www.freedesktop.org/software/systemd/man/systemd-pstore.html#
has some further info on this service.

Regards,
Michael




signature.asc
Description: OpenPGP digital signature


Bug#952767: systemd: enable systemd-pstore.service by default

2020-02-28 Thread Kevin Locke
Package: systemd
Version: 244.3-1
Severity: normal

Dear Maintainer,

This morning my ThinkPad T430 failed to boot with the message:

Error: The non-volatile variable storage is about full
Press F1 to enter Setup.

The cause was the same as #891434: the kernel had dumped dmesg in pstore
after an oops, which created dump-type0-* efivars, which had accumulated
sufficiently to cause UEFI pre-boot to require user action.  (Luckily my
machine still boots, unlike in #891434.)

It appears that systemd-pstore.service should move these files to
/var/lib/systemd/pstore/ but the service is disabled.  `systemctl status
systemd-pstore.service` shows:

Loaded: loaded (/lib/systemd/system/systemd-pstore.service; disabled; 
vendor preset: enabled)"

I confirmed the same state occurs in a fresh testing install in a VM and
was not inadvertently disabled by me or a previous update.

Is there a reason systemd-pstore.service is disabled by default?  Could
we consider enabling it to avoid causing UEFI boot issues?

Thanks,
Kevin


-- Package-specific info:

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.5.5 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  adduser  3.118
ii  libacl1  2.2.53-5
ii  libapparmor1 2.13.3-7
ii  libaudit11:2.8.5-2+b1
ii  libblkid12.34-0.1
ii  libc62.29-10
ii  libcap2  1:2.32-1
ii  libcryptsetup12  2:2.2.2-3
ii  libgcrypt20  1.8.5-3
ii  libgnutls30  3.6.12-2
ii  libgpg-error01.37-1
ii  libidn2-02.2.0-2
ii  libip4tc21.8.4-3
ii  libkmod2 27-1
ii  liblz4-1 1.9.2-2
ii  liblzma5 5.2.4-1+b1
ii  libmount12.34-0.1
ii  libpam0g 1.3.1-5
ii  libpcre2-8-0 10.34-7
ii  libseccomp2  2.4.2-2
ii  libselinux1  3.0-1+b1
ii  libsystemd0  244.3-1
ii  mount2.34-0.1
ii  util-linux   2.34-0.1

Versions of packages systemd recommends:
ii  dbus  1.12.16-2

Versions of packages systemd suggests:
ii  policykit-10.105-26
pn  systemd-container  

Versions of packages systemd is related to:
pn  dracut   
ii  initramfs-tools  0.136
ii  libnss-systemd   244.3-1
ii  libpam-systemd   244.3-1
ii  udev 244.3-1

-- Configuration Files:
/etc/systemd/journald.conf changed [not included]
/etc/systemd/system.conf changed [not included]

-- no debconf information