Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1251069

Bug#1108311: grml-debootstrap allows to modify ownership in /dev on the host

From Wolfgang Zarre <lxdev12@zirdeon.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#1108311: grml-debootstrap allows to modify ownership in /dev on the host
Date 2025-06-25 21:20 +0200
Message-ID <L1DP4-d7OS-3@gated-at.bofh.it> (permalink)
References <L1Cgh-d6Jq-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Sorry, I have to correct myself:

> Therefore it would be good to mount "${MNTPOINT}"/dev read-only, e.g.:
> mount -t devtmpfs udev "${MNTPOINT}"/dev -o ro
> 
This does not work, because it will mount /dev on the host read-only as well.

Actually the test was done with:
   mount --bind /dev "${MNTPOINT}"/dev
   mount -o remount,bind,ro "${MNTPOINT}"/dev


Best regards,
Wolf

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1108311: grml-debootstrap allows to modify ownership in /dev on the host Wolfgang Zarre <lxdev12@zirdeon.com> - 2025-06-25 19:40 +0200
  Bug#1108311: grml-debootstrap allows to modify ownership in /dev on the host Wolfgang Zarre <lxdev12@zirdeon.com> - 2025-06-25 21:20 +0200
  Bug#1108311: grml-debootstrap allows to modify ownership in /dev on the host Chris Hofstaedtler <zeha@debian.org> - 2025-06-28 13:00 +0200
  Bug#1108311: grml-debootstrap allows to modify ownership in /dev on the host Wolfgang Zarre <lxdev12@zirdeon.com> - 2025-06-28 15:10 +0200
  Bug#1108311: grml-debootstrap allows to modify ownership in /dev on the host Wolfgang Zarre <lxdev12@zirdeon.com> - 2025-07-03 11:00 +0200
    Bug#1108311: grml-debootstrap allows to modify ownership in /dev on the host Chris Hofstaedtler <zeha@debian.org> - 2025-07-03 12:40 +0200

csiph-web