You are not logged in.
Pages: 1
I am having Debian Stable in the chroot environment under Arch.
Editing the /etc/default/schroot
# Action to perform when the service is stopped. By default, we do
# nothing (set to "none"). If all sessions should be automatically
# ended, set to "end". If this is set to "none", START_ACTION should
# probably be set to "recover" to avoid broken sessions on restart.
#STOP_ACTION="none"
STOP_ACTION="end"
# What do we want to do with "orphan" sessions when starting or
# restarting? Recover them (leave empty or set to "recover") or just
# end them (set to "end")?
#START_ACTION="recover"
START_ACTION="end"This fails to end the session.
The regular user fails to end the session:
$ schroot -e --all-sessions
E: Access not authorised
I: You do not have permission to access the schroot service.
I: This failure will be reported.Root user cannot even end a session:
# schroot -e --all-sessions
E: 10mount: umount: /var/lib/schroot/mount/jessie_1-0d2ddd34-3755-4af4-8f50-645d316e0fd5/run/lock: target is busy
E: 10mount: (In some cases useful info about processes that
E: 10mount: use the device is found by lsof(8) or fuser(1).)
E: jessie_1-0d2ddd34-3755-4af4-8f50-645d316e0fd5: Chroot setup failed: stage=setup-stopKindly inform what is possible.
Thanks in advance.
Last edited by makh (2017-01-28 04:12:44)
OS: Arch &/ Debian
System: LENOVO ThinkPad E14
Desktop: Xfce
Offline
The only probable solution seems to be is umount forced.
Can
umount -l <partition>be implemented somehow to automatically end a chrooted session, under schroot?
OS: Arch &/ Debian
System: LENOVO ThinkPad E14
Desktop: Xfce
Offline
I must admit that I have no idea if you can boot a non-EFI Windows system using GRUB from an EFI GNU/Linux system.
You could select the drives from your firmware menus; it's far from ideal but it should work.
EDIT: Sorry, I have no idea what happened there -- I didn't mean to reply to this thread ![]()
EDIT2: Have you tried systemd-nspawn?
https://wiki.archlinux.org/index.php/Systemd-nspawn
I use that for my Debian containers and it works really well.
Last edited by Head_on_a_Stick (2015-08-27 20:47:09)
Jin, Jîyan, Azadî
Offline
Pages: 1