Skip to content

Instantly share code, notes, and snippets.

@chenxiaolong
Created December 5, 2017 22:59
Show Gist options
  • Save chenxiaolong/c85d252d8459d7a09a0b82b3837ac7b2 to your computer and use it in GitHub Desktop.
Save chenxiaolong/c85d252d8459d7a09a0b82b3837ac7b2 to your computer and use it in GitHub Desktop.
mock systemd-nspwan bind mount issue
[shim-signed] mock -v --shell
INFO: mock.py version 1.4.7 starting (python version = 3.6.3)...
Start: init plugins
DEBUG: ensuring that dir exists: /var/cache/mock/fedora-27-x86_64/dnf_cache/
INFO: selinux disabled
Finish: init plugins
Start: run
DEBUG: mock final configuration:
DEBUG: version: 1.4.7
DEBUG: basedir: /var/lib/mock
DEBUG: resultdir: %(basedir)s/%(root)s/result
DEBUG: cache_topdir: /var/cache/mock
DEBUG: clean: True
DEBUG: check: True
DEBUG: post_install: False
DEBUG: chroothome: /builddir
DEBUG: log_config_file: logging.ini
DEBUG: rpmbuild_timeout: 0
DEBUG: chrootuid: 1000
DEBUG: chrootgid: 135
DEBUG: build_log_fmt_name: unadorned
DEBUG: root_log_fmt_name: detailed
DEBUG: state_log_fmt_name: state
DEBUG: online: True
DEBUG: use_nspawn: True
DEBUG: rpmbuild_networking: False
DEBUG: nspawn_args: []
DEBUG: use_container_host_hostname: True
DEBUG: use_bootstrap_container: False
DEBUG: internal_dev_setup: True
DEBUG: cleanup_on_success: False
DEBUG: cleanup_on_failure: False
DEBUG: exclude_from_homedir_cleanup: ['build/SOURCES', '.bash_history', '.bashrc']
DEBUG: createrepo_on_rpms: False
DEBUG: createrepo_command: /usr/bin/createrepo_c -d -q -x *.src.rpm
DEBUG: backup_on_clean: False
DEBUG: backup_base_dir: /var/lib/mock/backup
DEBUG: plugins: ['tmpfs', 'root_cache', 'yum_cache', 'bind_mount', 'ccache', 'selinux', 'package_state', 'chroot_scan', 'lvm_root', 'compress_logs', 'sign', 'pm_request', 'hw_info', 'mount', 'pesign']
DEBUG: plugin_dir: /usr/lib/python3.6/site-packages/mockbuild/plugins
DEBUG: plugin_conf: {'ccache_enable': False, 'ccache_opts': {'max_cache_size': '4G', 'compress': None, 'dir': '%(cache_topdir)s/%(root)s/ccache/u%(chrootuid)s/', 'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}, 'yum_cache_enable': True, 'yum_cache_opts': {'max_age_days': 30, 'max_metadata_age_days': 30, 'dir': '%(cache_topdir)s/%(root)s/%(package_manager)s_cache/', 'target_dir': '/var/cache/%(package_manager)s/', 'online': True, 'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result', 'package_manager': 'dnf'}, 'root_cache_enable': True, 'root_cache_opts': {'age_check': True, 'max_age_days': 15, 'dir': '%(cache_topdir)s/%(root)s/root_cache/', 'compress_program': 'pigz', 'exclude_dirs': ['./proc', './sys', './dev', './tmp/ccache', './var/cache/yum', './var/cache/dnf'], 'extension': '.gz', 'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}, 'bind_mount_enable': True, 'bind_mount_opts': {'dirs': [('/var/run/pesign', '/var/run/pesign')], 'create_dirs': False, 'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}, 'mount_enable': False, 'mount_opts': {'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}, 'tmpfs_enable': False, 'tmpfs_opts': {'required_ram_mb': 900, 'max_fs_size': None, 'mode': '0755', 'keep_mounted': False, 'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}, 'selinux_enable': True, 'selinux_opts': {'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}, 'package_state_enable': True, 'package_state_opts': {'available_pkgs': False, 'installed_pkgs': True, 'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}, 'pm_request_enable': False, 'pm_request_opts': {'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}, 'lvm_root_enable': False, 'lvm_root_opts': {'pool_name': 'mockbuild', 'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}, 'chroot_scan_enable': False, 'chroot_scan_opts': {'regexes': ['^[^k]?core(\\.\\d+)?$', '\\.log$'], 'only_failed': True, 'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}, 'sign_enable': False, 'sign_opts': {'cmd': 'rpmsign', 'opts': '--addsign %(rpms)s', 'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}, 'hw_info_enable': True, 'hw_info_opts': {'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}, 'pesign_enable': False, 'pesign_opts': {'basedir': '/var/lib/mock/fedora-27-x86_64', 'cache_topdir': '/var/cache/mock', 'cachedir': '/var/cache/mock/fedora-27-x86_64', 'root': 'fedora-27-x86_64', 'resultdir': '/var/lib/mock/fedora-27-x86_64/result'}}
DEBUG: environment: {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}
DEBUG: scm: False
DEBUG: scm_opts: {'method': 'git', 'cvs_get': 'cvs -d /srv/cvs co SCM_BRN SCM_PKG', 'git_get': 'git clone SCM_BRN git://localhost/SCM_PKG.git SCM_PKG', 'svn_get': 'svn co file:///srv/svn/SCM_PKG/SCM_BRN SCM_PKG', 'distgit_get': 'rpkg clone -a --branch SCM_BRN SCM_PKG SCM_PKG', 'distgit_src_get': 'rpkg sources', 'spec': 'SCM_PKG.spec', 'ext_src_dir': '/dev/null', 'write_tar': False, 'git_timestamps': False, 'exclude_vcs': True}
DEBUG: useradd: /usr/sbin/useradd -o -m -u %(uid)s -g %(gid)s -d %(home)s -n %(user)s
DEBUG: use_host_resolv: True
DEBUG: chroot_setup_cmd: install @buildsys-build
DEBUG: target_arch: x86_64
DEBUG: releasever: 27
DEBUG: rpmbuild_arch: x86_64
DEBUG: yum.conf:
[main]
keepcache=1
debuglevel=2
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
install_weak_deps=0
metadata_expire=0
mdpolicy=group:primary
best=1
# repos
[fedora]
name=fedora
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
failovermethod=priority
gpgkey=file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-27-primary
gpgcheck=1
[updates]
name=updates
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
failovermethod=priority
gpgkey=file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-27-primary
gpgcheck=1
[updates-testing]
name=updates-testing
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
failovermethod=priority
enabled=0
[local]
name=local
baseurl=https://kojipkgs.fedoraproject.org/repos/f27-build/latest/x86_64/
cost=2000
enabled=0
[fedora-debuginfo]
name=fedora-debuginfo
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
failovermethod=priority
enabled=0
[updates-debuginfo]
name=updates-debuginfo
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
failovermethod=priority
enabled=0
[updates-testing-debuginfo]
name=updates-testing-debuginfo
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
failovermethod=priority
enabled=0
DEBUG: yum_builddep_opts: []
DEBUG: yum_common_opts: []
DEBUG: update_before_build: True
DEBUG: priorities.conf:
[main]
enabled=0
DEBUG: rhnplugin.conf:
[main]
enabled=0
DEBUG: subscription-manager.conf:
DEBUG: more_buildreqs: {}
DEBUG: nosync: False
DEBUG: nosync_force: False
DEBUG: files: {}
DEBUG: macros: {'%_topdir': '/builddir/build', '%_rpmfilename': '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm', '%_buildhost': 'cxl-laptop-1.home.lan'}
DEBUG: hostname: None
DEBUG: module_enable: []
DEBUG: module_install: []
DEBUG: no_root_shells: False
DEBUG: extra_chroot_dirs: ['/run/lock']
DEBUG: package_manager: dnf
DEBUG: yum_command: /usr/bin/yum
DEBUG: system_yum_command: /usr/bin/yum
DEBUG: yum_install_command: install yum yum-utils shadow-utils distribution-gpg-keys
DEBUG: yum_builddep_command: /usr/bin/yum-builddep
DEBUG: dnf_command: /usr/bin/dnf
DEBUG: system_dnf_command: /usr/bin/dnf
DEBUG: dnf_install_command: install dnf dnf-plugins-core distribution-gpg-keys
DEBUG: rpm_command: /bin/rpm
DEBUG: rpmbuild_command: /usr/bin/rpmbuild
DEBUG: config_paths: ['/etc/mock/site-defaults.cfg', '/etc/mock/site-defaults.cfg', '/etc/mock/default.cfg', '/etc/mock/fedora-27-x86_64.cfg', '/home/chenxiaolong/.config/mock.cfg', '/home/chenxiaolong/.config/mock.cfg']
DEBUG: chroot_name: default
DEBUG: config_file: /etc/mock/default.cfg
DEBUG: root: fedora-27-x86_64
DEBUG: legal_host_arches: ('x86_64',)
DEBUG: dist: fc27
DEBUG: verbose: 2
DEBUG: print_main_output: True
DEBUG: cache_alterations: False
DEBUG: enable_disable_repos: []
DEBUG: build_log_fmt_str: %(message)s
DEBUG: root_log_fmt_str: %(levelname)s %(filename)s:%(lineno)d: %(message)s
DEBUG: state_log_fmt_str: %(asctime)s - %(message)s
DEBUG: Unsharing. Flags: 67239936
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64
Start: chroot init
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/result
INFO: calling preinit hooks
INFO: enabled root cache
DEBUG: ensuring that dir exists: /var/cache/mock/fedora-27-x86_64/root_cache/
INFO: enabled dnf cache
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/var/cache/dnf/
Start: cleaning dnf metadata
Finish: cleaning dnf metadata
INFO: enabled HW Info plugin
DEBUG: child environment: None
DEBUG: Executing command: ['/usr/bin/lscpu'] with env {'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'} and shell False
DEBUG: Architecture: x86_64
DEBUG: CPU op-mode(s): 32-bit, 64-bit
DEBUG: Byte Order: Little Endian
DEBUG: CPU(s): 8
DEBUG: On-line CPU(s) list: 0-7
DEBUG: Thread(s) per core: 2
DEBUG: Core(s) per socket: 4
DEBUG: Socket(s): 1
DEBUG: NUMA node(s): 1
DEBUG: Vendor ID: GenuineIntel
DEBUG: CPU family: 6
DEBUG: Model: 158
DEBUG: Model name: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
DEBUG: Stepping: 9
DEBUG: CPU MHz: 2800.000
DEBUG: CPU max MHz: 3800.0000
DEBUG: CPU min MHz: 800.0000
DEBUG: BogoMIPS: 5616.00
DEBUG: Virtualization: VT-x
DEBUG: L1d cache: 32K
DEBUG: L1i cache: 32K
DEBUG: L2 cache: 256K
DEBUG: L3 cache: 6144K
DEBUG: NUMA node0 CPU(s): 0-7
DEBUG: Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
DEBUG: Child return code was: 0
DEBUG: child environment: None
DEBUG: Executing command: ['/usr/bin/free'] with env {'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'} and shell False
DEBUG: total used free shared buff/cache available
DEBUG: Mem: 32791620 3734052 17376984 4674520 11680584 24598240
DEBUG: Swap: 33550332 0 33550332
DEBUG: Child return code was: 0
DEBUG: child environment: None
DEBUG: Executing command: ['/usr/bin/df', '-H', '/var/lib/mock/fedora-27-x86_64/root'] with env {'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'} and shell False
DEBUG: Filesystem Size Used Avail Use% Mounted on
DEBUG: /dev/mapper/vg_linux-fedora_root 43G 11G 30G 27% /
DEBUG: Child return code was: 0
DEBUG: create skeleton dirs
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/var/lib/rpm
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/var/lib/yum
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/var/lib/dbus
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/var/log
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/var/cache/yum
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/etc/rpm
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/tmp
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/tmp/ccache
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/var/tmp
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/etc/dnf
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/etc/yum.repos.d
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/etc/yum
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/proc
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/sys
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/run/lock
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/dev/pts
DEBUG: creating dir: /var/lib/mock/fedora-27-x86_64/root/dev/pts
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/dev/shm
DEBUG: creating dir: /var/lib/mock/fedora-27-x86_64/root/dev/shm
DEBUG: kernel version == 4.13.16-300.fc27.x86_64
DEBUG: touching file: /var/lib/mock/fedora-27-x86_64/root/etc/fstab
DEBUG: touching file: /var/lib/mock/fedora-27-x86_64/root/etc/yum/yum.conf
DEBUG: touching file: /var/lib/mock/fedora-27-x86_64/root/etc/dnf/dnf.conf
DEBUG: touching file: /var/lib/mock/fedora-27-x86_64/root/var/log/yum.log
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/var/cache/dnf/
DEBUG: child environment: None
DEBUG: Executing command: ['/bin/mount', '-n', '--bind', '/var/cache/mock/fedora-27-x86_64/dnf_cache/', '/var/lib/mock/fedora-27-x86_64/root/var/cache/dnf/'] with env {'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'} and shell False
DEBUG: Child return code was: 0
DEBUG: rootdir = /var/lib/mock/fedora-27-x86_64/root
DEBUG: resultdir = /var/lib/mock/fedora-27-x86_64/result
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/etc/pki/mock
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/etc/dnf
DEBUG: child environment: None
DEBUG: Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '071d7bd9488a4b4eba67e546ba114404', '-D', '/var/lib/mock/fedora-27-x86_64/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '/usr/sbin/usermod', '-u', '1000', 'mockbuild'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False
DEBUG: DEBUG: Unsharing. Flags: 134217728
DEBUG: usermod: no changes
DEBUG: Child return code was: 0
DEBUG: touching file: /var/lib/mock/fedora-27-x86_64/root/.initialized
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/var/run/pesign
DEBUG: ensuring that dir exists: /var/lib/mock/fedora-27-x86_64/root/var/run/pesign
DEBUG: child environment: None
DEBUG: Executing command: ['/bin/mount', '-n', '--bind', '/var/run/pesign', '/var/lib/mock/fedora-27-x86_64/root/var/run/pesign'] with env {'TERM': 'vt100', 'SHELL': '/bin/sh', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'} and shell False
DEBUG: Child return code was: 0
Finish: chroot init
DEBUG: shell: calling preshell hooks
Start: shell
DEBUG: doshell: chrootPath:/var/lib/mock/fedora-27-x86_64/root, uid:0, gid:0
DEBUG: doshell environment: {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}
DEBUG: child environment: {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}
DEBUG: doshell: command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cb802657885246e3987a2bcaef63cd2b', '-D', '/var/lib/mock/fedora-27-x86_64/root', '-a', '--private-network', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '/bin/sh', '-i', '-l']
DEBUG: Unsharing. Flags: 134217728
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
<mock-chroot>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment