[Pkg-sysvinit-devel] Bug#697003: initscripts: postinst fails: mv /dev/shm/* misses dot (hidden) files

Steven Chamberlain steven at pyro.eu.org
Sun Dec 30 18:52:07 UTC 2012


Hi,

This may have been my fault.  I can avoid this by actually mounting /run
as tmpfs (from the host, when constructing the jail).  This allows a
successful and sane upgrade:

+ RUNSTATE=mdmd
+ RUNACTION=NONE
+ echo Due to mounts in the chroot, /dev/shm can't be safely symlinked
to /run/shm.  Please correct this problem manually.

That said, some of the other problems I mentioned sound serious:  the
handling of hidden files in /dev/shm or /run/shm when moving things.

On 30/12/12 18:31, Steven Chamberlain wrote:
> # find /run/shm -mindepth 1 -xdev -execdir mv \{\} /dev/shm/ \;

Regards,
-- 
Steven Chamberlain
steven at pyro.eu.org



More information about the Pkg-sysvinit-devel mailing list