[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#697003: initscripts: postinst fails: mv /dev/shm/* misses dot (hidden) files



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@pyro.eu.org


Reply to: