Bug#391390: [Pbuilder-maint] Bug#391390: fails to umount /proc if /proc is not mounted

Junichi Uekawa dancer at netfort.gr.jp
Sun Oct 8 12:04:39 CEST 2006


Hi,


> > I don't think pbuilder should really care about user errors.  Shooting
> > your foot, that's fine. You can even remount /proc to recover from
> > this state.
> 
> How does umounting /proc mean shooting myself in the foot? How is it
> an error?

The check wasn't added for no reason.

It is difficult to distinguish between not being able to umount /proc,
and /proc not being mounted in the first place, and the bet is done on
the safe side of things, since after all those checks have passed,
we're going to 'rm -rf' the whole tree, and it is possible for a
mounted /proc to have undesired side-effect.


regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project




More information about the Pbuilder-maint mailing list