- Status Closed
- Percent Complete
- Task Type Bug Report
- Category Any
-
Assigned To
Emulatorman - Operating System All
- Severity Critical
- Priority Very High
- Reported Version Any
- Due in Version Starfix
-
Due Date
Undecided
- Votes
- Private
FS#1030 - [openrc] rename "chroot-nspawn" keyword to "chroot+unshare" one
Description:
Rename "chroot-nspawn" keyword to "chroot+unshare" one because"chroot+unshare" subsystem (chroot and unshare command) is more precise than "chroot-nspawn" (systemd-nspawn compatibility script) subsystem. The files with "chroot-nspawn" keyword are: * /etc/init.d/binfmt * /etc/init.d/bootmisc (as SYSTEMD-NSPAWN) * /etc/init.d/consolefont * /etc/init.d/devfs * /etc/init.d/dmesg * /etc/init.d/fsck * /etc/init.d/hostname * /etc/init.d/hwclock * /etc/init.d/keymaps * /etc/init.d/localmount * /etc/init.d/loopback * /etc/init.d/mtab * /etc/init.d/modules * /etc/init.d/modules-load * /etc/init.d/mount-ro * /etc/init.d/net-online * /etc/init.d/netmount * /etc/init.d/numlock * /etc/init.d/procfs * /etc/init.d/root * /etc/init.d/swap * /etc/init.d/swclock * /etc/init.d/sysctl * /etc/init.d/sysfs * /etc/init.d/termencoding * /etc/init.d/urandom
Note: chroot: run a command with special root directory unshare: isolate the command in a different "Linux namespace"
Additional info:
openrc 0.28-14
/etc/rc.conf
# "" - nothing special # "docker" - Docker container manager (GNU/Linux) # "jail" - Jail (DragonflyBSD or FreeBSD) # "lxc" - Linux Containers # "openvz" - Linux OpenVZ # "prefix" - Prefix # "rkt" - CoreOS container management system (GNU/Linux) # "subhurd" - Hurd subhurds (to be checked) -# "chroot-nspawn" - Container created by chroot-nspawn +# "chroot" - Chroot container (to be checked) +# "chroot+unshare" - Chroot container using unshare command (GNU/Linux) # "uml" - Usermode Linux # "vserver" - Linux vserver -# "xen0" - Xen0 Domain (GNU/Linux and NetBSD) -# "xenU" - XenU Domain (GNU/Linux and NetBSD) +# "xen0" - Xen0 Domain (GNU/HyperBK, GNU/Linux, FreeBSD and NetBSD) +# "xenU" - XenU Domain (GNU/Hurd, GNU/HyperBK, GNU/Linux, FreeBSD, NetBSD and OpenBSD)
$ pacman -Si openrc Repository : core Name : openrc Version : 0.28-14 Description : A dependency based init system that works with the system provided init program Architecture : x86_64 URL : https://wiki.gentoo.org/wiki/Project:OpenRC Licenses : BSD2 Groups : None Provides : None Depends On : psmisc pam Optional Deps : netifrc: network interface management scripts networkmanager: network connection manager and user applications Conflicts With : None Replaces : None Download Size : 196.71 KiB Installed Size : 1767.00 KiB Packager : André Silva <emulatorman@hyperbola.info> Build Date : Mon 07 May 2018 03:54:42 PM -03 Validated By : MD5 Sum SHA-256 Sum Signature
Steps to reproduce:
Run OpenRC init
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task