FS#46127 - [schroot] End Session fails

Attached to Project: Community Packages
Opened by Khurram Mahmood (makh) - Friday, 28 August 2015, 05:35 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 06 January 2023, 16:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I am having Debian Stable in the chroot environment under Arch.

Editing the /etc/default/schroot
---
STOP_ACTION="end"
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-stop
---

Kindly inform what is possible.
Thankyou.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 06 January 2023, 16:02 GMT
Reason for closing:  No response
Additional comments about closing:  probably fixed
Comment by Sergej Pupykin (sergej) - Thursday, 10 March 2016, 18:45 GMT
please try schroot 1.6.10-10
Comment by Khurram Mahmood (makh) - Friday, 11 March 2016, 09:34 GMT
No difference:

$ yaourt -Ss schroot
community/schroot 1.6.10-10 [installed]

$ 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.

# schroot -e --all-sessions
E: 10mount: umount: /var/lib/schroot/mount/jessie4-2d1c51e2-b392-4122-a859-764b26a35ce5/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: jessie4-2d1c51e2-b392-4122-a859-764b26a35ce5: Chroot setup failed: stage=setup-stop

File Path filled to a very large extent:
du -hs /var/lib/schroot/mount/
3.2G /var/lib/schroot/mount/

Thankyou
Comment by Sergej Pupykin (sergej) - Thursday, 22 December 2022, 01:07 GMT
can it be reproduce in schroot-1.6.13-2?

Loading...