latest installment of initramfs breaks on NFSROOT

Emanuel Beunder

New Member
Feb 25, 2019
1
0
1
48
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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!