[Pbuilder-maint] Should pbuilder create /etc/mtab
Matt Kraai
kraai at ftbfs.org
Wed Nov 2 04:49:53 UTC 2005
On Wed, Nov 02, 2005 at 09:18:11AM +0900, Junichi Uekawa wrote:
> Hi,
>
> > > I'm not sure what the FHS means by "if the corresponding subsystem is
> > > installed".
> > >
> > > Should pbuilder create /etc/mtab?
> >
> > /etc/mtab would be one of the things that the system will
> > create/clean-up in one of the boot processes, so
> > I think pbuilder should be the one to cover up, yes.
> >
> > I think adding a fake entry, or a symbollic link
> > to /proc/self/mounts should work, but
> > since it's inside chroot, the contents of
> > /etc/mtab would be rather difficult to maintain.
>
>
> Hmm... I think ln -s will fail if it's already there;
> and we have set -e; so pbuilder will fail.
> It's probably going to fail if you do
> pbuilder login --save-after-login
> and
> pbuilder login
> again.
> It'll probably need protection with
> || true
Oh, I didn't think of that problem. How about using -f?
--
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20051101/db327085/attachment.pgp
More information about the Pbuilder-maint
mailing list