- Status Unconfirmed
- Percent Complete
- Task Type Bug Report
- Category Wrapper → chroot-nspawn
-
Assigned To
coadde tobias - Operating System All
- Severity Medium
- Priority Medium
- Reported Version Any
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Software Development
Opened by Megver83 - 03/07/2021
Last edited by tobias - 09/11/2022
Opened by Megver83 - 03/07/2021
Last edited by tobias - 09/11/2022
FS#1567 - [chroot-nspawn] Create mount points if mountpoint exit code is different to zero
The actual behavior is to create mount points if mountpoint exits with exit status 1, however it may also exit with code 32 and thus creating a real mess:
$ sudo chroot-nspawn Spawning container megver83 on /var/lib/archbuild/chroot1/megver83 Press ^] three times within 1s to kill container. mount: /sys/fs/cgroup: mount point does not exist. mkdir: cannot create directory '/sys/fs/cgroup/blkio': No such file or directory ln: failed to create symbolic link '/sys/fs/cgroup/cpu': No such file or directory ln: failed to create symbolic link '/sys/fs/cgroup/cpuacct': No such file or directory mkdir: cannot create directory '/sys/fs/cgroup/cpu,cpuacct': No such file or directory mkdir: cannot create directory '/sys/fs/cgroup/cpuset': No such file or directory mkdir: cannot create directory '/sys/fs/cgroup/devices': No such file or directory mkdir: cannot create directory '/sys/fs/cgroup/freezer': No such file or directory mkdir: cannot create directory '/sys/fs/cgroup/memory': No such file or directory ln: failed to create symbolic link '/sys/fs/cgroup/net_cls': No such file or directory mkdir: cannot create directory '/sys/fs/cgroup/net_cls,net_prio': No such file or directory ln: failed to create symbolic link '/sys/fs/cgroup/net_prio': No such file or directory mkdir: cannot create directory '/sys/fs/cgroup/pids': No such file or directory mkdir: cannot create directory '/sys/fs/cgroup/systemd': No such file or directory mount: /sys/fs/cgroup/blkio: mount point does not exist. mount: /sys/fs/cgroup/cpuset: mount point does not exist. mount: /sys/fs/cgroup/devices: mount point does not exist. mount: /sys/fs/cgroup/freezer: mount point does not exist. mount: /sys/fs/cgroup/memory: mount point does not exist. mount: /sys/fs/cgroup/pids: mount point does not exist.
So I created a patch to fix this.
P.S.: although I can git clone the repo with ssh access, whenever I do a push I get:
error: remote unpack failed: unable to create temporary object directory To ssh://git.hyperbola.info:51100/~git/software/chroot-nspawn.git ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'ssh://git.hyperbola.info:51100/~git/software/chroot-nspawn.git'
Do I have the permission to write in this repo? If not, I’d like it, as I’m planning to improve this great script
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
Hi Megver83,
I created a chroot-nspawn repo for the team, you have total SSH access there → https://git.hyperbola.info:50100/~team/software/chroot-nspawn.git/
Currently the team repos are the default ones for all Hyperbola developers, while the main ones are being used only for backup purposes.
To clone it:
Great post! I am actually getting ready to across this information, is very helpful my friend. Also great blog here with all of the valuable information you have. Keep up the good work you are doing here. https://www.wanlanshop.com/verti 먹튀검증
Great post! I am actually getting ready to across this information, is very helpful my friend. Also great blog here with all of the valuable information you have. Keep up the good work you are doing here. https://www.wanlanshop.com/verti먹튀검증