Re: Forcefully unmounting devfs...

From: Kris Kennaway (kris_at_obsecurity.org)
Date: 12/22/04

  • Next message: Robert Watson: "Re: Fixing Posix semaphores"
    Date: Tue, 21 Dec 2004 15:34:41 -0800
    To: Poul-Henning Kamp <phk@phk.freebsd.dk>
    
    
    

    On Wed, Dec 22, 2004 at 12:25:35AM +0100, Poul-Henning Kamp wrote:
    > In message <20041221232354.GA28374@xor.obsecurity.org>, Kris Kennaway writes:
    > >
    > >--W/nzBZO5zC0uMSeA
    > >Content-Type: text/plain; charset=us-ascii
    > >Content-Disposition: inline
    > >Content-Transfer-Encoding: quoted-printable
    > >
    > >On Tue, Dec 21, 2004 at 02:32:34PM -0700, Scott Long wrote:
    > >
    > >> >Either disable forceful unmount of devfs, which makes sense from
    > >> >KISS and many other principles, and then jail wardens will have to
    > >> >find other ways to clean up their jails
    > >
    > >> >The more I think about it, the more I lean towards the first option.
    > >> >
    > >>=20
    > >> I think that I'd agree here from the point of view of finding an=20
    > >> expedient way to keep from shooting off feet.
    > >
    > >Unfortunately that's going to cause me a fair amount of pain, unless
    > >there's a simple way to kill all processes running in a given chroot
    > >(NB: I don't currently use jails because a number of ports won't build
    > >in a jail) so I can free up the devfs and then unmount it.
    >
    > But unmounting it forcefully is not guaranteed to clean up your
    > chroot today...

    Well, at least the filesystem presence disappears so I can reuse the
    mountpoint.

    Kris

    
    



  • Next message: Robert Watson: "Re: Fixing Posix semaphores"

    Relevant Pages

    • Re: Forcefully unmounting devfs...
      ... > Unfortunately that's going to cause me a fair amount of pain, ... > there's a simple way to kill all processes running in a given chroot ... This would need some |xargs kill or similar. ...
      (freebsd-arch)
    • Re: Forcefully unmounting devfs...
      ... >> expedient way to keep from shooting off feet. ... >there's a simple way to kill all processes running in a given chroot ... I don't currently use jails because a number of ports won't build ... >in a jail) so I can free up the devfs and then unmount it. ...
      (freebsd-arch)
    • Re: keeping ooffice in foreground
      ... is there any way how to force ooffice, oocalc, oowriter, ... ... after the chroot is entered. ... directories bindmounted several times and have to unmount them ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: DEVFS in a chroot?
      ... We do this on our build box -- mount and unmount both devfs and a read-only ... source directory, chroot, and build, as in: ... And then unmount once the build has completed. ... sure if it's the nullfs or the devfs unmount. ...
      (freebsd-current)
    • Re: chroot ?
      ... I was attempting to make a Debian ISO using someones web HOW-TO, ... # unmount devpts-live ... These are typical psuedo filesystem which you need within chroot. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)

  • Quantcast