[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


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
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.



Attachment: signature.asc
Description: Digital signature

Reply to: