Bug 1468837 - RFE: shell with job control under systemd-nspawn
RFE: shell with job control under systemd-nspawn
Status: NEW
Product: Fedora
Classification: Fedora
Component: mock (Show other bugs)
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Clark Williams
Fedora Extras Quality Assurance
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2017-07-08 13:42 EDT by Jerry James
Modified: 2017-09-14 14:53 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jerry James 2017-07-08 13:42:57 EDT
Description of problem:

$ mock -r fedora-rawhide-x86_64 --shell
INFO: mock.py version 1.4.2 starting (python version = 3.5.3)...
Start: init plugins
INFO: selinux disabled
Finish: init plugins
Start: run
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled dnf cache
Start: cleaning dnf metadata
Finish: cleaning dnf metadata
INFO: enabled HW Info plugin
Finish: chroot init
Start: shell
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
<mock-chroot> sh-4.4# su - mockbuild
-bash: cannot set terminal process group (2): Inappropriate ioctl for device
-bash: no job control in this shell

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. mock -r <architecture> shell

Actual results:
A shell with no job control.

Expected results:
A shell with job control.

Additional info:
This used to work in the previous version, mock-1.3.4-1.fc25.
Comment 1 Miroslav Suchý 2017-07-10 08:46:04 EDT
This is because all commands in chroot are now executed using systemd-nspawn, which uses busybox. See:

If you want old behaviour you can use --old-chroot

I will keep this open, but I am not treating this as bug, but more like RFE.

Note You need to log in before you can comment on or make changes to this bug.