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

Bug#229351: libc6: does not mount /dev/shm in postinst



At Sat, 24 Jan 2004 21:17:52 +0100,
Simon Richter wrote:
> > > I recently upgraded libc6 on a few boxen, but rebooted only some of them
> > > since. I think it may be a good idea to check in the postinst whether
> > > /dev/shm is already mounted and mount it if not.
> 
> > It's already done in libc6.postinst.  Look at libc6.postinst below line:
> 
> >     updatercd mountkernfs start 35 S .
> 
> This creates the startup link, but does not mount the filesystem at that
> point. The bug is about the filesystem not being mounted when the box
> was dist-upgraded from woody and not rebooted since.

Please look at below line in postinst:

    # DO NOT FOLLOW THIS EXAMPLE IN OTHER PACKAGES
    updatercd mountkernfs start 35 S .
    /etc/init.d/mountkernfs 2>/dev/null || true

Regards,
-- gotom



Reply to: