Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 390654 Details for
Bug 531150
Handbook: add --make-rprivate to rbind mount options to work around systemd behavior
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Testing chroot with --rbind on systemd
chroot_test.log (text/plain), 5.14 KB, created by
RedEyedMan
on 2014-11-30 15:21:04 UTC
(
hide
)
Description:
Testing chroot with --rbind on systemd
Filename:
MIME Type:
Creator:
RedEyedMan
Created:
2014-11-30 15:21:04 UTC
Size:
5.14 KB
patch
obsolete
>gentoo stages # export LOOP_IMAGE="/media/WDGR/live64_xfce.img" >gentoo stages # export BUILDROOT="/mnt/gentoo" >gentoo stages # mount $LOOP_IMAGE $BUILDROOT >gentoo stages # mount -t proc none $BUILDROOT/proc >gentoo stages # mount --rbind /sys $BUILDROOT/sys >gentoo stages # mount --rbind /dev $BUILDROOT/dev >gentoo stages # chroot $BUILDROOT /bin/bash >gentoo / # env-update >>>> Regenerating /etc/ld.so.cache... >gentoo / # exit >exit >gentoo stages # umount $BUILDROOT/proc >gentoo stages # umount $BUILDROOT/sys >umount: /mnt/gentoo/sys: target is busy > (In some cases useful info about processes that > use the device is found by lsof(8) or fuser(1).) >gentoo stages # mount | grep sys >sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) >systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=23,pgrp=1,timeout=300,minproto=5,maxproto=5,direct) >tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) >cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd) >cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) >cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) >cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) >cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) >cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) >cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) >cgroup on /sys/fs/cgroup/debug type cgroup (rw,nosuid,nodev,noexec,relatime,debug) >sysfs on /mnt/gentoo/sys type sysfs (rw,nosuid,nodev,noexec,relatime) >tmpfs on /mnt/gentoo/sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) >cgroup on /mnt/gentoo/sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd) >cgroup on /mnt/gentoo/sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) >cgroup on /mnt/gentoo/sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) >cgroup on /mnt/gentoo/sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) >cgroup on /mnt/gentoo/sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) >cgroup on /mnt/gentoo/sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) >cgroup on /mnt/gentoo/sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) >cgroup on /mnt/gentoo/sys/fs/cgroup/debug type cgroup (rw,nosuid,nodev,noexec,relatime,debug) >gentoo stages # umount -l $BUILDROOT/sys >gentoo stages # umount $BUILDROOT/dev >umount: /mnt/gentoo/dev: target is busy > (In some cases useful info about processes that > use the device is found by lsof(8) or fuser(1).) >gentoo stages # mount | grep dev >udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=505901,mode=755) >sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) >/dev/sda5 on / type ext4 (rw,noatime,data=ordered) >tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755) >/dev/sdb1 on /media/ST4 type ext4 (rw,noatime,data=ordered) >/dev/sda6 on /home type ext4 (rw,noatime,data=ordered) >/dev/sdc1 on /media/WDGR type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096) >tmpfs on /run/user/1003 type tmpfs (rw,nosuid,nodev,relatime,size=405200k,mode=700,uid=1003,gid=100) >tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) >devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) >udev on /mnt/gentoo/dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=505901,mode=755) >tmpfs on /mnt/gentoo/dev/shm type tmpfs (rw,nosuid,nodev) >devpts on /mnt/gentoo/dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) >gentoo stages # umount -l $BUILDROOT/dev >gentoo stages # umount $LOOP_IMAGE $BUILDROOT >umount: /mnt/gentoo: not mounted >gentoo stages # cat /proc/self/mountinfo >13 17 0:3 / /proc rw,relatime shared:8 - proc proc rw >14 17 0:5 / /dev rw,nosuid,relatime shared:2 - devtmpfs udev rw,size=10240k,nr_inodes=505901,mode=755 >16 17 0:13 / /sys rw,nosuid,nodev,noexec,relatime shared:5 - sysfs sysfs rw >17 0 8:5 / / rw,noatime shared:1 - ext4 /dev/sda5 rw,data=ordered >19 17 0:15 / /run rw,nosuid,nodev shared:9 - tmpfs tmpfs rw,mode=755 >29 13 0:25 / /proc/sys/fs/binfmt_misc rw,relatime shared:17 - autofs systemd-1 rw,fd=23,pgrp=1,timeout=300,minproto=5,maxproto=5,direct >31 17 0:26 / /tmp rw shared:19 - tmpfs tmpfs rw >57 17 0:29 / /root/.thumbnails rw,noatime shared:22 - tmpfs tmpfs rw >59 17 8:17 / /media/ST4 rw,noatime shared:23 - ext4 /dev/sdb1 rw,data=ordered >61 17 8:6 / /home rw,noatime shared:24 - ext4 /dev/sda6 rw,data=ordered >63 61 0:30 / /home/galym/.thumbnails rw,noatime shared:25 - tmpfs tmpfs rw >65 17 8:33 / /media/WDGR rw,nosuid,nodev,relatime shared:26 - fuseblk /dev/sdc1 rw,user_id=0,group_id=0,allow_other,blksize=4096 >103 19 0:32 / /run/user/1003 rw,nosuid,nodev,relatime shared:62 - tmpfs tmpfs rw,size=405200k,mode=700,uid=1003,gid=100
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 531150
: 390654 |
390690
|
390694