krogoth-next staged
cover krogoth-next staged
These are the changes I have staged. The last 17 changes have not be run on the AB. We are working throught build issues on mips64.
The following changes since commit 8c69f7d56cbd496aa01ba0738675a170826a536b:
bitbake: lib/bb/tests/fetch: remove URL that doesn't exist anymore (2016-09-13 16:19:46 +0100)
are available in the git repository at:
http://git.yoctoproject.org/git/poky-contrib akuster/krogoth-next
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=akuster/krogoth-next
Alejandro Hernandez (1):
initramfs-live-boot: Make sure we kill udev before switching root when
live booting
Alexander Kanavin (2):
gobject-introspection.bbclass: disable introspection for -native and
-nativesdk recipes
arch-mips.inc: Disable QEMU usermode usage when building with n32 ABI
Armin Kuster (13):
tiff: Security fix CVE-2015-8781
tiff: Security fix CVE-2015-8784
openssh: Security fix CVE-2016-6210
openssh: Security fix CVE-2016-5615
openssh: Security fix CVE-2015-8325
wget: Security fix CVE-2016-4971
util-linux: Security fix for CVE-2016-5011
qemu: Security Fix CVE-2016-3710
qemu: Security Fix CVE-2016-3712
qemu: Security fix CVE-2016-4439
qemu: Security fix CVE-2016-6351
qemu: Security fix for CVE-2016-4002
qemu: Secuirty fix for CVE-2016-5403
Bill Randle (3):
perl: set proper perl subversion number in config files
perl: some perl tests require libssp
perl: fix several perl test failures
Dengke Du (1):
busybox: fix "sed n (flushes pattern space, terminates early)"
testcase failure
He Zhe (1):
perl: Correct perl path for ptest
Henry Bruce (1):
npm: npm.bbclass now adds nodejs to RDEPENDS
Ioan-Adrian Ratiu (1):
perl-native: backport libnm link fix
Jackie Huang (1):
e2fsprogs: Fix missing check for permission denied.
Jacob Kroon (1):
bitbake.conf/toolchain-scripts.bbclass: Remove debug prefix mappings
in SDK
Jeremy Puhlman (2):
Fix random python backtrace in mutlilib handling code. bitbake.conf: set READELF for cross compilation
Jonathan Liu (1):
meta/classes: fix bb.build.FuncFailed typos
Juro Bystricky (1):
busybox: Avoid race building libbb
Jérémy Rosen (1):
rpm: manually cleanup sysck
Kai Kang (1):
perl: fix CVE-2016-2381
Khem Raj (4):
python{3}-numpy: Predefine of sizeof off_t on mips/mipsel/ppc
systemd: Create missing sysusers offline
gdb: Cache gnu gettext config vars for musl builds
xserver-xf86-config: pre-load int10 and exa modules
Mariano Lopez (1):
python-smartpm_git.bb: Add patch for debugging random errors
Markus Lehtonen (2):
base.bbclass wipe ${S} before unpacking source
python-smartpm: use md5 as the digest for rpm_sys channel
Maxin B. John (1):
useradd_base: avoid unintended expansion for useradd parameters
Mingli Yu (2):
perl: fix CVE-2016-6185
perl: fix CVE-2015-8607
Pascal Bach (1):
gcc, qemuppc: Explicitly disable forcing SPE flags for 4.9
Reinette Chatre (1):
binutils: advance SRCREV to obtain versioned symbols
Richard Purdie (3):
busybox: Backport makefile fix from upstream
busybox: Add parallel make fix
python-smartpm: Avoid locale issue with bitbake python3
Robert Yang (1):
rpm: make --nosignature work
Ross Burton (1):
cml1: fix tasks after default [dirs] changed
Sona Sarmadi (3):
sudo: CVE-2015-8239
curl: security fix for CVE-2016-7141
dropbear: upgrade to 2016.72
Stefan Agner (1):
busybox: Fix busybox-init on non-tty consoles
Stephano Cetola (1):
systemd: allow add users as a rootfs postprocess cmd
Tanu Kaskinen (1):
pulseaudio: fix crash when disconnecting bluetooth devices
Thomas Witt (1):
cmake.bbclass: call cmake with a relative path
Yi Zhao (3):
tiff: Security fix CVE-2016-3186
tiff: Security fix CVE-2016-5321
tiff: Security fix CVE-2016-5323
Zhixiong Chi (1):
rpm: ensure rpm2cpio call rpm relocation code
[email protected] (1):
python-smartpm: add support to check signatures
meta/classes/base.bbclass | 18 +-
meta/classes/cmake.bbclass | 14 +-
meta/classes/cml1.bbclass | 2 +
meta/classes/gobject-introspection.bbclass | 14 +-
meta/classes/grub-efi.bbclass | 2 +-
meta/classes/gummiboot.bbclass | 4 +-
meta/classes/multilib_global.bbclass | 3 +-
meta/classes/npm.bbclass | 1 +
meta/classes/rootfs-postcommands.bbclass | 43 +-
meta/classes/syslinux.bbclass | 2 +-
meta/classes/toolchain-scripts.bbclass | 3 +
meta/classes/useradd_base.bbclass | 2 -
meta/conf/bitbake.conf | 9 +-
meta/conf/machine/include/mips/arch-mips.inc | 3 +
meta/conf/machine/qemux86-64.conf | 5 +-
meta/conf/machine/qemux86.conf | 5 +-
.../openssh/openssh/CVE-2015-8325.patch | 33 +
.../openssh/openssh/CVE-2016-6210.patch | 114 ++++
.../openssh/openssh/CVE-2016-6210_p2.patch | 110 ++++
.../openssh/openssh/CVE-2016-6210_p3.patch | 62 ++
.../openssh/openssh/CVE-2016-6515.patch | 54 ++
meta/recipes-connectivity/openssh/openssh_7.1p2.bb | 5 +
meta/recipes-core/busybox/busybox.inc | 4 +-
...-n-flushes-pattern-space-terminates-early.patch | 72 +++
.../busybox-kbuild-race-fix-commit-d8e61bb.patch | 53 ++
.../commit-applet_tables-fix-commit-0dddbc1.patch | 61 ++
.../busybox/busybox/makefile-fix-backport.patch | 40 ++
.../busybox/busybox/makefile-libbb-race.patch | 34 +
meta/recipes-core/busybox/busybox_1.24.1.bb | 5 +
meta/recipes-core/dropbear/dropbear_2015.71.bb | 5 -
meta/recipes-core/dropbear/dropbear_2016.72.bb | 4 +
meta/recipes-core/initrdscripts/files/init-live.sh | 4 +-
meta/recipes-core/systemd/systemd_229.bb | 8 +-
.../util-linux/util-linux/CVE-2016-5011.patch | 59 ++
.../util-linux/util-linux/CVE-2016-5011_p2.patch | 91 +++
meta/recipes-core/util-linux/util-linux_2.27.1.bb | 2 +
meta/recipes-devtools/binutils/binutils-2.26.inc | 2 +-
...s-fix-missing-check-for-permission-denied.patch | 32 +
meta/recipes-devtools/e2fsprogs/e2fsprogs_git.bb | 3 +
...AltiVec-generation-on-powepc-linux-target.patch | 11 +
meta/recipes-devtools/gdb/gdb_7.10.1.bb | 5 +
meta/recipes-devtools/perl/perl-native_5.22.1.bb | 1 +
meta/recipes-devtools/perl/perl-ptest.inc | 3 +-
meta/recipes-devtools/perl/perl/config.sh | 10 +-
meta/recipes-devtools/perl/perl/perl-configure.sh | 2 +-
.../perl/perl/perl-fix-CVE-2015-8607.patch | 74 +++
.../perl/perl/perl-fix-CVE-2016-2381.patch | 113 ++++
.../perl/perl/perl-fix-CVE-2016-6185.patch | 128 ++++
...erl-fix-conflict-between-skip_all-and-END.patch | 181 ++++++
.../perl/perl/perl-remove-nm-from-libswanted.patch | 30 +
.../perl/perl/perl-test-customized.patch | 61 ++
meta/recipes-devtools/perl/perl_5.22.1.bb | 5 +
.../python/python-numpy/arm/numpyconfig.h | 1 +
.../python/python-numpy/mips/_numpyconfig.h | 1 +
.../python/python-numpy/powerpc/_numpyconfig.h | 1 +
...m_sys-use-md5sum-instead-of-mtime-as-the-.patch | 38 ++
...art-add-deugging-when-targetpath-is-empty.patch | 47 ++
.../python/python-smartpm/smart-locale.patch | 27 +
...=> smartpm-rpm5-support-check-signatures.patch} | 67 +-
meta/recipes-devtools/python/python-smartpm_git.bb | 5 +-
.../recipes-devtools/qemu/qemu/CVE-2016-3710.patch | 112 ++++
.../qemu/qemu/CVE-2016-3712_p1.patch | 73 +++
.../qemu/qemu/CVE-2016-3712_p2.patch | 132 ++++
.../qemu/qemu/CVE-2016-3712_p3.patch | 34 +
.../qemu/qemu/CVE-2016-3712_p4.patch | 80 +++
.../recipes-devtools/qemu/qemu/CVE-2016-4002.patch | 39 ++
.../recipes-devtools/qemu/qemu/CVE-2016-4439.patch | 46 ++
.../recipes-devtools/qemu/qemu/CVE-2016-5403.patch | 67 ++
.../qemu/qemu/CVE-2016-6351_p1.patch | 75 +++
.../qemu/qemu/CVE-2016-6351_p2.patch | 60 ++
meta/recipes-devtools/qemu/qemu_2.5.0.bb | 10 +
...0001-system.h-query.c-support-nosignature.patch | 64 ++
...-ensure-rpm2cpio-call-rpm-relocation-code.patch | 25 +
meta/recipes-devtools/rpm/rpm_5.4.16.bb | 4 +-
.../sudo/sudo/CVE-2015-8239-1.patch | 699 +++++++++++++++++++++
.../sudo/sudo/CVE-2015-8239-2.patch | 45 ++
meta/recipes-extended/sudo/sudo_1.8.15.bb | 2 +
.../recipes-extended/wget/wget/CVE-2016-4971.patch | 295 +++++++++
meta/recipes-extended/wget/wget_1.17.1.bb | 1 +
.../xserver-xf86-config/10-preload-modules.conf | 2 +-
.../libtiff/files/CVE-2015-8781.patch | 195 ++++++
.../libtiff/files/CVE-2015-8784.patch | 73 +++
.../libtiff/files/CVE-2016-3186.patch | 24 +
.../libtiff/files/CVE-2016-5321.patch | 49 ++
.../libtiff/files/CVE-2016-5323.patch | 107 ++++
meta/recipes-multimedia/libtiff/tiff_4.0.6.bb | 5 +
...th-don-t-create-the-HSP-HFP-profile-twice.patch | 343 ++++++++++
.../pulseaudio/pulseaudio_8.0.bb | 1 +
meta/recipes-support/curl/curl/CVE-2016-7141.patch | 50 ++
meta/recipes-support/curl/curl_7.47.1.bb | 1 +
90 files changed, 4429 insertions(+), 82 deletions(-)
create mode 100644 meta/recipes-connectivity/openssh/openssh/CVE-2015-8325.patch
create mode 100644 meta/recipes-connectivity/openssh/openssh/CVE-2016-6210.patch
create mode 100644 meta/recipes-connectivity/openssh/openssh/CVE-2016-6210_p2.patch
create mode 100644 meta/recipes-connectivity/openssh/openssh/CVE-2016-6210_p3.patch
create mode 100644 meta/recipes-connectivity/openssh/openssh/CVE-2016-6515.patch
create mode 100644 meta/recipes-core/busybox/busybox/0001-sed-fix-sed-n-flushes-pattern-space-terminates-early.patch
create mode 100644 meta/recipes-core/busybox/busybox/busybox-kbuild-race-fix-commit-d8e61bb.patch
create mode 100644 meta/recipes-core/busybox/busybox/commit-applet_tables-fix-commit-0dddbc1.patch
create mode 100644 meta/recipes-core/busybox/busybox/makefile-fix-backport.patch
create mode 100644 meta/recipes-core/busybox/busybox/makefile-libbb-race.patch
delete mode 100644 meta/recipes-core/dropbear/dropbear_2015.71.bb
create mode 100644 meta/recipes-core/dropbear/dropbear_2016.72.bb
create mode 100644 meta/recipes-core/util-linux/util-linux/CVE-2016-5011.patch
create mode 100644 meta/recipes-core/util-linux/util-linux/CVE-2016-5011_p2.patch
create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/e2fsprogs-fix-missing-check-for-permission-denied.patch
create mode 100644 meta/recipes-devtools/perl/perl/perl-fix-CVE-2015-8607.patch
create mode 100644 meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-2381.patch
create mode 100644 meta/recipes-devtools/perl/perl/perl-fix-CVE-2016-6185.patch
create mode 100644 meta/recipes-devtools/perl/perl/perl-fix-conflict-between-skip_all-and-END.patch
create mode 100644 meta/recipes-devtools/perl/perl/perl-remove-nm-from-libswanted.patch
create mode 100644 meta/recipes-devtools/perl/perl/perl-test-customized.patch
create mode 100644 meta/recipes-devtools/python/python-smartpm/channels-rpm_sys-use-md5sum-instead-of-mtime-as-the-.patch
create mode 100644 meta/recipes-devtools/python/python-smartpm/smart-add-deugging-when-targetpath-is-empty.patch
create mode 100644 meta/recipes-devtools/python/python-smartpm/smart-locale.patch
rename meta/recipes-devtools/python/python-smartpm/{smartpm-rpm5-nodig.patch => smartpm-rpm5-support-check-signatures.patch} (48%)
create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-3710.patch
create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-3712_p1.patch
create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-3712_p2.patch
create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-3712_p3.patch
create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-3712_p4.patch
create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-4002.patch
create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-4439.patch
create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-5403.patch
create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-6351_p1.patch
create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2016-6351_p2.patch
create mode 100644 meta/recipes-devtools/rpm/rpm/0001-system.h-query.c-support-nosignature.patch
create mode 100644 meta/recipes-devtools/rpm/rpm/rpm-ensure-rpm2cpio-call-rpm-relocation-code.patch
create mode 100644 meta/recipes-extended/sudo/sudo/CVE-2015-8239-1.patch
create mode 100644 meta/recipes-extended/sudo/sudo/CVE-2015-8239-2.patch
create mode 100644 meta/recipes-extended/wget/wget/CVE-2016-4971.patch
create mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2015-8781.patch
create mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2015-8784.patch
create mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-3186.patch
create mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-5321.patch
create mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2016-5323.patch
create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio/0001-bluetooth-don-t-create-the-HSP-HFP-profile-twice.patch
create mode 100644 meta/recipes-support/curl/curl/CVE-2016-7141.patchSignature · 1 line
2.7.4
I think the systemd change may have broken something. It looks like it is running a useradd with no arguments other than the root. Now I see the following error in krogoth:
from "tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/log.do_install"
DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell function useradd_sysroot
Running groupadd commands...
NOTE: systemd: Performing groupadd with [--root /mnt/bitbake/build/detos/tmp-glibc/sysroots/unified -r lock]
NOTE: systemd: Performing groupadd with [--root /mnt/bitbake/build/detos/tmp-glibc/sysroots/unified -r systemd-journal]
NOTE: systemd: group systemd-journal already exists, not re-creating it
Running useradd commands...
NOTE: systemd: Performing useradd with [--root /mnt/bitbake/build/detos/tmp-glibc/sysroots/unified --system -d / -M --shell /bin/nologin systemd-timesync]
NOTE: systemd: Performing useradd with [--root /mnt/bitbake/build/detos/tmp-glibc/sysroots/unified ]
Usage: useradd [options] LOGIN
useradd -D
useradd -D [options]
Options:
-b, --base-dir BASE_DIR base directory for the home directory of the
new account
-c, --comment COMMENT GECOS field of the new account
-d, --home-dir HOME_DIR home directory of the new account
-D, --defaults print or change default useradd configuration
-e, --expiredate EXPIRE_DATE expiration date of the new account
-f, --inactive INACTIVE password inactivity period of the new account
-g, --gid GROUP name or ID of the primary group of the new
account
-G, --groups GROUPS list of supplementary groups of the new
account
-h, --help display this help message and exit
-k, --skel SKEL_DIR use this alternative skeleton directory
-K, --key KEY=VALUE override /etc/login.defs defaults
-l, --no-log-init do not add the user to the lastlog and
faillog databases
-m, --create-home create the user's home directory
-M, --no-create-home do not create the user's home directory
-N, --no-user-group do not create a group with the same name as
the user
-o, --non-unique allow to create users with duplicate
(non-unique) UID
-p, --password PASSWORD encrypted password of the new account
-P, --clear-password PASSWORD clear password of the new account
-r, --system create a system account
-R, --root CHROOT_DIR directory to chroot into
-s, --shell SHELL login shell of the new account
-u, --uid UID user ID of the new account
-U, --user-group create a group with the same name as the userWARNING: /mnt/bitbake/build/detos/tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/run.useradd_sysroot.31611:1 exit 1 from 'exit 1'
ERROR: systemd: useradd command did not succeed.
Ian,
Quoted 3 lines · Ian Geiser
I think the systemd change may have broken something. It looks like it is running a useradd with no arguments other than the root. Now I see the following error in krogoth:
from "tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/log.do_install"
I have been able to reproduce this. I am going to check master to see if the same issue exists there.
thanks for reporting this.
- armin
Quoted 49 lines
DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell functionuseradd_sysroot
Running groupadd commands...
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r lock]
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r systemd-journal]
NOTE: systemd: group systemd-journal already exists, not re-creating it
Running useradd commands...
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified--system -d / -M --shell/bin/nologinsystemd-timesync]
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified]
Usage: useradd [options] LOGIN
useradd -D
useradd -D [options]Options:
-b, --base-dirBASE_DIRbase directory for the home directory of the
new account-c, --comment COMMENT GECOS field of the new account -d, --home-dir HOME_DIR home directory of the new account -D, --defaults print or change default useradd configuration -e, --expiredate EXPIRE_DATE expiration date of the new account -f, --inactive INACTIVE password inactivity period of the new account -g, --gid GROUP name or ID of the primary group of the new account -G, --groups GROUPS list of supplementary groups of the new account -h, --help display this help message and exit -k, --skel SKEL_DIR use this alternative skeleton directory -K, --key KEY=VALUE override /etc/login.defs defaults -l, --no-log-init do not add the user to the lastlog and faillog databases -m, --create-home create the user's home directory -M, --no-create-home do not create the user's home directory -N, --no-user-group do not create a group with the same name as the user -o, --non-unique allow to create users with duplicate (non-unique) UID -p, --password PASSWORD encrypted password of the new account -P, --clear-password PASSWORD clear password of the new account -r, --system create a system account -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the userWARNING:
/mnt/bitbake/build/detos/tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/run.useradd_sysroot.31611:1exit 1 from 'exit 1'
ERROR: systemd: useradd command did not succeed.
Quoted 2 lines · Ian Geiser
I think the systemd change may have broken something. It looks like it is running a useradd with no arguments other than the root. Now I see the following error in krogoth:
I appears to be caused by
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=krogoth&id=66a4366e8fb4077a375e71c2169f3307254a36aa.
Master did not show this issue.
- armin
Quoted 50 lines
from "tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/log.do_install"
DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell functionuseradd_sysroot
Running groupadd commands...
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r lock]
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r systemd-journal]
NOTE: systemd: group systemd-journal already exists, not re-creating it
Running useradd commands...
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified--system -d / -M --shell/bin/nologinsystemd-timesync]
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified]
Usage: useradd [options] LOGIN
useradd -D
useradd -D [options]Options:
-b, --base-dirBASE_DIRbase directory for the home directory of the
new account-c, --comment COMMENT GECOS field of the new account -d, --home-dir HOME_DIR home directory of the new account -D, --defaults print or change default useradd configuration -e, --expiredate EXPIRE_DATE expiration date of the new account -f, --inactive INACTIVE password inactivity period of the new account -g, --gid GROUP name or ID of the primary group of the new account -G, --groups GROUPS list of supplementary groups of the new account -h, --help display this help message and exit -k, --skel SKEL_DIR use this alternative skeleton directory -K, --key KEY=VALUE override /etc/login.defs defaults -l, --no-log-init do not add the user to the lastlog and faillog databases -m, --create-home create the user's home directory -M, --no-create-home do not create the user's home directory -N, --no-user-group do not create a group with the same name as the user -o, --non-unique allow to create users with duplicate (non-unique) UID -p, --password PASSWORD encrypted password of the new account -P, --clear-password PASSWORD clear password of the new account -r, --system create a system account -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the userWARNING:
/mnt/bitbake/build/detos/tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/run.useradd_sysroot.31611:1exit 1 from 'exit 1'
ERROR: systemd: useradd command did not succeed.
---- On Mon, 26 Sep 2016 00:02:21 -0400 akuster808 <[email protected]> wrote ----
Quoted 24 lines · Ian Geiser
Quoted 2 lines
I think the systemd change may have broken something. It looks like it is running a useradd with no arguments other than the root. Now I see the following error in krogoth:
I appears to be caused by
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=krogoth&id=66a4366e8fb4077a375e71c2169f3307254a36aa.Master did not show this issue.
- armin
Quoted 11 lines
from "tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/log.do_install"
DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell functionuseradd_sysroot
Running groupadd commands...
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r lock]
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r systemd-journal]
NOTE: systemd: group systemd-journal already exists, not re-creating it
Running useradd commands...
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified--system -d / -M --shell/bin/nologinsystemd-timesync]
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified]
From the looks of it the useradd is running with only the root and no actual arguments. Is it possible there is a chance in the useradd bbclass in master that is needed? Doubtful since the old code worked with the entries present. What ever is happening is happening after timesync though. I cannot see how networkd is causing the problem though since it is just like the others.
Quoted 40 lines
Quoted 39 lines
Usage: useradd [options] LOGIN
useradd -D
useradd -D [options]Options:
-b, --base-dirBASE_DIRbase directory for the home directory of the
new account-c, --comment COMMENT GECOS field of the new account -d, --home-dir HOME_DIR home directory of the new account -D, --defaults print or change default useradd configuration -e, --expiredate EXPIRE_DATE expiration date of the new account -f, --inactive INACTIVE password inactivity period of the new account -g, --gid GROUP name or ID of the primary group of the new account -G, --groups GROUPS list of supplementary groups of the new account -h, --help display this help message and exit -k, --skel SKEL_DIR use this alternative skeleton directory -K, --key KEY=VALUE override /etc/login.defs defaults -l, --no-log-init do not add the user to the lastlog and faillog databases -m, --create-home create the user's home directory -M, --no-create-home do not create the user's home directory -N, --no-user-group do not create a group with the same name as the user -o, --non-unique allow to create users with duplicate (non-unique) UID -p, --password PASSWORD encrypted password of the new account -P, --clear-password PASSWORD clear password of the new account -r, --system create a system account -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the userWARNING:
/mnt/bitbake/build/detos/tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/run.useradd_sysroot.31611:1exit 1 from 'exit 1'
ERROR: systemd: useradd command did not succeed.
I saw this as well. Opened the following bug:
* https://bugzilla.yoctoproject.org/show_bug.cgi?id=10329
Quoted 52 lines · On Sat, 24 Sep 2016 10:48:00 -0400 Ian Geiser <[email protected]> wrote:
I think the systemd change may have broken something. It looks like it is running a useradd with no arguments other than the root. Now I see the following error in krogoth:
from "tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/log.do_install"
DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell functionuseradd_sysroot
Running groupadd commands...
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r lock]
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r systemd-journal]
NOTE: systemd: group systemd-journal already exists, not re-creating it
Running useradd commands...
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified--system -d / -M --shell/bin/nologinsystemd-timesync]
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified]
Usage: useradd [options] LOGIN
useradd -D
useradd -D [options]Options:
-b, --base-dirBASE_DIRbase directory for the home directory of the
new account-c, --comment COMMENT GECOS field of the new account -d, --home-dir HOME_DIR home directory of the new account -D, --defaults print or change default useradd configuration -e, --expiredate EXPIRE_DATE expiration date of the new account -f, --inactive INACTIVE password inactivity period of the new account -g, --gid GROUP name or ID of the primary group of the new account -G, --groups GROUPS list of supplementary groups of the new account -h, --help display this help message and exit -k, --skel SKEL_DIR use this alternative skeleton directory -K, --key KEY=VALUE override /etc/login.defs defaults -l, --no-log-init do not add the user to the lastlog and faillog databases -m, --create-home create the user's home directory -M, --no-create-home do not create the user's home directory -N, --no-user-group do not create a group with the same name as the user -o, --non-unique allow to create users with duplicate (non-unique) UID -p, --password PASSWORD encrypted password of the new account -P, --clear-password PASSWORD clear password of the new account -r, --system create a system account -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the userWARNING:
/mnt/bitbake/build/detos/tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/run.useradd_sysroot.31611:1exit 1 from 'exit 1'
ERROR: systemd: useradd command did not succeed.
Quoted 2 lines · Joe Konno
I saw this as well. Opened the following bug:
* https://bugzilla.yoctoproject.org/show_bug.cgi?id=10329
thanks, guess I should have done it when first reported.
looks promising.
- armin
Quoted 57 lines
Quoted 52 lines · On Sat, 24 Sep 2016 10:48:00 -0400 Ian Geiser <[email protected]> wrote:
I think the systemd change may have broken something. It looks like it is running a useradd with no arguments other than the root. Now I see the following error in krogoth:
from "tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/log.do_install"
DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell functionuseradd_sysroot
Running groupadd commands...
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r lock]
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r systemd-journal]
NOTE: systemd: group systemd-journal already exists, not re-creating it
Running useradd commands...
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified--system -d / -M --shell/bin/nologinsystemd-timesync]
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified]
Usage: useradd [options] LOGIN
useradd -D
useradd -D [options]Options:
-b, --base-dirBASE_DIRbase directory for the home directory of the
new account-c, --comment COMMENT GECOS field of the new account -d, --home-dir HOME_DIR home directory of the new account -D, --defaults print or change default useradd configuration -e, --expiredate EXPIRE_DATE expiration date of the new account -f, --inactive INACTIVE password inactivity period of the new account -g, --gid GROUP name or ID of the primary group of the new account -G, --groups GROUPS list of supplementary groups of the new account -h, --help display this help message and exit -k, --skel SKEL_DIR use this alternative skeleton directory -K, --key KEY=VALUE override /etc/login.defs defaults -l, --no-log-init do not add the user to the lastlog and faillog databases -m, --create-home create the user's home directory -M, --no-create-home do not create the user's home directory -N, --no-user-group do not create a group with the same name as the user -o, --non-unique allow to create users with duplicate (non-unique) UID -p, --password PASSWORD encrypted password of the new account -P, --clear-password PASSWORD clear password of the new account -r, --system create a system account -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the userWARNING:
/mnt/bitbake/build/detos/tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/run.useradd_sysroot.31611:1exit 1 from 'exit 1'
ERROR: systemd: useradd command did not succeed.
This patch is the one that fixed this issue for me:
The problem was introduced by this change to systemd's recipe:
http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-core/systemd?h=krogoth&id=901a6dbe420eb3f76503871ca3ccfe544b9b3b57
Regards,
-Matt
Quoted 75 lines · On Mon, Sep 26, 2016 at 9:13 AM, akuster808 <[email protected]> wrote:
Quoted 2 lines · Joe Konno
I saw this as well. Opened the following bug:
* https://bugzilla.yoctoproject.org/show_bug.cgi?id=10329thanks, guess I should have done it when first reported.
looks promising.
- armin
Quoted 52 lines
Quoted 48 lines · On Sat, 24 Sep 2016 10:48:00 -0400 Ian Geiser <[email protected]> wrote:
I think the systemd change may have broken something. It looks like it is running a useradd with no arguments other than the root. Now I see the following error in krogoth:
from "tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/log.do_install"
DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell functionuseradd_sysroot
Running groupadd commands...
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r lock]
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r systemd-journal]
NOTE: systemd: group systemd-journal already exists, not re-creating it
Running useradd commands...
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified--system -d / -M --shell/bin/nologinsystemd-timesync]
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified]
Usage: useradd [options] LOGIN
useradd -D
useradd -D [options]Options:
-b, --base-dirBASE_DIRbase directory for the home directory of the
new account-c, --comment COMMENT GECOS field of the new account -d, --home-dir HOME_DIR home directory of the new account -D, --defaults print or change default useradd configuration -e, --expiredate EXPIRE_DATE expiration date of the new account -f, --inactive INACTIVE password inactivity period of the new account -g, --gid GROUP name or ID of the primary group of the new account -G, --groups GROUPS list of supplementary groups of the new account -h, --help display this help message and exit -k, --skel SKEL_DIR use this alternative skeleton directory -K, --key KEY=VALUE override /etc/login.defs defaults -l, --no-log-init do not add the user to the lastlog and faillog databases -m, --create-home create the user's home directory -M, --no-create-home do not create the user's home directory -N, --no-user-group do not create a group with the same name as the user -o, --non-unique allow to create users with duplicate (non-unique) UID -p, --password PASSWORD encrypted password of the new account -P, --clear-password PASSWORD clear password of the new account -r, --system create a system account -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the userQuoted 5 lines
Quoted 4 lines
WARNING:
/mnt/bitbake/build/detos/tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/run.useradd_sysroot.31611:1exit 1 from 'exit 1'
ERROR: systemd: useradd command did not succeed.--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 3 lines · Matt Madison
This patch is the one that fixed this issue for me:
That commit has been in Krogoth for a while so I don't understand the circumstance in fixing this issue.
-armin
Quoted 83 lines
The problem was introduced by this change to systemd's recipe:
http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-core/systemd?h=krogoth&id=901a6dbe420eb3f76503871ca3ccfe544b9b3b57Regards,
-MattQuoted 75 lines · On Mon, Sep 26, 2016 at 9:13 AM, akuster808 <[email protected]> wrote:
Quoted 2 lines · Joe Konno
I saw this as well. Opened the following bug:
* https://bugzilla.yoctoproject.org/show_bug.cgi?id=10329thanks, guess I should have done it when first reported.
looks promising.
- armin
Quoted 52 lines
Quoted 48 lines · On Sat, 24 Sep 2016 10:48:00 -0400 Ian Geiser <[email protected]> wrote:
I think the systemd change may have broken something. It looks like it is running a useradd with no arguments other than the root. Now I see the following error in krogoth:
from "tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/log.do_install"
DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell functionuseradd_sysroot
Running groupadd commands...
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r lock]
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r systemd-journal]
NOTE: systemd: group systemd-journal already exists, not re-creating it
Running useradd commands...
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified--system -d / -M --shell/bin/nologinsystemd-timesync]
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified]
Usage: useradd [options] LOGIN
useradd -D
useradd -D [options]Options:
-b, --base-dirBASE_DIRbase directory for the home directory of the
new account-c, --comment COMMENT GECOS field of the new account -d, --home-dir HOME_DIR home directory of the new account -D, --defaults print or change default useradd configuration -e, --expiredate EXPIRE_DATE expiration date of the new account -f, --inactive INACTIVE password inactivity period of the new account -g, --gid GROUP name or ID of the primary group of the new account -G, --groups GROUPS list of supplementary groups of the new account -h, --help display this help message and exit -k, --skel SKEL_DIR use this alternative skeleton directory -K, --key KEY=VALUE override /etc/login.defs defaults -l, --no-log-init do not add the user to the lastlog and faillog databases -m, --create-home create the user's home directory -M, --no-create-home do not create the user's home directory -N, --no-user-group do not create a group with the same name as the user -o, --non-unique allow to create users with duplicate (non-unique) UID -p, --password PASSWORD encrypted password of the new account -P, --clear-password PASSWORD clear password of the new account -r, --system create a system account -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the userQuoted 5 lines
Quoted 4 lines
WARNING:
/mnt/bitbake/build/detos/tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/run.useradd_sysroot.31611:1exit 1 from 'exit 1'
ERROR: systemd: useradd command did not succeed.--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 9 lines · On Tue, Sep 27, 2016 at 8:42 AM, akuster808 <[email protected]> wrote:
Quoted 3 lines · Matt Madison
This patch is the one that fixed this issue for me:
That commit has been in Krogoth for a while so I don't understand the circumstance in fixing this issue.
Sigh. Copy-paste error on my part. It was this one.
and I see that that's already been pulled in to krogoth now, thanks.
-Matt
Quoted 88 lines
-armin
Quoted 83 lines
The problem was introduced by this change to systemd's recipe:
http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-core/systemd?h=krogoth&id=901a6dbe420eb3f76503871ca3ccfe544b9b3b57Regards,
-MattQuoted 75 lines · On Mon, Sep 26, 2016 at 9:13 AM, akuster808 <[email protected]> wrote:
Quoted 2 lines · Joe Konno
I saw this as well. Opened the following bug:
* https://bugzilla.yoctoproject.org/show_bug.cgi?id=10329thanks, guess I should have done it when first reported.
looks promising.
- armin
Quoted 52 lines
Quoted 48 lines · On Sat, 24 Sep 2016 10:48:00 -0400 Ian Geiser <[email protected]> wrote:
I think the systemd change may have broken something. It looks like it is running a useradd with no arguments other than the root. Now I see the following error in krogoth:
from "tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/log.do_install"
DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
DEBUG: Executing shell functionuseradd_sysroot
Running groupadd commands...
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r lock]
NOTE: systemd: Performing groupadd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified-r systemd-journal]
NOTE: systemd: group systemd-journal already exists, not re-creating it
Running useradd commands...
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified--system -d / -M --shell/bin/nologinsystemd-timesync]
NOTE: systemd: Performing useradd with [--root/mnt/bitbake/build/detos/tmp-glibc/sysroots/unified]
Usage: useradd [options] LOGIN
useradd -D
useradd -D [options]Options:
-b, --base-dirBASE_DIRbase directory for the home directory of the
new account-c, --comment COMMENT GECOS field of the new account -d, --home-dir HOME_DIR home directory of the new account -D, --defaults print or change default useradd configuration -e, --expiredate EXPIRE_DATE expiration date of the new account -f, --inactive INACTIVE password inactivity period of the new account -g, --gid GROUP name or ID of the primary group of the new account -G, --groups GROUPS list of supplementary groups of the new account -h, --help display this help message and exit -k, --skel SKEL_DIR use this alternative skeleton directory -K, --key KEY=VALUE override /etc/login.defs defaults -l, --no-log-init do not add the user to the lastlog and faillog databases -m, --create-home create the user's home directory -M, --no-create-home do not create the user's home directory -N, --no-user-group do not create a group with the same name as the user -o, --non-unique allow to create users with duplicate (non-unique) UID -p, --password PASSWORD encrypted password of the new account -P, --clear-password PASSWORD clear password of the new account -r, --system create a system account -R, --root CHROOT_DIR directory to chroot into -s, --shell SHELL login shell of the new account -u, --uid UID user ID of the new account -U, --user-group create a group with the same name as the userQuoted 5 lines
Quoted 4 lines
WARNING:
/mnt/bitbake/build/detos/tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/run.useradd_sysroot.31611:1exit 1 from 'exit 1'
ERROR: systemd: useradd command did not succeed.--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core