latest installment of initramfs breaks on NFSROOT

Emanuel Beunder

New Member
Feb 25, 2019
1
0
1
49
Hello,

The latest installment of initramfs (0.130) breaks on NFSROOT with NFS v3 and POSIX ACL. This is due to use of CP with preserve options (-a / -p). This generates a warning which is treated like an error:

"cp: preserving permissions for ‘/var/tmp/mkinitramfs_icOBvn//sbin/mount.fuse’: Operation not supported
E: /usr/share/initramfs-tools/hooks/fuse failed with return 1."

mount:
1.2.3.4:/mnt/swimmingpool/NFS-ROOT/nfs1 on / type nfs (rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,nolock,proto=tcp,port=2049,timeo=7,retrans=3,sec=sys,local_lock=all,addr=1.2.3.4)

When replacing all instances of CP with RSYNC al goes well (why is the copy function from the library not consistantly used?)..
(look on serverfault: why-does-cp-not-respect-acls )
Maybe it's beter to let systemd manage the file rights orso?

Cheers,
Emanuël
 
sounds like a potential bug in either initramfs-tools (which provides the general initramfs generation machinery) or fuse (which provides the specific initramfs-tools module that seems to call 'cp' here) - neither of which is shipped by PVE. please file a bug in the Debian bug tracker using either 'reportbug fuse' or 'reportbug initramfs-tools'.
 
  • Like
Reactions: Emanuel Beunder