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

Bug#812811: Incorrect permissions on device nodes



Package: debootstrap
Version: 1.0.76
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu xenial

Hi,

mk-sbuild (from ubuntu-dev-tools) is creating chroots with a broken
/dev/null (it is 644). This breaks sbuild for me. I believe this is due
to a regression in debootstrap caused by your fix to bug 571136
(http://anonscm.debian.org/cgit/d-i/debootstrap.git/commit/?id=5518b79792dd93a416464c0744b87eb1a32ff770).
It looks like /dev/null is now being called directly by an mknod call,
but this created file is partially useless because it ends up 644
permissions as a result.

I confirmed this by just running "debootstrap sid sid" and checking
sid/dev/null. Additionally, if I revert the above commit, mk-sbuild
works again.

I guess you need to use -m and be explicit about the device nodes you
are creating.

Thanks,

Robie

Attachment: signature.asc
Description: Digital signature


Reply to: