Bug#972135: systemd: Fails to upgrade on NFS root filesystem (without ACL support)

2020-10-19 Thread Michael Biebl
On Sun, 18 Oct 2020 12:39:36 -0500 Pat Coulthard 
wrote:
> Upstream bug report:
> https://github.com/systemd/systemd/issues/17379

Great, thanks a lot, Pat

Michael



signature.asc
Description: OpenPGP digital signature


Bug#972135: systemd: Fails to upgrade on NFS root filesystem (without ACL support)

2020-10-18 Thread Pat Coulthard
Upstream bug report:
https://github.com/systemd/systemd/issues/17379



Bug#972135: systemd: Fails to upgrade on NFS root filesystem (without ACL support)

2020-10-13 Thread Michael Biebl
Control: tags -1 + upstream

Am 13.10.20 um 05:52 schrieb Pat Coulthard:
> Package: systemd
> Version: 246.6-1
> Severity: normal
> 
> Systemd fails during an upgrade from buster to testing with an NFS mounted
> root filesystem. The issue appears to be that this filesystem doesn't support
> POSIX ACLs, which causes the postinst script to fail.
> 
> In this case, the NFS server is a Debian buster server running the standard
> Debian kernel.

[...]

> Setting access ACL "u::rwx,g::r-x,g:adm:r-x,m::r-x,o::r-x" on 
> /var/log/journal failed: Operation not supported

I'm not entirely sure, if it's the missing ACL support or some other
missing feature in NFS (at least on an ext4 file system where acl and
user_xattr support has been disabled via tune2fs -o ^acl I do not get
such a failure).

It's probably best if you file this upstream at
https://github.com/systemd/systemd.
I don't really have the necessary setup to be able to reproduce this myself.

The command in question is
mkdir -p /var/log/journal
systemd-tmpfiles --create --prefix /var/log/journal

It's probably a good idea, if you run systemd-tmpfiles under strace and
attach the strace log to the upstream bug report.

Michael



signature.asc
Description: OpenPGP digital signature


Bug#972135: systemd: Fails to upgrade on NFS root filesystem (without ACL support)

2020-10-12 Thread Pat Coulthard
Package: systemd
Version: 246.6-1
Severity: normal

Systemd fails during an upgrade from buster to testing with an NFS mounted
root filesystem. The issue appears to be that this filesystem doesn't support
POSIX ACLs, which causes the postinst script to fail.

In this case, the NFS server is a Debian buster server running the standard
Debian kernel.




Setting up systemd-timesyncd (246.6-1) ...
Created symlink 
/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service → 
/lib/systemd/system/systemd-timesyncd.service.
Setting up systemd (246.6-1) ...
Installing new version of config file /etc/systemd/journald.conf ...
Installing new version of config file /etc/systemd/logind.conf ...
Installing new version of config file /etc/systemd/networkd.conf ...
Installing new version of config file /etc/systemd/resolved.conf ...
Installing new version of config file /etc/systemd/system.conf ...
Installing new version of config file /etc/systemd/user.conf ...
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-pstore.service 
→ /lib/systemd/system/systemd-pstore.service.
Setting access ACL "u::rwx,g::r-x,g:adm:r-x,m::r-x,o::r-x" on /var/log/journal 
failed: Operation not supported
dpkg: error processing package systemd (--configure):
 installed systemd package post-installation script subprocess returned error 
exit status 73
Setting up dmsetup (2:1.02.171-3) ...
update-initramfs: deferring update (trigger activated)
Errors were encountered while processing:
 systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)



-- Package-specific info:

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 4.19.0-11-arm64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/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-4
ii  libapparmor1 2.13.4-3
ii  libaudit11:2.8.5-3+b1
ii  libblkid12.36-3+b1
ii  libc62.31-3
ii  libcap2  1:2.25-2
ii  libcrypt11:4.4.17-1
ii  libcryptsetup12  2:2.3.4-1
ii  libgcrypt20  1.8.4-5
ii  libgnutls30  3.6.15-4
ii  libgpg-error01.35-1
ii  libidn2-02.3.0-1
ii  libip4tc21.8.5-3
ii  libkmod2 26-1
ii  liblz4-1 1.8.3-1
ii  liblzma5 5.2.4-1
ii  libmount12.36-3+b1
ii  libpam0g 1.3.1-5
ii  libpcre2-8-0 10.34-7
ii  libseccomp2  2.4.4-1
ii  libselinux1  3.1-2
ii  libsystemd0  246.6-1
ii  libzstd1 1.4.5+dfsg-4
ii  mount2.33.1-0.1
ii  systemd-timesyncd [time-daemon]  246.6-1
ii  util-linux   2.36-3+b1

Versions of packages systemd recommends:
iu  dbus  1.12.20-1

Versions of packages systemd suggests:
pn  policykit-1
pn  systemd-container  

Versions of packages systemd is related to:
pn  dracut   
it  initramfs-tools  0.133+deb10u1
pn  libnss-systemd   
iu  libpam-systemd   246.6-1
iu  udev 246.6-1

-- no debconf information