Bug#453862: [Pbuilder-maint] Bug#453862: Wrong mounting devpts
Junichi Uekawa
dancer at netfort.gr.jp
Sat Dec 22 06:43:32 UTC 2007
> Package: pbuilder
> Version: 0.174
> Severity: critical
>
> This is critical as the whole system security may be affected.
>
> pbuilder uses the following command to mount devpts:
> mount -t devpts /dev/pts "$BUILDPLACE/dev/pts"
It seems like it's:
TTYGRP=5
TTYMODE=620
[ -f /etc/default/devpts ] && . /etc/default/devpts
domount devpts "" /dev/pts devpts -onoexec,nosuid,gid=$TTYGRP,mode=$TTYMODE
so I can do similar in pbuilder.
I really don't like the look of this because it's some random config
which is shared between inside the chroot and outside of chroot, but
it needs fixing.
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
More information about the Pbuilder-maint
mailing list