Diff of the two buildlogs: -- --- b1/build.log 2024-01-08 01:02:43.361083352 +0000 +++ b2/build.log 2024-01-08 01:04:12.557161895 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Feb 8 19:22:21 -12 2025 -I: pbuilder-time-stamp: 1739085741 +I: Current time: Mon Jan 8 15:02:46 +14 2024 +I: pbuilder-time-stamp: 1704675766 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -26,49 +26,81 @@ dpkg-source: info: unpacking munge_0.5.15-2.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1494127/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3456660/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 8 01:02 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3456660/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3456660/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='a6e62b28a0274414b171ece363dbd4dc' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1494127' - PS1='# ' - PS2='> ' + INVOCATION_ID=d56417ba0e49410197f635b6caa14c3f + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3456660 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.s5IoCD8o/pbuilderrc_BjOn --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.s5IoCD8o/b1 --logfile b1/build.log munge_0.5.15-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.104:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.s5IoCD8o/pbuilderrc_dfUG --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.s5IoCD8o/b2 --logfile b2/build.log munge_0.5.15-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.104:3128 I: uname -a - Linux codethink01-arm64 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-cloud-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux I: ls -l /bin total 7104 -rwxr-xr-x 1 root root 1346480 Apr 23 2023 bash @@ -126,15 +158,15 @@ -rwxr-xr-x 1 root root 68456 Sep 20 2022 readlink -rwxr-xr-x 1 root root 68592 Sep 20 2022 rm -rwxr-xr-x 1 root root 68480 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 68392 Jul 28 2023 run-parts + -rwxr-xr-x 1 root root 68392 Jul 28 23:46 run-parts -rwxr-xr-x 1 root root 134536 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash + lrwxrwxrwx 1 root root 9 Jan 8 01:02 sh -> /bin/bash -rwxr-xr-x 1 root root 68432 Sep 20 2022 sleep -rwxr-xr-x 1 root root 134088 Sep 20 2022 stty -rwsr-xr-x 1 root root 133312 Mar 23 2023 su -rwxr-xr-x 1 root root 68448 Sep 20 2022 sync -rwxr-xr-x 1 root root 539896 Apr 6 2023 tar - -rwxr-xr-x 1 root root 67904 Jul 28 2023 tempfile + -rwxr-xr-x 1 root root 67904 Jul 28 23:46 tempfile -rwxr-xr-x 1 root root 134160 Sep 20 2022 touch -rwxr-xr-x 1 root root 68384 Sep 20 2022 true -rwxr-xr-x 1 root root 67664 Mar 23 2023 ulockmgr_server @@ -154,7 +186,7 @@ -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew -I: user script /srv/workspace/pbuilder/1494127/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/3456660/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -234,7 +266,7 @@ Get: 34 http://deb.debian.org/debian bookworm/main arm64 libgpg-error-dev arm64 1.46-1 [130 kB] Get: 35 http://deb.debian.org/debian bookworm/main arm64 libgcrypt20-dev arm64 1.10.1-3 [683 kB] Get: 36 http://deb.debian.org/debian bookworm/main arm64 zlib1g-dev arm64 1:1.2.13.dfsg-1 [913 kB] -Fetched 20.9 MB in 0s (70.5 MB/s) +Fetched 20.9 MB in 0s (109 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libproc2-0:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18171 files and directories currently installed.) @@ -398,7 +430,11 @@ fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/munge-0.5.15/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../munge_0.5.15-2_source.changes +I: user script /srv/workspace/pbuilder/3456660/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bookworm +I: user script /srv/workspace/pbuilder/3456660/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/munge-0.5.15/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../munge_0.5.15-2_source.changes dpkg-buildpackage: info: source package munge dpkg-buildpackage: info: source version 0.5.15-2 dpkg-buildpackage: info: source distribution unstable @@ -492,7 +528,7 @@ checking for sysconfigdir... ${sysconfdir}/default checking for logrotateddir... ${sysconfdir}/logrotate.d checking for pkgconfigdir... /usr/lib/aarch64-linux-gnu/pkgconfig -checking for a sense of humor... try again +checking for a sense of humor... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p @@ -682,82 +718,82 @@ make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/etc' Making all in libcommon make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-daemonpipe.lo `test -f 'daemonpipe.c' || echo './'`daemonpipe.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-fd.lo `test -f 'fd.c' || echo './'`fd.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-license.lo `test -f 'license.c' || echo './'`license.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-log.lo `test -f 'log.c' || echo './'`log.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-m_msg.lo `test -f 'm_msg.c' || echo './'`m_msg.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-str.lo `test -f 'str.c' || echo './'`str.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-version.lo `test -f 'version.c' || echo './'`version.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-daemonpipe.lo `test -f 'daemonpipe.c' || echo './'`daemonpipe.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-fd.lo `test -f 'fd.c' || echo './'`fd.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-license.lo `test -f 'license.c' || echo './'`license.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-log.lo `test -f 'log.c' || echo './'`log.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-m_msg.lo `test -f 'm_msg.c' || echo './'`m_msg.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-str.lo `test -f 'str.c' || echo './'`str.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE='"2022-06-22"' -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libcommon_la-version.lo `test -f 'version.c' || echo './'`version.c /bin/sed -e 's|[@]bindir[@]|/usr/bin|g' -e 's|[@]datadir[@]|/usr/share|g' -e 's|[@]datarootdir[@]|/usr/share|g' -e 's|[@]docdir[@]|/usr/share/doc/munge|g' -e 's|[@]dvidir[@]|/usr/share/doc/munge|g' -e 's|[@]exec_prefix[@]|/usr|g' -e 's|[@]htmldir[@]|/usr/share/doc/munge|g' -e 's|[@]includedir[@]|/usr/include|g' -e 's|[@]infodir[@]|/usr/share/info|g' -e 's|[@]libdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]libexecdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]localedir[@]|/usr/share/locale|g' -e 's|[@]localstatedir[@]|/var|g' -e 's|[@]mandir[@]|/usr/share/man|g' -e 's|[@]oldincludedir[@]|/usr/include|g' -e 's|[@]pdfdir[@]|/usr/share/doc/munge|g' -e 's|[@]pkgconfigdir[@]|/usr/lib/aarch64-linux-gnu/pkgconfig|g' -e 's|[@]pkgdatadir[@]|/usr/share/munge|g' -e 's|[@]pkgincludedir[@]|/usr/include/munge|g' -e 's|[@]pkglibdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]pkglibexecdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]prefix[@]|/usr|g' -e 's|[@]psdir[@]|/usr/share/doc/munge|g' -e 's|[@]runstatedir[@]|/run|g' -e 's|[@]sbindir[@]|/usr/sbin|g' -e 's|[@]sharedstatedir[@]|/usr/com|g' -e 's|[@]sysconfdir[@]|/etc|g' -e 's|[@]sysconfigdir[@]|/etc/default|g' -e 's|[@]systemdunitdir[@]||g' -e 's|[@]sysvinitddir[@]|/etc/init.d|g' -e 's|[@]DATE[@]|2022-06-22|g' -e 's|[@]PACKAGE[@]|munge|g' -e 's|[@]VERSION[@]|0.5.15|g' < './munge.7.in' > './munge.7' -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c license.c -fPIC -DPIC -o .libs/libcommon_la-license.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c fd.c -fPIC -DPIC -o .libs/libcommon_la-fd.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c daemonpipe.c -fPIC -DPIC -o .libs/libcommon_la-daemonpipe.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c license.c -fPIC -DPIC -o .libs/libcommon_la-license.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c version.c -fPIC -DPIC -o .libs/libcommon_la-version.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c str.c -fPIC -DPIC -o .libs/libcommon_la-str.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c m_msg.c -fPIC -DPIC -o .libs/libcommon_la-m_msg.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c log.c -fPIC -DPIC -o .libs/libcommon_la-log.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c daemonpipe.c -fPIC -DPIC -o .libs/libcommon_la-daemonpipe.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c license.c -o libcommon_la-license.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c m_msg.c -fPIC -DPIC -o .libs/libcommon_la-m_msg.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c version.c -fPIC -DPIC -o .libs/libcommon_la-version.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c daemonpipe.c -o libcommon_la-daemonpipe.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c version.c -o libcommon_la-version.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c daemonpipe.c -o libcommon_la-daemonpipe.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c str.c -o libcommon_la-str.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c log.c -o libcommon_la-log.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c fd.c -o libcommon_la-fd.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DDATE=\"2022-06-22\" -DLOCALSTATEDIR=\"/var\" -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c m_msg.c -o libcommon_la-m_msg.o >/dev/null 2>&1 -/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o libcommon.la libcommon_la-daemonpipe.lo libcommon_la-fd.lo libcommon_la-license.lo libcommon_la-log.lo libcommon_la-m_msg.lo libcommon_la-str.lo libcommon_la-version.lo +/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o libcommon.la libcommon_la-daemonpipe.lo libcommon_la-fd.lo libcommon_la-license.lo libcommon_la-log.lo libcommon_la-m_msg.lo libcommon_la-str.lo libcommon_la-version.lo libtool: link: ar cr .libs/libcommon.a .libs/libcommon_la-daemonpipe.o .libs/libcommon_la-fd.o .libs/libcommon_la-license.o .libs/libcommon_la-log.o .libs/libcommon_la-m_msg.o .libs/libcommon_la-str.o .libs/libcommon_la-version.o libtool: link: ranlib .libs/libcommon.a libtool: link: ( cd ".libs" && rm -f "libcommon.la" && ln -s "../libcommon.la" "libcommon.la" ) make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' Making all in libmissing make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o getopt.lo getopt.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o getopt1.lo getopt1.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o strlcat.lo strlcat.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o strlcpy.lo strlcpy.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c strlcat.c -fPIC -DPIC -o .libs/strlcat.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c getopt1.c -fPIC -DPIC -o .libs/getopt1.o +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o getopt.lo getopt.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o getopt1.lo getopt1.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o strlcat.lo strlcat.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o strlcpy.lo strlcpy.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c getopt.c -fPIC -DPIC -o .libs/getopt.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c strlcat.c -fPIC -DPIC -o .libs/strlcat.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c strlcpy.c -fPIC -DPIC -o .libs/strlcpy.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c getopt1.c -fPIC -DPIC -o .libs/getopt1.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c getopt.c -o getopt.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c getopt1.c -o getopt1.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c strlcat.c -o strlcat.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c getopt.c -o getopt.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c strlcpy.c -o strlcpy.o >/dev/null 2>&1 -/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o libmissing.la getopt.lo getopt1.lo strlcat.lo strlcpy.lo +/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o libmissing.la getopt.lo getopt1.lo strlcat.lo strlcpy.lo libtool: link: ar cr .libs/libmissing.a .libs/getopt.o .libs/getopt1.o .libs/strlcat.o .libs/strlcpy.o libtool: link: ranlib .libs/libmissing.a libtool: link: ( cd ".libs" && rm -f "libmissing.la" && ln -s "../libmissing.la" "libmissing.la" ) make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmissing' Making all in libmunge make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-auth_send.lo `test -f 'auth_send.c' || echo './'`auth_send.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-ctx.lo `test -f 'ctx.c' || echo './'`ctx.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-decode.lo `test -f 'decode.c' || echo './'`decode.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-encode.lo `test -f 'encode.c' || echo './'`encode.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-enum.lo `test -f 'enum.c' || echo './'`enum.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-m_msg_client.lo `test -f 'm_msg_client.c' || echo './'`m_msg_client.c -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-strerror.lo `test -f 'strerror.c' || echo './'`strerror.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-auth_send.lo `test -f 'auth_send.c' || echo './'`auth_send.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-ctx.lo `test -f 'ctx.c' || echo './'`ctx.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-decode.lo `test -f 'decode.c' || echo './'`decode.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-encode.lo `test -f 'encode.c' || echo './'`encode.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-enum.lo `test -f 'enum.c' || echo './'`enum.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-m_msg_client.lo `test -f 'm_msg_client.c' || echo './'`m_msg_client.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libmunge_la-strerror.lo `test -f 'strerror.c' || echo './'`strerror.c /bin/sed -e 's|[@]bindir[@]|/usr/bin|g' -e 's|[@]datadir[@]|/usr/share|g' -e 's|[@]datarootdir[@]|/usr/share|g' -e 's|[@]docdir[@]|/usr/share/doc/munge|g' -e 's|[@]dvidir[@]|/usr/share/doc/munge|g' -e 's|[@]exec_prefix[@]|/usr|g' -e 's|[@]htmldir[@]|/usr/share/doc/munge|g' -e 's|[@]includedir[@]|/usr/include|g' -e 's|[@]infodir[@]|/usr/share/info|g' -e 's|[@]libdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]libexecdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]localedir[@]|/usr/share/locale|g' -e 's|[@]localstatedir[@]|/var|g' -e 's|[@]mandir[@]|/usr/share/man|g' -e 's|[@]oldincludedir[@]|/usr/include|g' -e 's|[@]pdfdir[@]|/usr/share/doc/munge|g' -e 's|[@]pkgconfigdir[@]|/usr/lib/aarch64-linux-gnu/pkgconfig|g' -e 's|[@]pkgdatadir[@]|/usr/share/munge|g' -e 's|[@]pkgincludedir[@]|/usr/include/munge|g' -e 's|[@]pkglibdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]pkglibexecdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]prefix[@]|/usr|g' -e 's|[@]psdir[@]|/usr/share/doc/munge|g' -e 's|[@]runstatedir[@]|/run|g' -e 's|[@]sbindir[@]|/usr/sbin|g' -e 's|[@]sharedstatedir[@]|/usr/com|g' -e 's|[@]sysconfdir[@]|/etc|g' -e 's|[@]sysconfigdir[@]|/etc/default|g' -e 's|[@]systemdunitdir[@]||g' -e 's|[@]sysvinitddir[@]|/etc/init.d|g' -e 's|[@]DATE[@]|2022-06-22|g' -e 's|[@]PACKAGE[@]|munge|g' -e 's|[@]VERSION[@]|0.5.15|g' < './munge.3.in' > './munge.3' /bin/sed -e 's|[@]bindir[@]|/usr/bin|g' -e 's|[@]datadir[@]|/usr/share|g' -e 's|[@]datarootdir[@]|/usr/share|g' -e 's|[@]docdir[@]|/usr/share/doc/munge|g' -e 's|[@]dvidir[@]|/usr/share/doc/munge|g' -e 's|[@]exec_prefix[@]|/usr|g' -e 's|[@]htmldir[@]|/usr/share/doc/munge|g' -e 's|[@]includedir[@]|/usr/include|g' -e 's|[@]infodir[@]|/usr/share/info|g' -e 's|[@]libdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]libexecdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]localedir[@]|/usr/share/locale|g' -e 's|[@]localstatedir[@]|/var|g' -e 's|[@]mandir[@]|/usr/share/man|g' -e 's|[@]oldincludedir[@]|/usr/include|g' -e 's|[@]pdfdir[@]|/usr/share/doc/munge|g' -e 's|[@]pkgconfigdir[@]|/usr/lib/aarch64-linux-gnu/pkgconfig|g' -e 's|[@]pkgdatadir[@]|/usr/share/munge|g' -e 's|[@]pkgincludedir[@]|/usr/include/munge|g' -e 's|[@]pkglibdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]pkglibexecdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]prefix[@]|/usr|g' -e 's|[@]psdir[@]|/usr/share/doc/munge|g' -e 's|[@]runstatedir[@]|/run|g' -e 's|[@]sbindir[@]|/usr/sbin|g' -e 's|[@]sharedstatedir[@]|/usr/com|g' -e 's|[@]sysconfdir[@]|/etc|g' -e 's|[@]sysconfigdir[@]|/etc/default|g' -e 's|[@]systemdunitdir[@]||g' -e 's|[@]sysvinitddir[@]|/etc/init.d|g' -e 's|[@]DATE[@]|2022-06-22|g' -e 's|[@]PACKAGE[@]|munge|g' -e 's|[@]VERSION[@]|0.5.15|g' < './munge_ctx.3.in' > './munge_ctx.3' -/bin/sed -e 's|[@]bindir[@]|/usr/bin|g' -e 's|[@]datadir[@]|/usr/share|g' -e 's|[@]datarootdir[@]|/usr/share|g' -e 's|[@]docdir[@]|/usr/share/doc/munge|g' -e 's|[@]dvidir[@]|/usr/share/doc/munge|g' -e 's|[@]exec_prefix[@]|/usr|g' -e 's|[@]htmldir[@]|/usr/share/doc/munge|g' -e 's|[@]includedir[@]|/usr/include|g' -e 's|[@]infodir[@]|/usr/share/info|g' -e 's|[@]libdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]libexecdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]localedir[@]|/usr/share/locale|g' -e 's|[@]localstatedir[@]|/var|g' -e 's|[@]mandir[@]|/usr/share/man|g' -e 's|[@]oldincludedir[@]|/usr/include|g' -e 's|[@]pdfdir[@]|/usr/share/doc/munge|g' -e 's|[@]pkgconfigdir[@]|/usr/lib/aarch64-linux-gnu/pkgconfig|g' -e 's|[@]pkgdatadir[@]|/usr/share/munge|g' -e 's|[@]pkgincludedir[@]|/usr/include/munge|g' -e 's|[@]pkglibdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]pkglibexecdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]prefix[@]|/usr|g' -e 's|[@]psdir[@]|/usr/share/doc/munge|g' -e 's|[@]runstatedir[@]|/run|g' -e 's|[@]sbindir[@]|/usr/sbin|g' -e 's|[@]sharedstatedir[@]|/usr/com|g' -e 's|[@]sysconfdir[@]|/etc|g' -e 's|[@]sysconfigdir[@]|/etc/default|g' -e 's|[@]systemdunitdir[@]||g' -e 's|[@]sysvinitddir[@]|/etc/init.d|g' -e 's|[@]DATE[@]|2022-06-22|g' -e 's|[@]PACKAGE[@]|munge|g' -e 's|[@]VERSION[@]|0.5.15|g' < './munge_enum.3.in' > './munge_enum.3' make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' make[5]: 'libcommon.la' is up to date. make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c enum.c -fPIC -DPIC -o .libs/libmunge_la-enum.o +/bin/sed -e 's|[@]bindir[@]|/usr/bin|g' -e 's|[@]datadir[@]|/usr/share|g' -e 's|[@]datarootdir[@]|/usr/share|g' -e 's|[@]docdir[@]|/usr/share/doc/munge|g' -e 's|[@]dvidir[@]|/usr/share/doc/munge|g' -e 's|[@]exec_prefix[@]|/usr|g' -e 's|[@]htmldir[@]|/usr/share/doc/munge|g' -e 's|[@]includedir[@]|/usr/include|g' -e 's|[@]infodir[@]|/usr/share/info|g' -e 's|[@]libdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]libexecdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]localedir[@]|/usr/share/locale|g' -e 's|[@]localstatedir[@]|/var|g' -e 's|[@]mandir[@]|/usr/share/man|g' -e 's|[@]oldincludedir[@]|/usr/include|g' -e 's|[@]pdfdir[@]|/usr/share/doc/munge|g' -e 's|[@]pkgconfigdir[@]|/usr/lib/aarch64-linux-gnu/pkgconfig|g' -e 's|[@]pkgdatadir[@]|/usr/share/munge|g' -e 's|[@]pkgincludedir[@]|/usr/include/munge|g' -e 's|[@]pkglibdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]pkglibexecdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]prefix[@]|/usr|g' -e 's|[@]psdir[@]|/usr/share/doc/munge|g' -e 's|[@]runstatedir[@]|/run|g' -e 's|[@]sbindir[@]|/usr/sbin|g' -e 's|[@]sharedstatedir[@]|/usr/com|g' -e 's|[@]sysconfdir[@]|/etc|g' -e 's|[@]sysconfigdir[@]|/etc/default|g' -e 's|[@]systemdunitdir[@]||g' -e 's|[@]sysvinitddir[@]|/etc/init.d|g' -e 's|[@]DATE[@]|2022-06-22|g' -e 's|[@]PACKAGE[@]|munge|g' -e 's|[@]VERSION[@]|0.5.15|g' < './munge_enum.3.in' > './munge_enum.3' libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c decode.c -fPIC -DPIC -o .libs/libmunge_la-decode.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c encode.c -fPIC -DPIC -o .libs/libmunge_la-encode.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c ctx.c -fPIC -DPIC -o .libs/libmunge_la-ctx.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c auth_send.c -fPIC -DPIC -o .libs/libmunge_la-auth_send.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c m_msg_client.c -fPIC -DPIC -o .libs/libmunge_la-m_msg_client.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c encode.c -fPIC -DPIC -o .libs/libmunge_la-encode.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c enum.c -fPIC -DPIC -o .libs/libmunge_la-enum.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c strerror.c -fPIC -DPIC -o .libs/libmunge_la-strerror.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c enum.c -o libmunge_la-enum.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c auth_send.c -o libmunge_la-auth_send.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c auth_send.c -fPIC -DPIC -o .libs/libmunge_la-auth_send.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c strerror.c -o libmunge_la-strerror.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c auth_send.c -o libmunge_la-auth_send.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c encode.c -o libmunge_la-encode.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c decode.c -o libmunge_la-decode.o >/dev/null 2>&1 -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c ctx.c -o libmunge_la-ctx.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c m_msg_client.c -o libmunge_la-m_msg_client.o >/dev/null 2>&1 -/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -export-symbols-regex "^munge_.*" -version-info 2:0:0 -Wl,-z,relro -Wl,-z,now -o libmunge.la -rpath /usr/lib/aarch64-linux-gnu libmunge_la-auth_send.lo libmunge_la-ctx.lo libmunge_la-decode.lo libmunge_la-encode.lo libmunge_la-enum.lo libmunge_la-m_msg_client.lo libmunge_la-strerror.lo ../../src/libcommon/libcommon.la +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c ctx.c -o libmunge_la-ctx.o >/dev/null 2>&1 +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DRUNSTATEDIR=\"/run\" -DSYSCONFDIR=\"/etc\" -I../../src/libcommon -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c enum.c -o libmunge_la-enum.o >/dev/null 2>&1 +/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -export-symbols-regex "^munge_.*" -version-info 2:0:0 -Wl,-z,relro -Wl,-z,now -o libmunge.la -rpath /usr/lib/aarch64-linux-gnu libmunge_la-auth_send.lo libmunge_la-ctx.lo libmunge_la-decode.lo libmunge_la-encode.lo libmunge_la-enum.lo libmunge_la-m_msg_client.lo libmunge_la-strerror.lo ../../src/libcommon/libcommon.la libtool: link: /usr/bin/nm -B .libs/libmunge_la-auth_send.o .libs/libmunge_la-ctx.o .libs/libmunge_la-decode.o .libs/libmunge_la-encode.o .libs/libmunge_la-enum.o .libs/libmunge_la-m_msg_client.o .libs/libmunge_la-strerror.o ../../src/libcommon/.libs/libcommon.a | /bin/sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/libmunge.exp libtool: link: /bin/grep -E -e "^munge_.*" ".libs/libmunge.exp" > ".libs/libmunge.expT" libtool: link: mv -f ".libs/libmunge.expT" ".libs/libmunge.exp" @@ -785,31 +821,31 @@ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o munge-xgetgr.o `test -f '../../src/common/xgetgr.c' || echo './'`../../src/common/xgetgr.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o munge-xgetpw.o `test -f '../../src/common/xgetpw.c' || echo './'`../../src/common/xgetpw.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o munge-xsignal.o `test -f '../../src/common/xsignal.c' || echo './'`../../src/common/xsignal.c -gcc -DHAVE_CONFIG_H -I. -I../.. -DWITH_PTHREADS -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o remunge-remunge.o `test -f 'remunge.c' || echo './'`remunge.c make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' make[5]: 'libcommon.la' is up to date. make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' +gcc -DHAVE_CONFIG_H -I. -I../.. -DWITH_PTHREADS -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o remunge-remunge.o `test -f 'remunge.c' || echo './'`remunge.c +make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' +gcc -DHAVE_CONFIG_H -I. -I../.. -DWITH_PTHREADS -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o remunge-query.o `test -f '../../src/common/query.c' || echo './'`../../src/common/query.c make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmissing' make[5]: 'libmissing.la' is up to date. make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -gcc -DHAVE_CONFIG_H -I. -I../.. -DWITH_PTHREADS -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o remunge-query.o `test -f '../../src/common/query.c' || echo './'`../../src/common/query.c -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' gcc -DHAVE_CONFIG_H -I. -I../.. -DWITH_PTHREADS -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o remunge-xgetgr.o `test -f '../../src/common/xgetgr.c' || echo './'`../../src/common/xgetgr.c gcc -DHAVE_CONFIG_H -I. -I../.. -DWITH_PTHREADS -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o remunge-xgetpw.o `test -f '../../src/common/xgetpw.c' || echo './'`../../src/common/xgetpw.c gcc -DHAVE_CONFIG_H -I. -I../.. -DWITH_PTHREADS -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o remunge-xsignal.o `test -f '../../src/common/xsignal.c' || echo './'`../../src/common/xsignal.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o unmunge-unmunge.o `test -f 'unmunge.c' || echo './'`unmunge.c make[6]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o unmunge-read.o `test -f 'read.c' || echo './'`read.c make[6]: 'libcommon.la' is up to date. make[6]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' +gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o unmunge-unmunge.o `test -f 'unmunge.c' || echo './'`unmunge.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o unmunge-read.o `test -f 'read.c' || echo './'`read.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o unmunge-xsignal.o `test -f '../../src/common/xsignal.c' || echo './'`../../src/common/xsignal.c /bin/sed -e 's|[@]bindir[@]|/usr/bin|g' -e 's|[@]datadir[@]|/usr/share|g' -e 's|[@]datarootdir[@]|/usr/share|g' -e 's|[@]docdir[@]|/usr/share/doc/munge|g' -e 's|[@]dvidir[@]|/usr/share/doc/munge|g' -e 's|[@]exec_prefix[@]|/usr|g' -e 's|[@]htmldir[@]|/usr/share/doc/munge|g' -e 's|[@]includedir[@]|/usr/include|g' -e 's|[@]infodir[@]|/usr/share/info|g' -e 's|[@]libdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]libexecdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]localedir[@]|/usr/share/locale|g' -e 's|[@]localstatedir[@]|/var|g' -e 's|[@]mandir[@]|/usr/share/man|g' -e 's|[@]oldincludedir[@]|/usr/include|g' -e 's|[@]pdfdir[@]|/usr/share/doc/munge|g' -e 's|[@]pkgconfigdir[@]|/usr/lib/aarch64-linux-gnu/pkgconfig|g' -e 's|[@]pkgdatadir[@]|/usr/share/munge|g' -e 's|[@]pkgincludedir[@]|/usr/include/munge|g' -e 's|[@]pkglibdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]pkglibexecdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]prefix[@]|/usr|g' -e 's|[@]psdir[@]|/usr/share/doc/munge|g' -e 's|[@]runstatedir[@]|/run|g' -e 's|[@]sbindir[@]|/usr/sbin|g' -e 's|[@]sharedstatedir[@]|/usr/com|g' -e 's|[@]sysconfdir[@]|/etc|g' -e 's|[@]sysconfigdir[@]|/etc/default|g' -e 's|[@]systemdunitdir[@]||g' -e 's|[@]sysvinitddir[@]|/etc/init.d|g' -e 's|[@]DATE[@]|2022-06-22|g' -e 's|[@]PACKAGE[@]|munge|g' -e 's|[@]VERSION[@]|0.5.15|g' < './munge.1.in' > './munge.1' /bin/sed -e 's|[@]bindir[@]|/usr/bin|g' -e 's|[@]datadir[@]|/usr/share|g' -e 's|[@]datarootdir[@]|/usr/share|g' -e 's|[@]docdir[@]|/usr/share/doc/munge|g' -e 's|[@]dvidir[@]|/usr/share/doc/munge|g' -e 's|[@]exec_prefix[@]|/usr|g' -e 's|[@]htmldir[@]|/usr/share/doc/munge|g' -e 's|[@]includedir[@]|/usr/include|g' -e 's|[@]infodir[@]|/usr/share/info|g' -e 's|[@]libdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]libexecdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]localedir[@]|/usr/share/locale|g' -e 's|[@]localstatedir[@]|/var|g' -e 's|[@]mandir[@]|/usr/share/man|g' -e 's|[@]oldincludedir[@]|/usr/include|g' -e 's|[@]pdfdir[@]|/usr/share/doc/munge|g' -e 's|[@]pkgconfigdir[@]|/usr/lib/aarch64-linux-gnu/pkgconfig|g' -e 's|[@]pkgdatadir[@]|/usr/share/munge|g' -e 's|[@]pkgincludedir[@]|/usr/include/munge|g' -e 's|[@]pkglibdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]pkglibexecdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]prefix[@]|/usr|g' -e 's|[@]psdir[@]|/usr/share/doc/munge|g' -e 's|[@]runstatedir[@]|/run|g' -e 's|[@]sbindir[@]|/usr/sbin|g' -e 's|[@]sharedstatedir[@]|/usr/com|g' -e 's|[@]sysconfdir[@]|/etc|g' -e 's|[@]sysconfigdir[@]|/etc/default|g' -e 's|[@]systemdunitdir[@]||g' -e 's|[@]sysvinitddir[@]|/etc/init.d|g' -e 's|[@]DATE[@]|2022-06-22|g' -e 's|[@]PACKAGE[@]|munge|g' -e 's|[@]VERSION[@]|0.5.15|g' < './remunge.1.in' > './remunge.1' /bin/sed -e 's|[@]bindir[@]|/usr/bin|g' -e 's|[@]datadir[@]|/usr/share|g' -e 's|[@]datarootdir[@]|/usr/share|g' -e 's|[@]docdir[@]|/usr/share/doc/munge|g' -e 's|[@]dvidir[@]|/usr/share/doc/munge|g' -e 's|[@]exec_prefix[@]|/usr|g' -e 's|[@]htmldir[@]|/usr/share/doc/munge|g' -e 's|[@]includedir[@]|/usr/include|g' -e 's|[@]infodir[@]|/usr/share/info|g' -e 's|[@]libdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]libexecdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]localedir[@]|/usr/share/locale|g' -e 's|[@]localstatedir[@]|/var|g' -e 's|[@]mandir[@]|/usr/share/man|g' -e 's|[@]oldincludedir[@]|/usr/include|g' -e 's|[@]pdfdir[@]|/usr/share/doc/munge|g' -e 's|[@]pkgconfigdir[@]|/usr/lib/aarch64-linux-gnu/pkgconfig|g' -e 's|[@]pkgdatadir[@]|/usr/share/munge|g' -e 's|[@]pkgincludedir[@]|/usr/include/munge|g' -e 's|[@]pkglibdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]pkglibexecdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]prefix[@]|/usr|g' -e 's|[@]psdir[@]|/usr/share/doc/munge|g' -e 's|[@]runstatedir[@]|/run|g' -e 's|[@]sbindir[@]|/usr/sbin|g' -e 's|[@]sharedstatedir[@]|/usr/com|g' -e 's|[@]sysconfdir[@]|/etc|g' -e 's|[@]sysconfigdir[@]|/etc/default|g' -e 's|[@]systemdunitdir[@]||g' -e 's|[@]sysvinitddir[@]|/etc/init.d|g' -e 's|[@]DATE[@]|2022-06-22|g' -e 's|[@]PACKAGE[@]|munge|g' -e 's|[@]VERSION[@]|0.5.15|g' < './unmunge.1.in' > './unmunge.1' -/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o munge munge-munge.o munge-read.o munge-query.o munge-xgetgr.o munge-xgetpw.o munge-xsignal.o ../../src/libcommon/libcommon.la ../../src/libmissing/libmissing.la ../../src/libmunge/libmunge.la -/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o unmunge unmunge-unmunge.o unmunge-read.o unmunge-xsignal.o ../../src/libcommon/libcommon.la ../../src/libmissing/libmissing.la ../../src/libmunge/libmunge.la -/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o remunge remunge-remunge.o remunge-query.o remunge-xgetgr.o remunge-xgetpw.o remunge-xsignal.o ../../src/libcommon/libcommon.la ../../src/libmissing/libmissing.la ../../src/libmunge/libmunge.la -lpthread +/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o munge munge-munge.o munge-read.o munge-query.o munge-xgetgr.o munge-xgetpw.o munge-xsignal.o ../../src/libcommon/libcommon.la ../../src/libmissing/libmissing.la ../../src/libmunge/libmunge.la +/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o unmunge unmunge-unmunge.o unmunge-read.o unmunge-xsignal.o ../../src/libcommon/libcommon.la ../../src/libmissing/libmissing.la ../../src/libmunge/libmunge.la +/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o remunge remunge-remunge.o remunge-query.o remunge-xgetgr.o remunge-xgetpw.o remunge-xsignal.o ../../src/libcommon/libcommon.la ../../src/libmissing/libmissing.la ../../src/libmunge/libmunge.la -lpthread libtool: link: gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/munge munge-munge.o munge-read.o munge-query.o munge-xgetgr.o munge-xgetpw.o munge-xsignal.o ../../src/libcommon/.libs/libcommon.a ../../src/libmissing/.libs/libmissing.a ../../src/libmunge/.libs/libmunge.so libtool: link: gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/unmunge unmunge-unmunge.o unmunge-read.o unmunge-xsignal.o ../../src/libcommon/.libs/libcommon.a ../../src/libmissing/.libs/libmissing.a ../../src/libmunge/.libs/libmunge.so libtool: link: gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/remunge remunge-remunge.o remunge-query.o remunge-xgetgr.o remunge-xgetpw.o remunge-xsignal.o ../../src/libcommon/.libs/libcommon.a ../../src/libmissing/.libs/libmissing.a ../../src/libmunge/.libs/libmunge.so -lpthread @@ -846,19 +882,19 @@ gcc -DHAVE_CONFIG_H -I. -I../.. -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -DWITH_PTHREADS -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o munged-xgetgr.o `test -f '../../src/common/xgetgr.c' || echo './'`../../src/common/xgetgr.c gcc -DHAVE_CONFIG_H -I. -I../.. -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -DWITH_PTHREADS -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o munged-xgetpw.o `test -f '../../src/common/xgetpw.c' || echo './'`../../src/common/xgetpw.c gcc -DHAVE_CONFIG_H -I. -I../.. -DLOCALSTATEDIR='"/var"' -DRUNSTATEDIR='"/run"' -DSYSCONFDIR='"/etc"' -DWITH_PTHREADS -I../../src/common -I../../src/libcommon -I../../src/libmissing -I../../src/libmunge -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o munged-xsignal.o `test -f '../../src/common/xsignal.c' || echo './'`../../src/common/xsignal.c +/bin/sed -e 's|[@]bindir[@]|/usr/bin|g' -e 's|[@]datadir[@]|/usr/share|g' -e 's|[@]datarootdir[@]|/usr/share|g' -e 's|[@]docdir[@]|/usr/share/doc/munge|g' -e 's|[@]dvidir[@]|/usr/share/doc/munge|g' -e 's|[@]exec_prefix[@]|/usr|g' -e 's|[@]htmldir[@]|/usr/share/doc/munge|g' -e 's|[@]includedir[@]|/usr/include|g' -e 's|[@]infodir[@]|/usr/share/info|g' -e 's|[@]libdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]libexecdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]localedir[@]|/usr/share/locale|g' -e 's|[@]localstatedir[@]|/var|g' -e 's|[@]mandir[@]|/usr/share/man|g' -e 's|[@]oldincludedir[@]|/usr/include|g' -e 's|[@]pdfdir[@]|/usr/share/doc/munge|g' -e 's|[@]pkgconfigdir[@]|/usr/lib/aarch64-linux-gnu/pkgconfig|g' -e 's|[@]pkgdatadir[@]|/usr/share/munge|g' -e 's|[@]pkgincludedir[@]|/usr/include/munge|g' -e 's|[@]pkglibdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]pkglibexecdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]prefix[@]|/usr|g' -e 's|[@]psdir[@]|/usr/share/doc/munge|g' -e 's|[@]runstatedir[@]|/run|g' -e 's|[@]sbindir[@]|/usr/sbin|g' -e 's|[@]sharedstatedir[@]|/usr/com|g' -e 's|[@]sysconfdir[@]|/etc|g' -e 's|[@]sysconfigdir[@]|/etc/default|g' -e 's|[@]systemdunitdir[@]||g' -e 's|[@]sysvinitddir[@]|/etc/init.d|g' -e 's|[@]DATE[@]|2022-06-22|g' -e 's|[@]PACKAGE[@]|munge|g' -e 's|[@]VERSION[@]|0.5.15|g' < './munged.8.in' > './munged.8' make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' make[5]: 'libcommon.la' is up to date. make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -/bin/sed -e 's|[@]bindir[@]|/usr/bin|g' -e 's|[@]datadir[@]|/usr/share|g' -e 's|[@]datarootdir[@]|/usr/share|g' -e 's|[@]docdir[@]|/usr/share/doc/munge|g' -e 's|[@]dvidir[@]|/usr/share/doc/munge|g' -e 's|[@]exec_prefix[@]|/usr|g' -e 's|[@]htmldir[@]|/usr/share/doc/munge|g' -e 's|[@]includedir[@]|/usr/include|g' -e 's|[@]infodir[@]|/usr/share/info|g' -e 's|[@]libdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]libexecdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]localedir[@]|/usr/share/locale|g' -e 's|[@]localstatedir[@]|/var|g' -e 's|[@]mandir[@]|/usr/share/man|g' -e 's|[@]oldincludedir[@]|/usr/include|g' -e 's|[@]pdfdir[@]|/usr/share/doc/munge|g' -e 's|[@]pkgconfigdir[@]|/usr/lib/aarch64-linux-gnu/pkgconfig|g' -e 's|[@]pkgdatadir[@]|/usr/share/munge|g' -e 's|[@]pkgincludedir[@]|/usr/include/munge|g' -e 's|[@]pkglibdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]pkglibexecdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]prefix[@]|/usr|g' -e 's|[@]psdir[@]|/usr/share/doc/munge|g' -e 's|[@]runstatedir[@]|/run|g' -e 's|[@]sbindir[@]|/usr/sbin|g' -e 's|[@]sharedstatedir[@]|/usr/com|g' -e 's|[@]sysconfdir[@]|/etc|g' -e 's|[@]sysconfigdir[@]|/etc/default|g' -e 's|[@]systemdunitdir[@]||g' -e 's|[@]sysvinitddir[@]|/etc/init.d|g' -e 's|[@]DATE[@]|2022-06-22|g' -e 's|[@]PACKAGE[@]|munge|g' -e 's|[@]VERSION[@]|0.5.15|g' < './munged.8.in' > './munged.8' +make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmissing' make[5]: 'libmissing.la' is up to date. make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' make[6]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' make[6]: 'libcommon.la' is up to date. make[6]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o munged munged-munged.o munged-auth_recv.o munged-base64.o munged-cipher.o munged-clock.o munged-conf.o munged-cred.o munged-dec.o munged-enc.o munged-gids.o munged-hash.o munged-job.o munged-lock.o munged-net.o munged-path.o munged-random.o munged-replay.o munged-thread.o munged-timer.o munged-work.o munged-zip.o munged-crypto.o munged-entropy.o munged-mac.o munged-md.o munged-query.o munged-rotate.o munged-xgetgr.o munged-xgetpw.o munged-xsignal.o ../../src/libcommon/libcommon.la ../../src/libmissing/libmissing.la ../../src/libmunge/libmunge.la -lpthread -lbz2 -lz -L/usr/lib/aarch64-linux-gnu -lgcrypt +/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o munged munged-munged.o munged-auth_recv.o munged-base64.o munged-cipher.o munged-clock.o munged-conf.o munged-cred.o munged-dec.o munged-enc.o munged-gids.o munged-hash.o munged-job.o munged-lock.o munged-net.o munged-path.o munged-random.o munged-replay.o munged-thread.o munged-timer.o munged-work.o munged-zip.o munged-crypto.o munged-entropy.o munged-mac.o munged-md.o munged-query.o munged-rotate.o munged-xgetgr.o munged-xgetpw.o munged-xsignal.o ../../src/libcommon/libcommon.la ../../src/libmissing/libmissing.la ../../src/libmunge/libmunge.la -lpthread -lbz2 -lz -L/usr/lib/aarch64-linux-gnu -lgcrypt libtool: link: gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/munged munged-munged.o munged-auth_recv.o munged-base64.o munged-cipher.o munged-clock.o munged-conf.o munged-cred.o munged-dec.o munged-enc.o munged-gids.o munged-hash.o munged-job.o munged-lock.o munged-net.o munged-path.o munged-random.o munged-replay.o munged-thread.o munged-timer.o munged-work.o munged-zip.o munged-crypto.o munged-entropy.o munged-mac.o munged-md.o munged-query.o munged-rotate.o munged-xgetgr.o munged-xgetpw.o munged-xsignal.o ../../src/libcommon/.libs/libcommon.a ../../src/libmissing/.libs/libmissing.a ../../src/libmunge/.libs/libmunge.so -lpthread -lbz2 -lz -L/usr/lib/aarch64-linux-gnu -lgcrypt make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/munged' Making all in mungekey @@ -876,16 +912,16 @@ make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' make[5]: 'libcommon.la' is up to date. make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -/bin/sed -e 's|[@]bindir[@]|/usr/bin|g' -e 's|[@]datadir[@]|/usr/share|g' -e 's|[@]datarootdir[@]|/usr/share|g' -e 's|[@]docdir[@]|/usr/share/doc/munge|g' -e 's|[@]dvidir[@]|/usr/share/doc/munge|g' -e 's|[@]exec_prefix[@]|/usr|g' -e 's|[@]htmldir[@]|/usr/share/doc/munge|g' -e 's|[@]includedir[@]|/usr/include|g' -e 's|[@]infodir[@]|/usr/share/info|g' -e 's|[@]libdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]libexecdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]localedir[@]|/usr/share/locale|g' -e 's|[@]localstatedir[@]|/var|g' -e 's|[@]mandir[@]|/usr/share/man|g' -e 's|[@]oldincludedir[@]|/usr/include|g' -e 's|[@]pdfdir[@]|/usr/share/doc/munge|g' -e 's|[@]pkgconfigdir[@]|/usr/lib/aarch64-linux-gnu/pkgconfig|g' -e 's|[@]pkgdatadir[@]|/usr/share/munge|g' -e 's|[@]pkgincludedir[@]|/usr/include/munge|g' -e 's|[@]pkglibdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]pkglibexecdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]prefix[@]|/usr|g' -e 's|[@]psdir[@]|/usr/share/doc/munge|g' -e 's|[@]runstatedir[@]|/run|g' -e 's|[@]sbindir[@]|/usr/sbin|g' -e 's|[@]sharedstatedir[@]|/usr/com|g' -e 's|[@]sysconfdir[@]|/etc|g' -e 's|[@]sysconfigdir[@]|/etc/default|g' -e 's|[@]systemdunitdir[@]||g' -e 's|[@]sysvinitddir[@]|/etc/init.d|g' -e 's|[@]DATE[@]|2022-06-22|g' -e 's|[@]PACKAGE[@]|munge|g' -e 's|[@]VERSION[@]|0.5.15|g' < './mungekey.8.in' > './mungekey.8' make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmissing' make[5]: 'libmissing.la' is up to date. make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmissing' +/bin/sed -e 's|[@]bindir[@]|/usr/bin|g' -e 's|[@]datadir[@]|/usr/share|g' -e 's|[@]datarootdir[@]|/usr/share|g' -e 's|[@]docdir[@]|/usr/share/doc/munge|g' -e 's|[@]dvidir[@]|/usr/share/doc/munge|g' -e 's|[@]exec_prefix[@]|/usr|g' -e 's|[@]htmldir[@]|/usr/share/doc/munge|g' -e 's|[@]includedir[@]|/usr/include|g' -e 's|[@]infodir[@]|/usr/share/info|g' -e 's|[@]libdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]libexecdir[@]|/usr/lib/aarch64-linux-gnu|g' -e 's|[@]localedir[@]|/usr/share/locale|g' -e 's|[@]localstatedir[@]|/var|g' -e 's|[@]mandir[@]|/usr/share/man|g' -e 's|[@]oldincludedir[@]|/usr/include|g' -e 's|[@]pdfdir[@]|/usr/share/doc/munge|g' -e 's|[@]pkgconfigdir[@]|/usr/lib/aarch64-linux-gnu/pkgconfig|g' -e 's|[@]pkgdatadir[@]|/usr/share/munge|g' -e 's|[@]pkgincludedir[@]|/usr/include/munge|g' -e 's|[@]pkglibdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]pkglibexecdir[@]|/usr/lib/aarch64-linux-gnu/munge|g' -e 's|[@]prefix[@]|/usr|g' -e 's|[@]psdir[@]|/usr/share/doc/munge|g' -e 's|[@]runstatedir[@]|/run|g' -e 's|[@]sbindir[@]|/usr/sbin|g' -e 's|[@]sharedstatedir[@]|/usr/com|g' -e 's|[@]sysconfdir[@]|/etc|g' -e 's|[@]sysconfigdir[@]|/etc/default|g' -e 's|[@]systemdunitdir[@]||g' -e 's|[@]sysvinitddir[@]|/etc/init.d|g' -e 's|[@]DATE[@]|2022-06-22|g' -e 's|[@]PACKAGE[@]|munge|g' -e 's|[@]VERSION[@]|0.5.15|g' < './mungekey.8.in' > './mungekey.8' make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' make[6]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' make[6]: 'libcommon.la' is up to date. make[6]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o mungekey mungekey-mungekey.o mungekey-conf.o mungekey-key.o mungekey-crypto.o mungekey-entropy.o mungekey-hkdf.o mungekey-mac.o mungekey-md.o mungekey-rotate.o mungekey-xsignal.o ../../src/libcommon/libcommon.la ../../src/libmissing/libmissing.la ../../src/libmunge/libmunge.la -L/usr/lib/aarch64-linux-gnu -lgcrypt +/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o mungekey mungekey-mungekey.o mungekey-conf.o mungekey-key.o mungekey-crypto.o mungekey-entropy.o mungekey-hkdf.o mungekey-mac.o mungekey-md.o mungekey-rotate.o mungekey-xsignal.o ../../src/libcommon/libcommon.la ../../src/libmissing/libmissing.la ../../src/libmunge/libmunge.la -L/usr/lib/aarch64-linux-gnu -lgcrypt libtool: link: gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/mungekey mungekey-mungekey.o mungekey-conf.o mungekey-key.o mungekey-crypto.o mungekey-entropy.o mungekey-hkdf.o mungekey-mac.o mungekey-md.o mungekey-rotate.o mungekey-xsignal.o ../../src/libcommon/.libs/libcommon.a ../../src/libmissing/.libs/libmissing.a ../../src/libmunge/.libs/libmunge.so -L/usr/lib/aarch64-linux-gnu -lgcrypt make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/mungekey' make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src' @@ -925,28 +961,28 @@ make[7]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' make[6]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' make[6]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libtap' -/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libtap_la-tap.lo `test -f 'tap.c' || echo './'`tap.c +/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libtap_la-tap.lo `test -f 'tap.c' || echo './'`tap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c tap.c -fPIC -DPIC -o .libs/libtap_la-tap.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_BSD_SOURCE -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c tap.c -o libtap_la-tap.o >/dev/null 2>&1 -/bin/bash ../../libtool --tag=CC --mode=link gcc -D_BSD_SOURCE -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o libtap.la libtap_la-tap.lo +/bin/sh ../../libtool --tag=CC --mode=link gcc -D_BSD_SOURCE -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o libtap.la libtap_la-tap.lo libtool: link: ar cr .libs/libtap.a .libs/libtap_la-tap.o libtool: link: ranlib .libs/libtap.a libtool: link: ( cd ".libs" && rm -f "libtap.la" && ln -s "../libtap.la" "libtap.la" ) make[6]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libtap' -/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o hkdf_api_test hkdf_api_test-crypto.o hkdf_api_test-hkdf.o hkdf_api_test-mac.o hkdf_api_test-md.o hkdf_api_test-hkdf_api_test.o ../../src/libcommon/libcommon.la ../../src/libmunge/libmunge.la ../../src/libtap/libtap.la -L/usr/lib/aarch64-linux-gnu -lgcrypt +/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o hkdf_api_test hkdf_api_test-crypto.o hkdf_api_test-hkdf.o hkdf_api_test-mac.o hkdf_api_test-md.o hkdf_api_test-hkdf_api_test.o ../../src/libcommon/libcommon.la ../../src/libmunge/libmunge.la ../../src/libtap/libtap.la -L/usr/lib/aarch64-linux-gnu -lgcrypt libtool: link: gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/hkdf_api_test hkdf_api_test-crypto.o hkdf_api_test-hkdf.o hkdf_api_test-mac.o hkdf_api_test-md.o hkdf_api_test-hkdf_api_test.o ../../src/libcommon/.libs/libcommon.a ../../src/libmunge/.libs/libmunge.so ../../src/libtap/.libs/libtap.a -L/usr/lib/aarch64-linux-gnu -lgcrypt gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libcommon -I../../src/libmunge -I../../src/libtap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hkdf_rfc_test-crypto.o `test -f 'crypto.c' || echo './'`crypto.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libcommon -I../../src/libmunge -I../../src/libtap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hkdf_rfc_test-hkdf.o `test -f 'hkdf.c' || echo './'`hkdf.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libcommon -I../../src/libmunge -I../../src/libtap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hkdf_rfc_test-mac.o `test -f 'mac.c' || echo './'`mac.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libcommon -I../../src/libmunge -I../../src/libtap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hkdf_rfc_test-md.o `test -f 'md.c' || echo './'`md.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libcommon -I../../src/libmunge -I../../src/libtap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o hkdf_rfc_test-hkdf_rfc_test.o `test -f 'hkdf_rfc_test.c' || echo './'`hkdf_rfc_test.c -/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o hkdf_rfc_test hkdf_rfc_test-crypto.o hkdf_rfc_test-hkdf.o hkdf_rfc_test-mac.o hkdf_rfc_test-md.o hkdf_rfc_test-hkdf_rfc_test.o ../../src/libcommon/libcommon.la ../../src/libmunge/libmunge.la ../../src/libtap/libtap.la -L/usr/lib/aarch64-linux-gnu -lgcrypt +/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o hkdf_rfc_test hkdf_rfc_test-crypto.o hkdf_rfc_test-hkdf.o hkdf_rfc_test-mac.o hkdf_rfc_test-md.o hkdf_rfc_test-hkdf_rfc_test.o ../../src/libcommon/libcommon.la ../../src/libmunge/libmunge.la ../../src/libtap/libtap.la -L/usr/lib/aarch64-linux-gnu -lgcrypt libtool: link: gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/hkdf_rfc_test hkdf_rfc_test-crypto.o hkdf_rfc_test-hkdf.o hkdf_rfc_test-mac.o hkdf_rfc_test-md.o hkdf_rfc_test-hkdf_rfc_test.o ../../src/libcommon/.libs/libcommon.a ../../src/libmunge/.libs/libmunge.so ../../src/libtap/.libs/libtap.a -L/usr/lib/aarch64-linux-gnu -lgcrypt gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libcommon -I../../src/libmunge -I../../src/libtap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mac_test-crypto.o `test -f 'crypto.c' || echo './'`crypto.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libcommon -I../../src/libmunge -I../../src/libtap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mac_test-mac.o `test -f 'mac.c' || echo './'`mac.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libcommon -I../../src/libmunge -I../../src/libtap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mac_test-md.o `test -f 'md.c' || echo './'`md.c gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libcommon -I../../src/libmunge -I../../src/libtap -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mac_test-mac_test.o `test -f 'mac_test.c' || echo './'`mac_test.c -/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o mac_test mac_test-crypto.o mac_test-mac.o mac_test-md.o mac_test-mac_test.o ../../src/libcommon/libcommon.la ../../src/libmunge/libmunge.la ../../src/libtap/libtap.la -L/usr/lib/aarch64-linux-gnu -lgcrypt +/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o mac_test mac_test-crypto.o mac_test-mac.o mac_test-md.o mac_test-mac_test.o ../../src/libcommon/libcommon.la ../../src/libmunge/libmunge.la ../../src/libtap/libtap.la -L/usr/lib/aarch64-linux-gnu -lgcrypt libtool: link: gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/mac_test mac_test-crypto.o mac_test-mac.o mac_test-md.o mac_test-mac_test.o ../../src/libcommon/.libs/libcommon.a ../../src/libmunge/.libs/libmunge.so ../../src/libtap/.libs/libtap.a -L/usr/lib/aarch64-linux-gnu -lgcrypt make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/common' make check-TESTS @@ -1050,7 +1086,7 @@ make[6]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libtap' make[6]: 'libtap.la' is up to date. make[6]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libtap' -/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o base64_test base64_test-base64.o base64_test-base64_test.o ../../src/libtap/libtap.la +/bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o base64_test base64_test-base64.o base64_test-base64_test.o ../../src/libtap/libtap.la libtool: link: gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/munge-0.5.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o base64_test base64_test-base64.o base64_test-base64_test.o ../../src/libtap/.libs/libtap.a make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/munged' make check-TESTS @@ -1110,23 +1146,24 @@ PASS: 0010-basic.t 1 - setup PASS: 0010-basic.t 2 - create key PASS: 0010-basic.t 3 - check keyfile creation -PASS: 0010-basic.t 4 - start munged -PASS: 0010-basic.t 5 - check pidfile creation -PASS: 0010-basic.t 6 - check process is running -PASS: 0010-basic.t 7 - check socket creation +FAIL: 0010-basic.t 4 - start munged +FAIL: 0010-basic.t 5 - check pidfile creation +FAIL: 0010-basic.t 6 - check process is running +FAIL: 0010-basic.t 7 - check socket creation PASS: 0010-basic.t 8 - check logfile creation -PASS: 0010-basic.t 9 - encode credential -PASS: 0010-basic.t 10 - examine credential -PASS: 0010-basic.t 11 - decode credential +FAIL: 0010-basic.t 9 - encode credential +FAIL: 0010-basic.t 10 - examine credential +FAIL: 0010-basic.t 11 - decode credential PASS: 0010-basic.t 12 - replay credential -PASS: 0010-basic.t 13 - check logfile for replay -PASS: 0010-basic.t 14 - stop munged +FAIL: 0010-basic.t 13 - check logfile for replay +FAIL: 0010-basic.t 14 - stop munged PASS: 0010-basic.t 15 - check socket removal -PASS: 0010-basic.t 16 - check process has exited +FAIL: 0010-basic.t 16 - check process has exited PASS: 0010-basic.t 17 - check pidfile removal -PASS: 0010-basic.t 18 - check seedfile creation -PASS: 0010-basic.t 19 - check logfile for stop +FAIL: 0010-basic.t 18 - check seedfile creation +FAIL: 0010-basic.t 19 - check logfile for stop PASS: 0010-basic.t 20 - cleanup +ERROR: 0010-basic.t - exited with status 1 PASS: 0011-munged-cmdline.t 1 - setup PASS: 0011-munged-cmdline.t 2 - munged invalid option PASS: 0011-munged-cmdline.t 3 - munged -h @@ -1135,15 +1172,16 @@ PASS: 0011-munged-cmdline.t 6 - munged --license PASS: 0011-munged-cmdline.t 7 - munged -V PASS: 0011-munged-cmdline.t 8 - munged --version -PASS: 0011-munged-cmdline.t 9 - munged -s -PASS: 0011-munged-cmdline.t 10 - munged --stop +FAIL: 0011-munged-cmdline.t 9 - munged -s +FAIL: 0011-munged-cmdline.t 10 - munged --stop PASS: 0011-munged-cmdline.t 11 - munged --stop for missing socket -PASS: 0011-munged-cmdline.t 12 - munged -v -PASS: 0011-munged-cmdline.t 13 - munged --verbose -PASS: 0011-munged-cmdline.t 14 - munged seedfile creation with relative pathname -PASS: 0011-munged-cmdline.t 15 - munged socket cleanup with relative pathname +FAIL: 0011-munged-cmdline.t 12 - munged -v +FAIL: 0011-munged-cmdline.t 13 - munged --verbose +FAIL: 0011-munged-cmdline.t 14 - munged seedfile creation with relative pathname +FAIL: 0011-munged-cmdline.t 15 - munged socket cleanup with relative pathname XFAIL: 0011-munged-cmdline.t 16 - finish writing tests # TODO known breakage PASS: 0011-munged-cmdline.t 17 - cleanup +ERROR: 0011-munged-cmdline.t - exited with status 1 PASS: 0012-munge-cmdline.t 1 - munge invalid option PASS: 0012-munge-cmdline.t 2 - munge -h PASS: 0012-munge-cmdline.t 3 - munge --help @@ -1151,96 +1189,97 @@ PASS: 0012-munge-cmdline.t 5 - munge --license PASS: 0012-munge-cmdline.t 6 - munge -V PASS: 0012-munge-cmdline.t 7 - munge --version -PASS: 0012-munge-cmdline.t 8 - start munged -PASS: 0012-munge-cmdline.t 9 - munge -S -PASS: 0012-munge-cmdline.t 10 - munge --socket +FAIL: 0012-munge-cmdline.t 8 - start munged +FAIL: 0012-munge-cmdline.t 9 - munge -S +FAIL: 0012-munge-cmdline.t 10 - munge --socket PASS: 0012-munge-cmdline.t 11 - munge --socket for missing socket PASS: 0012-munge-cmdline.t 12 - munge --socket for invalid socket (file) PASS: 0012-munge-cmdline.t 13 - munge --socket for invalid socket (directory) -PASS: 0012-munge-cmdline.t 14 - munge reading from stdin -PASS: 0012-munge-cmdline.t 15 - munge reading from /dev/null -PASS: 0012-munge-cmdline.t 16 - munge -n -PASS: 0012-munge-cmdline.t 17 - munge --no-input -PASS: 0012-munge-cmdline.t 18 - munge -s -PASS: 0012-munge-cmdline.t 19 - munge --string -PASS: 0012-munge-cmdline.t 20 - munge -i -PASS: 0012-munge-cmdline.t 21 - munge --input -PASS: 0012-munge-cmdline.t 22 - munge --input from stdin via "-" -PASS: 0012-munge-cmdline.t 23 - munge --input from /dev/null +FAIL: 0012-munge-cmdline.t 14 - munge reading from stdin +FAIL: 0012-munge-cmdline.t 15 - munge reading from /dev/null +FAIL: 0012-munge-cmdline.t 16 - munge -n +FAIL: 0012-munge-cmdline.t 17 - munge --no-input +FAIL: 0012-munge-cmdline.t 18 - munge -s +FAIL: 0012-munge-cmdline.t 19 - munge --string +FAIL: 0012-munge-cmdline.t 20 - munge -i +FAIL: 0012-munge-cmdline.t 21 - munge --input +FAIL: 0012-munge-cmdline.t 22 - munge --input from stdin via "-" +FAIL: 0012-munge-cmdline.t 23 - munge --input from /dev/null PASS: 0012-munge-cmdline.t 24 - munge --input from missing file -PASS: 0012-munge-cmdline.t 25 - munge -o -PASS: 0012-munge-cmdline.t 26 - munge --output -PASS: 0012-munge-cmdline.t 27 - munge --output to stdout via "-" -PASS: 0012-munge-cmdline.t 28 - munge --output to /dev/null +FAIL: 0012-munge-cmdline.t 25 - munge -o +FAIL: 0012-munge-cmdline.t 26 - munge --output +FAIL: 0012-munge-cmdline.t 27 - munge --output to stdout via "-" +FAIL: 0012-munge-cmdline.t 28 - munge --output to /dev/null PASS: 0012-munge-cmdline.t 29 - munge -C PASS: 0012-munge-cmdline.t 30 - munge --list-ciphers -PASS: 0012-munge-cmdline.t 31 - munge -c for default by name -PASS: 0012-munge-cmdline.t 32 - munge --cipher for default by name -PASS: 0012-munge-cmdline.t 33 - munge --cipher for default by number -PASS: 0012-munge-cmdline.t 34 - munge --cipher for none by name -PASS: 0012-munge-cmdline.t 35 - munge --cipher for none by number +FAIL: 0012-munge-cmdline.t 31 - munge -c for default by name +FAIL: 0012-munge-cmdline.t 32 - munge --cipher for default by name +FAIL: 0012-munge-cmdline.t 33 - munge --cipher for default by number +FAIL: 0012-munge-cmdline.t 34 - munge --cipher for none by name +FAIL: 0012-munge-cmdline.t 35 - munge --cipher for none by number PASS: 0012-munge-cmdline.t 36 - munge --cipher for invalid name PASS: 0012-munge-cmdline.t 37 - munge --cipher for invalid positive number PASS: 0012-munge-cmdline.t 38 - munge --cipher for invalid negative number -PASS: 0012-munge-cmdline.t 39 - munge --cipher for each cipher by name -PASS: 0012-munge-cmdline.t 40 - munge --cipher for each cipher by number +FAIL: 0012-munge-cmdline.t 39 - munge --cipher for each cipher by name +FAIL: 0012-munge-cmdline.t 40 - munge --cipher for each cipher by number PASS: 0012-munge-cmdline.t 41 - munge -M PASS: 0012-munge-cmdline.t 42 - munge --list-macs -PASS: 0012-munge-cmdline.t 43 - munge -m for default by name -PASS: 0012-munge-cmdline.t 44 - munge --mac for default by name -PASS: 0012-munge-cmdline.t 45 - munge --mac for default by number +FAIL: 0012-munge-cmdline.t 43 - munge -m for default by name +FAIL: 0012-munge-cmdline.t 44 - munge --mac for default by name +FAIL: 0012-munge-cmdline.t 45 - munge --mac for default by number PASS: 0012-munge-cmdline.t 46 - munge --mac for none by name PASS: 0012-munge-cmdline.t 47 - munge --mac for none by number PASS: 0012-munge-cmdline.t 48 - munge --mac for invalid name PASS: 0012-munge-cmdline.t 49 - munge --mac for invalid positive number PASS: 0012-munge-cmdline.t 50 - munge --mac for invalid negative number -PASS: 0012-munge-cmdline.t 51 - munge --mac for each mac by name -PASS: 0012-munge-cmdline.t 52 - munge --mac for each mac by number +FAIL: 0012-munge-cmdline.t 51 - munge --mac for each mac by name +FAIL: 0012-munge-cmdline.t 52 - munge --mac for each mac by number PASS: 0012-munge-cmdline.t 53 - munge -Z PASS: 0012-munge-cmdline.t 54 - munge --list-zips -PASS: 0012-munge-cmdline.t 55 - munge -z for default by name -PASS: 0012-munge-cmdline.t 56 - munge --zip for default by name -PASS: 0012-munge-cmdline.t 57 - munge --zip for default by number -PASS: 0012-munge-cmdline.t 58 - munge --zip for none by name -PASS: 0012-munge-cmdline.t 59 - munge --zip for none by number +FAIL: 0012-munge-cmdline.t 55 - munge -z for default by name +FAIL: 0012-munge-cmdline.t 56 - munge --zip for default by name +FAIL: 0012-munge-cmdline.t 57 - munge --zip for default by number +FAIL: 0012-munge-cmdline.t 58 - munge --zip for none by name +FAIL: 0012-munge-cmdline.t 59 - munge --zip for none by number PASS: 0012-munge-cmdline.t 60 - munge --zip for invalid name PASS: 0012-munge-cmdline.t 61 - munge --zip for invalid positive number PASS: 0012-munge-cmdline.t 62 - munge --zip for invalid negative number -PASS: 0012-munge-cmdline.t 63 - munge --zip for each zip by name -PASS: 0012-munge-cmdline.t 64 - munge --zip for each zip by number -PASS: 0012-munge-cmdline.t 65 - munge -u by name -PASS: 0012-munge-cmdline.t 66 - munge --restrict-uid by name -PASS: 0012-munge-cmdline.t 67 - munge --restrict-uid by number +FAIL: 0012-munge-cmdline.t 63 - munge --zip for each zip by name +FAIL: 0012-munge-cmdline.t 64 - munge --zip for each zip by number +FAIL: 0012-munge-cmdline.t 65 - munge -u by name +FAIL: 0012-munge-cmdline.t 66 - munge --restrict-uid by name +FAIL: 0012-munge-cmdline.t 67 - munge --restrict-uid by number PASS: 0012-munge-cmdline.t 68 - munge --restrict-uid for invalid name PASS: 0012-munge-cmdline.t 69 - munge --restrict-uid for invalid number -PASS: 0012-munge-cmdline.t 70 - munge -U for effective user by name -PASS: 0012-munge-cmdline.t 71 - munge --uid for effective user by name -PASS: 0012-munge-cmdline.t 72 - munge --uid for effective user by number +FAIL: 0012-munge-cmdline.t 70 - munge -U for effective user by name +FAIL: 0012-munge-cmdline.t 71 - munge --uid for effective user by name +FAIL: 0012-munge-cmdline.t 72 - munge --uid for effective user by number SKIP: 0012-munge-cmdline.t 73 # SKIP munge --uid for root user by name via sudo (missing SUDO) SKIP: 0012-munge-cmdline.t 74 # SKIP munge --uid for root user by number via sudo (missing SUDO) PASS: 0012-munge-cmdline.t 75 - munge --uid for invalid name PASS: 0012-munge-cmdline.t 76 - munge --uid for invalid number -PASS: 0012-munge-cmdline.t 77 - munge -g by name -PASS: 0012-munge-cmdline.t 78 - munge --restrict-gid by name -PASS: 0012-munge-cmdline.t 79 - munge --restrict-gid by number +FAIL: 0012-munge-cmdline.t 77 - munge -g by name +FAIL: 0012-munge-cmdline.t 78 - munge --restrict-gid by name +FAIL: 0012-munge-cmdline.t 79 - munge --restrict-gid by number PASS: 0012-munge-cmdline.t 80 - munge --restrict-gid for invalid name PASS: 0012-munge-cmdline.t 81 - munge --restrict-gid for invalid number -PASS: 0012-munge-cmdline.t 82 - munge -G for effective group by name -PASS: 0012-munge-cmdline.t 83 - munge --gid for effective group by name -PASS: 0012-munge-cmdline.t 84 - munge --gid for effective group by number +FAIL: 0012-munge-cmdline.t 82 - munge -G for effective group by name +FAIL: 0012-munge-cmdline.t 83 - munge --gid for effective group by name +FAIL: 0012-munge-cmdline.t 84 - munge --gid for effective group by number SKIP: 0012-munge-cmdline.t 85 # SKIP munge --gid for root group by name via sudo (missing SUDO) SKIP: 0012-munge-cmdline.t 86 # SKIP munge --gid for root group by number via sudo (missing SUDO) PASS: 0012-munge-cmdline.t 87 - munge --gid for invalid name PASS: 0012-munge-cmdline.t 88 - munge --gid for invalid number -PASS: 0012-munge-cmdline.t 89 - munge -t for default value -PASS: 0012-munge-cmdline.t 90 - munge --ttl for default value -PASS: 0012-munge-cmdline.t 91 - munge --ttl for maximum value -PASS: 0012-munge-cmdline.t 92 - munge --ttl for non-default value +FAIL: 0012-munge-cmdline.t 89 - munge -t for default value +FAIL: 0012-munge-cmdline.t 90 - munge --ttl for default value +FAIL: 0012-munge-cmdline.t 91 - munge --ttl for maximum value +FAIL: 0012-munge-cmdline.t 92 - munge --ttl for non-default value PASS: 0012-munge-cmdline.t 93 - munge --ttl for invalid string value PASS: 0012-munge-cmdline.t 94 - munge --ttl for invalid positive number PASS: 0012-munge-cmdline.t 95 - munge --ttl for invalid negative number -PASS: 0012-munge-cmdline.t 96 - stop munged +FAIL: 0012-munge-cmdline.t 96 - stop munged PASS: 0012-munge-cmdline.t 97 - cleanup +ERROR: 0012-munge-cmdline.t - exited with status 1 PASS: 0013-unmunge-cmdline.t 1 - unmunge invalid option PASS: 0013-unmunge-cmdline.t 2 - unmunge -h PASS: 0013-unmunge-cmdline.t 3 - unmunge --help @@ -1248,44 +1287,45 @@ PASS: 0013-unmunge-cmdline.t 5 - unmunge --license PASS: 0013-unmunge-cmdline.t 6 - unmunge -V PASS: 0013-unmunge-cmdline.t 7 - unmunge --version -PASS: 0013-unmunge-cmdline.t 8 - start munged -PASS: 0013-unmunge-cmdline.t 9 - unmunge -S -PASS: 0013-unmunge-cmdline.t 10 - unmunge --socket +FAIL: 0013-unmunge-cmdline.t 8 - start munged +FAIL: 0013-unmunge-cmdline.t 9 - unmunge -S +FAIL: 0013-unmunge-cmdline.t 10 - unmunge --socket PASS: 0013-unmunge-cmdline.t 11 - unmunge --socket for missing socket PASS: 0013-unmunge-cmdline.t 12 - unmunge --socket for invalid socket (file) PASS: 0013-unmunge-cmdline.t 13 - unmunge --socket for invalid socket (directory) PASS: 0013-unmunge-cmdline.t 14 - unmunge reading from /dev/null -PASS: 0013-unmunge-cmdline.t 15 - unmunge -i -PASS: 0013-unmunge-cmdline.t 16 - unmunge --input -PASS: 0013-unmunge-cmdline.t 17 - unmunge --input from stdin via "-" +FAIL: 0013-unmunge-cmdline.t 15 - unmunge -i +FAIL: 0013-unmunge-cmdline.t 16 - unmunge --input +FAIL: 0013-unmunge-cmdline.t 17 - unmunge --input from stdin via "-" PASS: 0013-unmunge-cmdline.t 18 - unmunge --input from /dev/null PASS: 0013-unmunge-cmdline.t 19 - unmunge --input from missing file -PASS: 0013-unmunge-cmdline.t 20 - unmunge -n -PASS: 0013-unmunge-cmdline.t 21 - unmunge --no-output -PASS: 0013-unmunge-cmdline.t 22 - unmunge -m -PASS: 0013-unmunge-cmdline.t 23 - unmunge --metadata -PASS: 0013-unmunge-cmdline.t 24 - unmunge --metadata to stdout via "-" along with payload -PASS: 0013-unmunge-cmdline.t 25 - unmunge --metadata to /dev/null with payload on stdout -PASS: 0013-unmunge-cmdline.t 26 - unmunge -o -PASS: 0013-unmunge-cmdline.t 27 - unmunge --output -PASS: 0013-unmunge-cmdline.t 28 - unmunge --output to stdout via "-" along with metadata -PASS: 0013-unmunge-cmdline.t 29 - unmunge --output to /dev/null with metadata on stdout +FAIL: 0013-unmunge-cmdline.t 20 - unmunge -n +FAIL: 0013-unmunge-cmdline.t 21 - unmunge --no-output +FAIL: 0013-unmunge-cmdline.t 22 - unmunge -m +FAIL: 0013-unmunge-cmdline.t 23 - unmunge --metadata +FAIL: 0013-unmunge-cmdline.t 24 - unmunge --metadata to stdout via "-" along with payload +FAIL: 0013-unmunge-cmdline.t 25 - unmunge --metadata to /dev/null with payload on stdout +FAIL: 0013-unmunge-cmdline.t 26 - unmunge -o +FAIL: 0013-unmunge-cmdline.t 27 - unmunge --output +FAIL: 0013-unmunge-cmdline.t 28 - unmunge --output to stdout via "-" along with metadata +FAIL: 0013-unmunge-cmdline.t 29 - unmunge --output to /dev/null with metadata on stdout PASS: 0013-unmunge-cmdline.t 30 - unmunge -K PASS: 0013-unmunge-cmdline.t 31 - unmunge --list-keys -PASS: 0013-unmunge-cmdline.t 32 - unmunge -k -PASS: 0013-unmunge-cmdline.t 33 - unmunge --keys -PASS: 0013-unmunge-cmdline.t 34 - unmunge --keys for ignoring invalid key -PASS: 0013-unmunge-cmdline.t 35 - unmunge --keys for single uppercase key -PASS: 0013-unmunge-cmdline.t 36 - unmunge --keys for single lowercase key -PASS: 0013-unmunge-cmdline.t 37 - unmunge --keys for multiple keys split by " " -PASS: 0013-unmunge-cmdline.t 38 - unmunge --keys for multiple keys split by "," -PASS: 0013-unmunge-cmdline.t 39 - unmunge --keys for multiple keys split by ";" -PASS: 0013-unmunge-cmdline.t 40 - unmunge --keys for multiple keys split by "." -PASS: 0013-unmunge-cmdline.t 41 - unmunge --keys for each key -PASS: 0013-unmunge-cmdline.t 42 - unmunge -N -PASS: 0013-unmunge-cmdline.t 43 - unmunge --numeric -PASS: 0013-unmunge-cmdline.t 44 - stop munged +FAIL: 0013-unmunge-cmdline.t 32 - unmunge -k +FAIL: 0013-unmunge-cmdline.t 33 - unmunge --keys +FAIL: 0013-unmunge-cmdline.t 34 - unmunge --keys for ignoring invalid key +FAIL: 0013-unmunge-cmdline.t 35 - unmunge --keys for single uppercase key +FAIL: 0013-unmunge-cmdline.t 36 - unmunge --keys for single lowercase key +FAIL: 0013-unmunge-cmdline.t 37 - unmunge --keys for multiple keys split by " " +FAIL: 0013-unmunge-cmdline.t 38 - unmunge --keys for multiple keys split by "," +FAIL: 0013-unmunge-cmdline.t 39 - unmunge --keys for multiple keys split by ";" +FAIL: 0013-unmunge-cmdline.t 40 - unmunge --keys for multiple keys split by "." +FAIL: 0013-unmunge-cmdline.t 41 - unmunge --keys for each key +FAIL: 0013-unmunge-cmdline.t 42 - unmunge -N +FAIL: 0013-unmunge-cmdline.t 43 - unmunge --numeric +FAIL: 0013-unmunge-cmdline.t 44 - stop munged PASS: 0013-unmunge-cmdline.t 45 - cleanup +ERROR: 0013-unmunge-cmdline.t - exited with status 1 PASS: 0015-mungekey-cmdline.t 1 - mungekey invalid short option PASS: 0015-mungekey-cmdline.t 2 - mungekey invalid long option PASS: 0015-mungekey-cmdline.t 3 - mungekey invalid non-printable short option @@ -1338,438 +1378,4947 @@ PASS: 0099-credential-decode.t 5 - stop munged PASS: 0099-credential-decode.t 6 - cleanup PASS: 0100-munged-lock.t 1 - setup -PASS: 0100-munged-lock.t 2 - start munged with open umask -PASS: 0100-munged-lock.t 3 - check pidfile after munged success -PASS: 0100-munged-lock.t 4 - check lockfile existence -PASS: 0100-munged-lock.t 5 - check lockfile type -PASS: 0100-munged-lock.t 6 - check lockfile permissions -PASS: 0100-munged-lock.t 7 - start munged with in-use socket -PASS: 0100-munged-lock.t 8 - check pidfile after munged failure -PASS: 0100-munged-lock.t 9 - stop munged using lockfile-derived pid +FAIL: 0100-munged-lock.t 2 - start munged with open umask +FAIL: 0100-munged-lock.t 3 - check pidfile after munged success +FAIL: 0100-munged-lock.t 4 - check lockfile existence +FAIL: 0100-munged-lock.t 5 - check lockfile type +FAIL: 0100-munged-lock.t 6 - check lockfile permissions +FAIL: 0100-munged-lock.t 7 - start munged with in-use socket +FAIL: 0100-munged-lock.t 8 - check pidfile after munged failure +FAIL: 0100-munged-lock.t 9 - stop munged using lockfile-derived pid PASS: 0100-munged-lock.t 10 - check lockfile removal -PASS: 0100-munged-lock.t 11 - start munged with 0600 bogus lockfile -PASS: 0100-munged-lock.t 12 - start munged with 0222 bogus lockfile -PASS: 0100-munged-lock.t 13 - start munged with inactive non-zero-length lockfile -PASS: 0100-munged-lock.t 14 - check for lockfile truncation after successful start -PASS: 0100-munged-lock.t 15 - stop munged using sigkill to prevent cleanup -PASS: 0100-munged-lock.t 16 - check for leftover socket from unclean shutdown +FAIL: 0100-munged-lock.t 11 - start munged with 0600 bogus lockfile +FAIL: 0100-munged-lock.t 12 - start munged with 0222 bogus lockfile +FAIL: 0100-munged-lock.t 13 - start munged with inactive non-zero-length lockfile +FAIL: 0100-munged-lock.t 14 - check for lockfile truncation after successful start +FAIL: 0100-munged-lock.t 15 - stop munged using sigkill to prevent cleanup +FAIL: 0100-munged-lock.t 16 - check for leftover socket from unclean shutdown PASS: 0100-munged-lock.t 17 - check for leftover lockfile from unclean shutdown -PASS: 0100-munged-lock.t 18 - check for leftover pidfile from unclean shutdown -PASS: 0100-munged-lock.t 19 - start munged with leftover socket from unclean shutdown -PASS: 0100-munged-lock.t 20 - stop munged -PASS: 0100-munged-lock.t 21 - check lockfile removal again +FAIL: 0100-munged-lock.t 18 - check for leftover pidfile from unclean shutdown +FAIL: 0100-munged-lock.t 19 - start munged with leftover socket from unclean shutdown +FAIL: 0100-munged-lock.t 20 - stop munged +FAIL: 0100-munged-lock.t 21 - check lockfile removal again SKIP: 0100-munged-lock.t 22 # SKIP stop unprivileged munged as root (missing SUDO) PASS: 0100-munged-lock.t 23 - cleanup +ERROR: 0100-munged-lock.t - exited with status 1 PASS: 0101-munged-security-socket.t 1 - setup -PASS: 0101-munged-security-socket.t 2 - socket dir perms -PASS: 0101-munged-security-socket.t 3 - socket type and perms -PASS: 0101-munged-security-socket.t 4 - socket dir owned by euid +FAIL: 0101-munged-security-socket.t 2 - socket dir perms +FAIL: 0101-munged-security-socket.t 3 - socket type and perms +FAIL: 0101-munged-security-socket.t 4 - socket dir owned by euid SKIP: 0101-munged-security-socket.t 5 # SKIP alt socket dir setup (missing SUDO) SKIP: 0101-munged-security-socket.t 6 # SKIP socket dir owned by root (missing SUDO,ALT of ALT,SUDO) SKIP: 0101-munged-security-socket.t 7 # SKIP socket dir owned by other failure (missing SUDO,ALT of ALT,SUDO) SKIP: 0101-munged-security-socket.t 8 # SKIP socket dir owned by other override (missing SUDO,ALT of ALT,SUDO) SKIP: 0101-munged-security-socket.t 9 # SKIP alt socket dir cleanup (missing ALT) -PASS: 0101-munged-security-socket.t 10 - socket dir writable by trusted group +FAIL: 0101-munged-security-socket.t 10 - socket dir writable by trusted group PASS: 0101-munged-security-socket.t 11 - socket dir writable by untrusted group failure PASS: 0101-munged-security-socket.t 12 - socket dir writable by group failure PASS: 0101-munged-security-socket.t 13 - socket dir writable by group override -PASS: 0101-munged-security-socket.t 14 - socket dir writable by group with sticky bit -PASS: 0101-munged-security-socket.t 15 - socket dir writable by other failure +FAIL: 0101-munged-security-socket.t 14 - socket dir writable by group with sticky bit +FAIL: 0101-munged-security-socket.t 15 - socket dir writable by other failure PASS: 0101-munged-security-socket.t 16 - socket dir writable by other override -PASS: 0101-munged-security-socket.t 17 - socket dir writable by other with sticky bit -PASS: 0101-munged-security-socket.t 18 - socket dir inaccessible by all failure +FAIL: 0101-munged-security-socket.t 17 - socket dir writable by other with sticky bit +FAIL: 0101-munged-security-socket.t 18 - socket dir inaccessible by all failure PASS: 0101-munged-security-socket.t 19 - socket dir inaccessible by all override PASS: 0101-munged-security-socket.t 20 - cleanup +ERROR: 0101-munged-security-socket.t - exited with status 1 PASS: 0102-munged-security-keyfile.t 1 - setup -PASS: 0102-munged-security-keyfile.t 2 - keyfile regular file -PASS: 0102-munged-security-keyfile.t 3 - keyfile missing failure -PASS: 0102-munged-security-keyfile.t 4 - keyfile non-regular-file failure +FAIL: 0102-munged-security-keyfile.t 2 - keyfile regular file +FAIL: 0102-munged-security-keyfile.t 3 - keyfile missing failure +FAIL: 0102-munged-security-keyfile.t 4 - keyfile non-regular-file failure PASS: 0102-munged-security-keyfile.t 5 - keyfile non-regular-file override failure -PASS: 0102-munged-security-keyfile.t 6 - keyfile symlink to regular file failure +FAIL: 0102-munged-security-keyfile.t 6 - keyfile symlink to regular file failure PASS: 0102-munged-security-keyfile.t 7 - keyfile symlink to regular file override -PASS: 0102-munged-security-keyfile.t 8 - keyfile owned by euid +FAIL: 0102-munged-security-keyfile.t 8 - keyfile owned by euid XFAIL: 0102-munged-security-keyfile.t 9 - keyfile readable by trusted group # TODO known breakage PASS: 0102-munged-security-keyfile.t 10 - keyfile readable by untrusted group failure XFAIL: 0102-munged-security-keyfile.t 11 - keyfile writable by trusted group # TODO known breakage PASS: 0102-munged-security-keyfile.t 12 - keyfile writable by untrusted group failure -PASS: 0102-munged-security-keyfile.t 13 - keyfile readable by group failure +FAIL: 0102-munged-security-keyfile.t 13 - keyfile readable by group failure PASS: 0102-munged-security-keyfile.t 14 - keyfile readable by group override -PASS: 0102-munged-security-keyfile.t 15 - keyfile writable by group failure +FAIL: 0102-munged-security-keyfile.t 15 - keyfile writable by group failure PASS: 0102-munged-security-keyfile.t 16 - keyfile writable by group override -PASS: 0102-munged-security-keyfile.t 17 - keyfile readable by other failure +FAIL: 0102-munged-security-keyfile.t 17 - keyfile readable by other failure PASS: 0102-munged-security-keyfile.t 18 - keyfile readable by other override -PASS: 0102-munged-security-keyfile.t 19 - keyfile writable by other failure +FAIL: 0102-munged-security-keyfile.t 19 - keyfile writable by other failure PASS: 0102-munged-security-keyfile.t 20 - keyfile writable by other override -PASS: 0102-munged-security-keyfile.t 21 - keyfile secure perms -PASS: 0102-munged-security-keyfile.t 22 - keyfile dir owned by euid +FAIL: 0102-munged-security-keyfile.t 21 - keyfile secure perms +FAIL: 0102-munged-security-keyfile.t 22 - keyfile dir owned by euid SKIP: 0102-munged-security-keyfile.t 23 # SKIP alt keyfile dir setup (missing SUDO) SKIP: 0102-munged-security-keyfile.t 24 # SKIP keyfile dir owned by root (missing SUDO,ALT of ALT,SUDO) SKIP: 0102-munged-security-keyfile.t 25 # SKIP keyfile dir owned by other failure (missing SUDO,ALT of ALT,SUDO) SKIP: 0102-munged-security-keyfile.t 26 # SKIP keyfile dir owned by other override (missing SUDO,ALT of ALT,SUDO) SKIP: 0102-munged-security-keyfile.t 27 # SKIP alt keyfile dir cleanup (missing SUDO,ALT of ALT,SUDO) -PASS: 0102-munged-security-keyfile.t 28 - keyfile dir writable by trusted group +FAIL: 0102-munged-security-keyfile.t 28 - keyfile dir writable by trusted group +PASS: 0102-munged-security-keyfile.t 29 - keyfile dir writable by untrusted group failure +PASS: 0102-munged-security-keyfile.t 30 - keyfile dir writable by group failure +PASS: 0102-munged-security-keyfile.t 31 - keyfile dir writable by group override +FAIL: 0102-munged-security-keyfile.t 32 - keyfile dir writable by group with sticky bit +FAIL: 0102-munged-security-keyfile.t 33 - keyfile dir writable by other failure +PASS: 0102-munged-security-keyfile.t 34 - keyfile dir writable by other override +FAIL: 0102-munged-security-keyfile.t 35 - keyfile dir writable by other with sticky bit +PASS: 0102-munged-security-keyfile.t 36 - cleanup +ERROR: 0102-munged-security-keyfile.t - exited with status 1 +PASS: 0103-munged-security-logfile.t 1 - setup +FAIL: 0103-munged-security-logfile.t 2 - logfile regular file +PASS: 0103-munged-security-logfile.t 3 - logfile symlink to regular file failure +PASS: 0103-munged-security-logfile.t 4 - logfile symlink to regular file override +FAIL: 0103-munged-security-logfile.t 5 - logfile missing +PASS: 0103-munged-security-logfile.t 6 - logfile symlink to missing file failure +PASS: 0103-munged-security-logfile.t 7 - logfile symlink to missing file override +PASS: 0103-munged-security-logfile.t 8 - logfile non-regular-file failure +PASS: 0103-munged-security-logfile.t 9 - logfile non-regular-file override failure +PASS: 0103-munged-security-logfile.t 10 - logfile not writable by user failure +XFAIL: 0103-munged-security-logfile.t 11 - logfile writable by trusted group # TODO known breakage +PASS: 0103-munged-security-logfile.t 12 - logfile writable by untrusted group failure +PASS: 0103-munged-security-logfile.t 13 - logfile writable by group failure +PASS: 0103-munged-security-logfile.t 14 - logfile writable by group override +PASS: 0103-munged-security-logfile.t 15 - logfile writable by other failure +PASS: 0103-munged-security-logfile.t 16 - logfile writable by other override +FAIL: 0103-munged-security-logfile.t 17 - logfile readable by all +FAIL: 0103-munged-security-logfile.t 18 - logfile dir owned by euid +SKIP: 0103-munged-security-logfile.t 19 # SKIP alt logfile dir setup (missing SUDO) +SKIP: 0103-munged-security-logfile.t 20 # SKIP logfile dir owned by root (missing SUDO,ALT of ALT,SUDO) +SKIP: 0103-munged-security-logfile.t 21 # SKIP logfile dir owned by other failure (missing SUDO,ALT of ALT,SUDO) +SKIP: 0103-munged-security-logfile.t 22 # SKIP logfile dir owned by other override (missing SUDO,ALT of ALT,SUDO) +SKIP: 0103-munged-security-logfile.t 23 # SKIP alt logfile dir cleanup (missing SUDO,ALT of ALT,SUDO) +FAIL: 0103-munged-security-logfile.t 24 - logfile dir writable by trusted group +FAIL: 0103-munged-security-logfile.t 25 - logfile dir writable by untrusted group failure +FAIL: 0103-munged-security-logfile.t 26 - logfile dir writable by group +FAIL: 0103-munged-security-logfile.t 27 - logfile dir writable by group with sticky bit +PASS: 0103-munged-security-logfile.t 28 - logfile dir writable by other failure +PASS: 0103-munged-security-logfile.t 29 - logfile dir writable by other override +FAIL: 0103-munged-security-logfile.t 30 - logfile dir writable by other with sticky bit +PASS: 0103-munged-security-logfile.t 31 - logfile failure writes single message to stderr +PASS: 0103-munged-security-logfile.t 32 - cleanup +ERROR: 0103-munged-security-logfile.t - exited with status 1 +PASS: 0104-munged-security-pidfile.t 1 - setup +XFAIL: 0104-munged-security-pidfile.t 2 - finish writing tests # TODO known breakage +PASS: 0104-munged-security-pidfile.t 3 - cleanup +PASS: 0105-munged-security-seedfile.t 1 - setup +XFAIL: 0105-munged-security-seedfile.t 2 - finish writing tests # TODO known breakage +PASS: 0105-munged-security-seedfile.t 3 - cleanup +PASS: 0110-munged-origin-addr.t 1 - setup +PASS: 0110-munged-origin-addr.t 2 - munged --origin help +PASS: 0110-munged-origin-addr.t 3 - munged --origin failure +PASS: 0110-munged-origin-addr.t 4 - munged --origin override +PASS: 0110-munged-origin-addr.t 5 - munged --origin null address +PASS: 0110-munged-origin-addr.t 6 - munged --origin null address metadata +PASS: 0110-munged-origin-addr.t 7 - munged --origin null address warning +FAIL: 0110-munged-origin-addr.t 8 - munged --origin local IP address +FAIL: 0110-munged-origin-addr.t 9 - munged --origin local IP address metadata +PASS: 0110-munged-origin-addr.t 10 - munged --origin interface name lookup +FAIL: 0110-munged-origin-addr.t 11 - munged --origin interface name +FAIL: 0110-munged-origin-addr.t 12 - munged --origin interface name metadata +FAIL: 0110-munged-origin-addr.t 13 - munged --origin non-interface IP address +FAIL: 0110-munged-origin-addr.t 14 - munged --origin non-interface IP address metadata +PASS: 0110-munged-origin-addr.t 15 - cleanup +ERROR: 0110-munged-origin-addr.t - exited with status 1 +==================================== + MUNGE 0.5.15: t/test-suite.log +==================================== + +# TOTAL: 378 +# PASS: 182 +# SKIP: 25 +# XFAIL: 6 +# FAIL: 156 +# XPASS: 0 +# ERROR: 9 + +.. contents:: :depth: 2 + +ERROR: 0010-basic +================= + +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +cat: /tmp/munge-test-3490292/trash-directory.0010-basic/run-3500431/munged.pid.3500431: No such file or directory +munge: Error: Failed to access "/tmp/munged.sock.3500431": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +unmunge: Error: No credential specified +munged: Error: Failed to query socket lockfile "/tmp/munged.sock.3500431.lock": No such file or directory (Cannot find running process) +expecting success: + munged_setup + +ok 1 - setup +PASS: 0010-basic.t 1 - setup + +expecting success: + munged_create_key + +ok 2 - create key +PASS: 0010-basic.t 2 - create key + +expecting success: + test -s "${MUNGE_KEYFILE}" + +ok 3 - check keyfile creation +PASS: 0010-basic.t 3 - check keyfile creation + +expecting success: + munged_start_daemon + +not ok 4 - start munged +FAIL: 0010-basic.t 4 - start munged +# +# munged_start_daemon +# + +expecting success: + test -s "${MUNGE_PIDFILE}" + +not ok 5 - check pidfile creation +FAIL: 0010-basic.t 5 - check pidfile creation +# +# test -s "${MUNGE_PIDFILE}" +# + +expecting success: + PID=$(cat "${MUNGE_PIDFILE}") && + ps -p "${PID}" -ww | grep munged + +not ok 6 - check process is running +FAIL: 0010-basic.t 6 - check process is running +# +# PID=$(cat "${MUNGE_PIDFILE}") && +# ps -p "${PID}" -ww | grep munged +# + +expecting success: + test -S "${MUNGE_SOCKET}" + +not ok 7 - check socket creation +FAIL: 0010-basic.t 7 - check socket creation +# +# test -S "${MUNGE_SOCKET}" +# + +expecting success: + test -s "${MUNGE_LOGFILE}" + +ok 8 - check logfile creation +PASS: 0010-basic.t 8 - check logfile creation + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" cred.$$ + +not ok 9 - encode credential +FAIL: 0010-basic.t 9 - encode credential +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" cred.$$ +# + +expecting success: + test "$(expr X"$(cat cred.$$)" : "XMUNGE:.*:$")" -gt 0 + +not ok 10 - examine credential +FAIL: 0010-basic.t 10 - examine credential +# +# test "$(expr X"$(cat cred.$$)" : "XMUNGE:.*:$")" -gt 0 +# + +expecting success: + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" /dev/null + +not ok 11 - decode credential +FAIL: 0010-basic.t 11 - decode credential +# +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" /dev/null +# + +expecting success: + test_must_fail "${UNMUNGE}" --socket="${MUNGE_SOCKET}" /dev/null + +ok 12 - replay credential +PASS: 0010-basic.t 12 - replay credential + +expecting success: + grep "Replayed credential" "${MUNGE_LOGFILE}" + +not ok 13 - check logfile for replay +FAIL: 0010-basic.t 13 - check logfile for replay +# +# grep "Replayed credential" "${MUNGE_LOGFILE}" +# + +expecting success: + munged_stop_daemon + +not ok 14 - stop munged +FAIL: 0010-basic.t 14 - stop munged +# +# munged_stop_daemon +# + +expecting success: + test "x${MUNGE_SOCKET}" != x && + test ! -S "${MUNGE_SOCKET}" + +ok 15 - check socket removal +PASS: 0010-basic.t 15 - check socket removal + +expecting success: + test "x${PID}" != x && + ! ps -p "${PID}" >/dev/null + +not ok 16 - check process has exited +FAIL: 0010-basic.t 16 - check process has exited +# +# test "x${PID}" != x && +# ! ps -p "${PID}" >/dev/null +# + +expecting success: + test "x${MUNGE_PIDFILE}" != x && + test ! -f "${MUNGE_PIDFILE}" + +ok 17 - check pidfile removal +PASS: 0010-basic.t 17 - check pidfile removal + +expecting success: + test -s "${MUNGE_SEEDFILE}" + +not ok 18 - check seedfile creation +FAIL: 0010-basic.t 18 - check seedfile creation +# +# test -s "${MUNGE_SEEDFILE}" +# + +expecting success: + grep "Stopping" "${MUNGE_LOGFILE}" + +not ok 19 - check logfile for stop +FAIL: 0010-basic.t 19 - check logfile for stop +# +# grep "Stopping" "${MUNGE_LOGFILE}" +# + +expecting success: + munged_cleanup + +ok 20 - cleanup +PASS: 0010-basic.t 20 - cleanup + +# failed 12 among 20 test(s) +1..20 +ERROR: 0010-basic.t - exited with status 1 + +ERROR: 0011-munged-cmdline +========================== + +munged: Error: Invalid option "--invalid-option" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +expecting success: + munged_setup && + munged_create_key + +ok 1 - setup +PASS: 0011-munged-cmdline.t 1 - setup + +expecting success: + test_must_fail "${MUNGED}" --invalid-option + +ok 2 - munged invalid option +PASS: 0011-munged-cmdline.t 2 - munged invalid option + +expecting success: + "${MUNGED}" "${OPT_HELP}" | + grep -q "^Usage:" + +ok 3 - munged -h +PASS: 0011-munged-cmdline.t 3 - munged -h + +expecting success: + "${MUNGED}" "${OPT_HELP}" | + grep -q "^Usage:" + +ok 4 - munged --help +PASS: 0011-munged-cmdline.t 4 - munged --help + +expecting success: + "${MUNGED}" "${OPT_LICENSE}" | + grep -q "GNU General Public License" + +ok 5 - munged -L +PASS: 0011-munged-cmdline.t 5 - munged -L + +expecting success: + "${MUNGED}" "${OPT_LICENSE}" | + grep -q "GNU General Public License" + +ok 6 - munged --license +PASS: 0011-munged-cmdline.t 6 - munged --license + +expecting success: + "${MUNGED}" "${OPT_VERSION}" | + grep -q "^munge-[0-9.]*" + +ok 7 - munged -V +PASS: 0011-munged-cmdline.t 7 - munged -V + +expecting success: + "${MUNGED}" "${OPT_VERSION}" | + grep -q "^munge-[0-9.]*" + +ok 8 - munged --version +PASS: 0011-munged-cmdline.t 8 - munged --version + +expecting success: + munged_start_daemon && + "${MUNGED}" "${OPT_STOP}" --socket="${MUNGE_SOCKET}" + +not ok 9 - munged -s +FAIL: 0011-munged-cmdline.t 9 - munged -s +# +# munged_start_daemon && +# "${MUNGED}" "${OPT_STOP}" --socket="${MUNGE_SOCKET}" +# + +expecting success: + munged_start_daemon && + "${MUNGED}" "${OPT_STOP}" --socket="${MUNGE_SOCKET}" + +not ok 10 - munged --stop +FAIL: 0011-munged-cmdline.t 10 - munged --stop +# +# munged_start_daemon && +# "${MUNGED}" "${OPT_STOP}" --socket="${MUNGE_SOCKET}" +# + +expecting success: + test_must_fail "${MUNGED}" --stop --socket=missing.socket.$$ + +ok 11 - munged --stop for missing socket +PASS: 0011-munged-cmdline.t 11 - munged --stop for missing socket + +expecting success: + munged_start_daemon && + "${MUNGED}" "${OPT_VERBOSE}" --stop --socket="${MUNGE_SOCKET}" 2>&1 | + egrep -q "(Terminated|Killed) daemon" + +not ok 12 - munged -v +FAIL: 0011-munged-cmdline.t 12 - munged -v +# +# munged_start_daemon && +# "${MUNGED}" "${OPT_VERBOSE}" --stop --socket="${MUNGE_SOCKET}" 2>&1 | +# egrep -q "(Terminated|Killed) daemon" +# + +expecting success: + munged_start_daemon && + "${MUNGED}" "${OPT_VERBOSE}" --stop --socket="${MUNGE_SOCKET}" 2>&1 | + egrep -q "(Terminated|Killed) daemon" + +not ok 13 - munged --verbose +FAIL: 0011-munged-cmdline.t 13 - munged --verbose +# +# munged_start_daemon && +# "${MUNGED}" "${OPT_VERBOSE}" --stop --socket="${MUNGE_SOCKET}" 2>&1 | +# egrep -q "(Terminated|Killed) daemon" +# + +expecting success: + local SEEDFILE="seed.$$" && + munged_start_daemon --seed-file="${SEEDFILE}" && + munged_stop_daemon && + test -s "${SEEDFILE}" + +not ok 14 - munged seedfile creation with relative pathname +FAIL: 0011-munged-cmdline.t 14 - munged seedfile creation with relative pathname +# +# local SEEDFILE="seed.$$" && +# munged_start_daemon --seed-file="${SEEDFILE}" && +# munged_stop_daemon && +# test -s "${SEEDFILE}" +# + +expecting success: + local SOCKET="socket.$$" && + cd "${MUNGE_SOCKETDIR}" && + munged_start_daemon --socket="${SOCKET}" && + munged_stop_daemon --socket="${SOCKET}" && + test ! -S "${SOCKET}" + +not ok 15 - munged socket cleanup with relative pathname +FAIL: 0011-munged-cmdline.t 15 - munged socket cleanup with relative pathname +# +# local SOCKET="socket.$$" && +# cd "${MUNGE_SOCKETDIR}" && +# munged_start_daemon --socket="${SOCKET}" && +# munged_stop_daemon --socket="${SOCKET}" && +# test ! -S "${SOCKET}" +# + +checking known breakage: + false + +not ok 16 - finish writing tests # TODO known breakage +XFAIL: 0011-munged-cmdline.t 16 - finish writing tests # TODO known breakage + +expecting success: + munged_cleanup + +ok 17 - cleanup +PASS: 0011-munged-cmdline.t 17 - cleanup + +# still have 1 known breakage(s) +# failed 6 among remaining 16 test(s) +1..17 +ERROR: 0011-munged-cmdline.t - exited with status 1 + +ERROR: 0012-munge-cmdline +========================= + +munge: Error: Invalid option "--invalid-option" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +munge: Error: Failed to access "missing.socket.3502721": No such file or directory (Did you start munged?) +munge: Error: Invalid file type for socket "invalid.socket.file.3502721" +munge: Error: Invalid file type for socket "invalid.socket.dir.3502721" +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +expecting success: + test_must_fail "${MUNGE}" --invalid-option + +ok 1 - munge invalid option +PASS: 0012-munge-cmdline.t 1 - munge invalid option + +expecting success: + "${MUNGE}" "${OPT_HELP}" | + grep -q "^Usage:" + +ok 2 - munge -h +PASS: 0012-munge-cmdline.t 2 - munge -h + +expecting success: + "${MUNGE}" "${OPT_HELP}" | + grep -q "^Usage:" + +ok 3 - munge --help +PASS: 0012-munge-cmdline.t 3 - munge --help + +expecting success: + "${MUNGE}" "${OPT_LICENSE}" | + grep -q "GNU General Public License" + +ok 4 - munge -L +PASS: 0012-munge-cmdline.t 4 - munge -L + +expecting success: + "${MUNGE}" "${OPT_LICENSE}" | + grep -q "GNU General Public License" + +ok 5 - munge --license +PASS: 0012-munge-cmdline.t 5 - munge --license + +expecting success: + "${MUNGE}" "${OPT_VERSION}" | + grep -q "^munge-[0-9.]*" + +ok 6 - munge -V +PASS: 0012-munge-cmdline.t 6 - munge -V + +expecting success: + "${MUNGE}" "${OPT_VERSION}" | + grep -q "^munge-[0-9.]*" + +ok 7 - munge --version +PASS: 0012-munge-cmdline.t 7 - munge --version + +expecting success: + munged_setup && + munged_create_key && + munged_start_daemon + +not ok 8 - start munged +FAIL: 0012-munge-cmdline.t 8 - start munged +# +# munged_setup && +# munged_create_key && +# munged_start_daemon +# + +expecting success: + "${MUNGE}" "${OPT_SOCKET}" "${MUNGE_SOCKET}" in.$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" in.$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" in.$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_INPUT}" in.$$ | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output --output=out.$$ && + test_cmp in.$$ out.$$ + +not ok 20 - munge -i +FAIL: 0012-munge-cmdline.t 20 - munge -i +# +# echo -n xyzzy-$$ >in.$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_INPUT}" in.$$ | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output --output=out.$$ && +# test_cmp in.$$ out.$$ +# + +expecting success: + echo -n xyzzy-$$ >in.$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_INPUT}" in.$$ | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output --output=out.$$ && + test_cmp in.$$ out.$$ + +not ok 21 - munge --input +FAIL: 0012-munge-cmdline.t 21 - munge --input +# +# echo -n xyzzy-$$ >in.$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_INPUT}" in.$$ | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output --output=out.$$ && +# test_cmp in.$$ out.$$ +# + +expecting success: + echo -n xyzzy-$$ >in.$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --input=- in.$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --input=- in.$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_OUTPUT}" cred.$$ in.$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_OUTPUT}" cred.$$ in.$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_OUTPUT}" cred.$$ in.$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_OUTPUT}" cred.$$ in.$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --output=- in.$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --output=- in.$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --output=/dev/null out.$$ && + test ! -s out.$$ + +not ok 28 - munge --output to /dev/null +FAIL: 0012-munge-cmdline.t 28 - munge --output to /dev/null +# +# echo -n xyzzy-$$ >in.$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --output=/dev/null out.$$ && +# test ! -s out.$$ +# + +expecting success: + "${MUNGE}" "${OPT_LIST_CIPHERS}" | + grep -q "^Cipher types:$" + +ok 29 - munge -C +PASS: 0012-munge-cmdline.t 29 - munge -C + +expecting success: + "${MUNGE}" "${OPT_LIST_CIPHERS}" | + grep -q "^Cipher types:$" + +ok 30 - munge --list-ciphers +PASS: 0012-munge-cmdline.t 30 - munge --list-ciphers + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + "${OPT_CIPHER}" default | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output + +not ok 31 - munge -c for default by name +FAIL: 0012-munge-cmdline.t 31 - munge -c for default by name +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ +# "${OPT_CIPHER}" default | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + "${OPT_CIPHER}" default | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output + +not ok 32 - munge --cipher for default by name +FAIL: 0012-munge-cmdline.t 32 - munge --cipher for default by name +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ +# "${OPT_CIPHER}" default | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --cipher=1 | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output + +not ok 33 - munge --cipher for default by number +FAIL: 0012-munge-cmdline.t 33 - munge --cipher for default by number +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --cipher=1 | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --cipher=none | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^CIPHER:/ { print \$2 }" >meta.$$ && + test "$(cat meta.$$)" = none + +not ok 34 - munge --cipher for none by name +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +FAIL: 0012-munge-cmdline.t 34 - munge --cipher for none by name +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --cipher=none | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^CIPHER:/ { print \$2 }" >meta.$$ && +# test "$(cat meta.$$)" = none +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --cipher=0 | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^CIPHER:/ { print \$2 }" >meta.$$ && + test "$(cat meta.$$)" = none + +not ok 35 - munge --cipher for none by number +FAIL: 0012-munge-cmdline.t 35 - munge --cipher for none by number +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --cipher=0 | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^CIPHER:/ { print \$2 }" >meta.$$ && +# test "$(cat meta.$$)" = none +# + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --cipher=invalid + +ok 36 - munge --cipher for invalid name +PASS: 0012-munge-cmdline.t 36 - munge --cipher for invalid name + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --cipher=88 + +ok 37 - munge --cipher for invalid positive number +PASS: 0012-munge-cmdline.t 37 - munge --cipher for invalid positive number + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --cipher=-1 + +ok 38 - munge --cipher for invalid negative number +PASS: 0012-munge-cmdline.t 38 - munge --cipher for invalid negative number + +expecting success: + local META NAME NUM EXTRA && + >fail.$$ && + "${MUNGE}" --list-ciphers | + awk "/([0-9]+)/ { gsub(/[()]/, \"\"); print \$2, \$1 }" | + while read NUM NAME EXTRA; do + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --cipher="${NAME}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^CIPHER:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + if test "${NAME}" = "${META}" || test "${NAME}" = default; then + test_debug "echo \"Decoded cipher [${NUM}/${NAME}] as [${META}]\"" + else + echo "Error: munge --cipher=${NAME} failed" + echo "cipher ${NUM} ${NAME} ${META}" >>fail.$$; + fi + done && + test ! -s fail.$$ + +Error: munge --cipher=none failed +Error: munge --cipher=blowfish failed +Error: munge --cipher=cast5 failed +Error: munge --cipher=aes128 failed +Error: munge --cipher=aes256 failed +not ok 39 - munge --cipher for each cipher by name +FAIL: 0012-munge-cmdline.t 39 - munge --cipher for each cipher by name +# +# local META NAME NUM EXTRA && +# >fail.$$ && +# "${MUNGE}" --list-ciphers | +# awk "/([0-9]+)/ { gsub(/[()]/, \"\"); print \$2, \$1 }" | +# while read NUM NAME EXTRA; do +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --cipher="${NAME}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^CIPHER:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# if test "${NAME}" = "${META}" || test "${NAME}" = default; then +# test_debug "echo \"Decoded cipher [${NUM}/${NAME}] as [${META}]\"" +# else +# echo "Error: munge --cipher=${NAME} failed" +# echo "cipher ${NUM} ${NAME} ${META}" >>fail.$$; +# fi +# done && +# test ! -s fail.$$ +# + +expecting success: + local META NAME NUM EXTRA && + >fail.$$ && + "${MUNGE}" --list-ciphers | + awk "/([0-9]+)/ { gsub(/[()]/, \"\"); print \$2, \$1 }" | + while read NUM NAME EXTRA; do + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --cipher="${NUM}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^CIPHER:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + if test "${NAME}" = "${META}" || test "${NAME}" = default; then + test_debug "echo \"Decoded cipher [${NUM}/${NAME}] as [${META}]\"" + else + echo "Error: munge --cipher=${NUM} failed" + echo "cipher ${NUM} ${NAME} ${META}" >>fail.$$; + fi + done && + test ! -s fail.$$ + +Error: munge --cipher=0 failed +Error: munge --cipher=2 failed +Error: munge --cipher=3 failemunge: Error: Invalid MAC type "none" +munge: Error: Invalid MAC type "0" +munge: Error: Invalid MAC type "invalid" +munge: Error: Invalid MAC type "88" +munge: Error: Invalid MAC type "-1" +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +d +Error: munge --cipher=4 failed +Error: munge --cipher=5 failed +not ok 40 - munge --cipher for each cipher by number +FAIL: 0012-munge-cmdline.t 40 - munge --cipher for each cipher by number +# +# local META NAME NUM EXTRA && +# >fail.$$ && +# "${MUNGE}" --list-ciphers | +# awk "/([0-9]+)/ { gsub(/[()]/, \"\"); print \$2, \$1 }" | +# while read NUM NAME EXTRA; do +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --cipher="${NUM}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^CIPHER:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# if test "${NAME}" = "${META}" || test "${NAME}" = default; then +# test_debug "echo \"Decoded cipher [${NUM}/${NAME}] as [${META}]\"" +# else +# echo "Error: munge --cipher=${NUM} failed" +# echo "cipher ${NUM} ${NAME} ${META}" >>fail.$$; +# fi +# done && +# test ! -s fail.$$ +# + +expecting success: + "${MUNGE}" "${OPT_LIST_MACS}" | + grep -q "^MAC types:$" + +ok 41 - munge -M +PASS: 0012-munge-cmdline.t 41 - munge -M + +expecting success: + "${MUNGE}" "${OPT_LIST_MACS}" | + grep -q "^MAC types:$" + +ok 42 - munge --list-macs +PASS: 0012-munge-cmdline.t 42 - munge --list-macs + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_MAC}" default | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output + +not ok 43 - munge -m for default by name +FAIL: 0012-munge-cmdline.t 43 - munge -m for default by name +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_MAC}" default | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_MAC}" default | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output + +not ok 44 - munge --mac for default by name +FAIL: 0012-munge-cmdline.t 44 - munge --mac for default by name +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_MAC}" default | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --mac=1 | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output + +not ok 45 - munge --mac for default by number +FAIL: 0012-munge-cmdline.t 45 - munge --mac for default by number +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --mac=1 | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output +# + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --mac=none + +ok 46 - munge --mac for none by name +PASS: 0012-munge-cmdline.t 46 - munge --mac for none by name + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --mac=0 + +ok 47 - munge --mac for none by number +PASS: 0012-munge-cmdline.t 47 - munge --mac for none by number + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --mac=invalid + +ok 48 - munge --mac for invalid name +PASS: 0012-munge-cmdline.t 48 - munge --mac for invalid name + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --mac=88 + +ok 49 - munge --mac for invalid positive number +PASS: 0012-munge-cmdline.t 49 - munge --mac for invalid positive number + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --mac=-1 + +ok 50 - munge --mac for invalid negative number +PASS: 0012-munge-cmdline.t 50 - munge --mac for invalid negative number + +expecting success: + local META NAME NUM EXTRA && + >fail.$$ && + "${MUNGE}" --list-macs | + awk "/([0-9]+)/ { gsub(/[()]/, \"\"); print \$2, \$1 }" | + while read NUM NAME EXTRA; do + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --mac="${NAME}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^MAC:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + if test "${NAME}" = "${META}" || test "${NAME}" = default; then + test_debug "echo \"Decoded mac [${NUM}/${NAME}] as [${META}]munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Invalid compression type "invalid" +munge: Error: Invalid compression type "88" +munge: Error: Invalid compression type "-1" +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +\"" + else + echo "Error: munge --mac=${NAME} failed" + echo "mac ${NUM} ${NAME} ${META}" >>fail.$$; + fi + done && + test ! -s fail.$$ + +Error: munge --mac=md5 failed +Error: munge --mac=sha1 failed +Error: munge --mac=ripemd160 failed +Error: munge --mac=sha256 failed +Error: munge --mac=sha512 failed +not ok 51 - munge --mac for each mac by name +FAIL: 0012-munge-cmdline.t 51 - munge --mac for each mac by name +# +# local META NAME NUM EXTRA && +# >fail.$$ && +# "${MUNGE}" --list-macs | +# awk "/([0-9]+)/ { gsub(/[()]/, \"\"); print \$2, \$1 }" | +# while read NUM NAME EXTRA; do +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --mac="${NAME}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^MAC:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# if test "${NAME}" = "${META}" || test "${NAME}" = default; then +# test_debug "echo \"Decoded mac [${NUM}/${NAME}] as [${META}]\"" +# else +# echo "Error: munge --mac=${NAME} failed" +# echo "mac ${NUM} ${NAME} ${META}" >>fail.$$; +# fi +# done && +# test ! -s fail.$$ +# + +expecting success: + local META NAME NUM EXTRA && + >fail.$$ && + "${MUNGE}" --list-macs | + awk "/([0-9]+)/ { gsub(/[()]/, \"\"); print \$2, \$1 }" | + while read NUM NAME EXTRA; do + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --mac="${NUM}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^MAC:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + if test "${NAME}" = "${META}" || test "${NAME}" = default; then + test_debug "echo \"Decoded mac [${NUM}/${NAME}] as [${META}]\"" + else + echo "Error: munge --mac=${NUM} failed" + echo "mac ${NUM} ${NAME} ${META}" >>fail.$$; + fi + done && + test ! -s fail.$$ + +Error: munge --mac=2 failed +Error: munge --mac=3 failed +Error: munge --mac=4 failed +Error: munge --mac=5 failed +Error: munge --mac=6 failed +not ok 52 - munge --mac for each mac by number +FAIL: 0012-munge-cmdline.t 52 - munge --mac for each mac by number +# +# local META NAME NUM EXTRA && +# >fail.$$ && +# "${MUNGE}" --list-macs | +# awk "/([0-9]+)/ { gsub(/[()]/, \"\"); print \$2, \$1 }" | +# while read NUM NAME EXTRA; do +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --mac="${NUM}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^MAC:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# if test "${NAME}" = "${META}" || test "${NAME}" = default; then +# test_debug "echo \"Decoded mac [${NUM}/${NAME}] as [${META}]\"" +# else +# echo "Error: munge --mac=${NUM} failed" +# echo "mac ${NUM} ${NAME} ${META}" >>fail.$$; +# fi +# done && +# test ! -s fail.$$ +# + +expecting success: + "${MUNGE}" "${OPT_LIST_ZIPS}" | + grep -q "^Compression types:$" + +ok 53 - munge -Z +PASS: 0012-munge-cmdline.t 53 - munge -Z + +expecting success: + "${MUNGE}" "${OPT_LIST_ZIPS}" | + grep -q "^Compression types:$" + +ok 54 - munge --list-zips +PASS: 0012-munge-cmdline.t 54 - munge --list-zips + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + "${OPT_ZIP}" default --string="$(printf %0128d 0)" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output + +not ok 55 - munge -z for default by name +FAIL: 0012-munge-cmdline.t 55 - munge -z for default by name +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ +# "${OPT_ZIP}" default --string="$(printf %0128d 0)" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + "${OPT_ZIP}" default --string="$(printf %0128d 0)" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output + +not ok 56 - munge --zip for default by name +FAIL: 0012-munge-cmdline.t 56 - munge --zip for default by name +# +# "${MUNGE}" --sockmunge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +et="${MUNGE_SOCKET}" --no-input \ +# "${OPT_ZIP}" default --string="$(printf %0128d 0)" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --zip=1 \ + --string="$(printf %0128d 0)" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output + +not ok 57 - munge --zip for default by number +FAIL: 0012-munge-cmdline.t 57 - munge --zip for default by number +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --zip=1 \ +# --string="$(printf %0128d 0)" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --zip=none \ + --string="$(printf %0128d 0)" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^ZIP:/ { print \$2 }" >meta.$$ && + test "$(cat meta.$$)" = none + +not ok 58 - munge --zip for none by name +FAIL: 0012-munge-cmdline.t 58 - munge --zip for none by name +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --zip=none \ +# --string="$(printf %0128d 0)" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^ZIP:/ { print \$2 }" >meta.$$ && +# test "$(cat meta.$$)" = none +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --zip=0 \ + --string="$(printf %0128d 0)" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^ZIP:/ { print \$2 }" >meta.$$ && + test "$(cat meta.$$)" = none + +not ok 59 - munge --zip for none by number +FAIL: 0012-munge-cmdline.t 59 - munge --zip for none by number +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --zip=0 \ +# --string="$(printf %0128d 0)" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^ZIP:/ { print \$2 }" >meta.$$ && +# test "$(cat meta.$$)" = none +# + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --zip=invalid + +ok 60 - munge --zip for invalid name +PASS: 0012-munge-cmdline.t 60 - munge --zip for invalid name + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --zip=88 + +ok 61 - munge --zip for invalid positive number +PASS: 0012-munge-cmdline.t 61 - munge --zip for invalid positive number + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --zip=-1 + +ok 62 - munge --zip for invalid negative number +PASS: 0012-munge-cmdline.t 62 - munge --zip for invalid negative number + +expecting success: + local META NAME NUM EXTRA && + >fail.$$ && + "${MUNGE}" --list-zips | + awk "/([0-9]+)/ { gsub(/[()]/, \"\"); print \$2, \$1 }" | + while read NUM NAME EXTRA; do + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --zip="${NAME}" \ + --string="$(printf %0128d 0)" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^ZIP:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + if test "${NAME}" = "${META}" || test "${NAME}" = default; then + test_debug "echo \"Decoded zip [${NUM}/${NAME}] as [${META}]\"" + else + echo "Error: munge --zip=${NAME} failed" + echo "zip ${NUM} ${NAME} ${META}" >>fail.$$; + fi + done && + test ! -s fail.$$ + +Error: munge --zip=none failed +Error: munge --zip=bzlib failed +Error: munge --zip=zlib failed +not ok 63 - munge --zip for each zip by name +FAIL: 0012-munge-cmdline.t 63 - munge --zip for each zip by name +# +# local META NAME NUM EXTRA && +# >fail.$$ && +# "${MUNGE}" --list-zips | +# awk "/([0-9]+)/ { gsub(/[()]/, \"\"); print \$2, \$1 }" | +# while read NUM NAME EXTRA; do +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --zip="${NAME}" \ +# --string="$(printf %0128d 0)" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^ZIP:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# if test "${NAME}" = "${META}" || test "${NAME}" = default; then +# test_debug "echo \"Decoded zip [${NUM}/${NAME}] as [${META}]\"" +# else +# munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Unrecognized user "invalid3502721" +munge: Error: Unrecognized user "-1" +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified + echo "Error: munge --zip=${NAME} failed" +# echo "zip ${NUM} ${NAME} ${META}" >>fail.$$; +# fi +# done && +# test ! -s fail.$$ +# + +expecting success: + local META NAME NUM EXTRA && + >fail.$$ && + "${MUNGE}" --list-zips | + awk "/([0-9]+)/ { gsub(/[()]/, \"\"); print \$2, \$1 }" | + while read NUM NAME EXTRA; do + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --zip="${NUM}" \ + --string="$(printf %0128d 0)" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^ZIP:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + if test "${NAME}" = "${META}" || test "${NAME}" = default; then + test_debug "echo \"Decoded zip [${NUM}/${NAME}] as [${META}]\"" + else + echo "Error: munge --zip=${NUM} failed" + echo "zip ${NUM} ${NAME} ${META}" >>fail.$$; + fi + done && + test ! -s fail.$$ + +Error: munge --zip=0 failed +Error: munge --zip=2 failed +Error: munge --zip=3 failed +not ok 64 - munge --zip for each zip by number +FAIL: 0012-munge-cmdline.t 64 - munge --zip for each zip by number +# +# local META NAME NUM EXTRA && +# >fail.$$ && +# "${MUNGE}" --list-zips | +# awk "/([0-9]+)/ { gsub(/[()]/, \"\"); print \$2, \$1 }" | +# while read NUM NAME EXTRA; do +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --zip="${NUM}" \ +# --string="$(printf %0128d 0)" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^ZIP:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# if test "${NAME}" = "${META}" || test "${NAME}" = default; then +# test_debug "echo \"Decoded zip [${NUM}/${NAME}] as [${META}]\"" +# else +# echo "Error: munge --zip=${NUM} failed" +# echo "zip ${NUM} ${NAME} ${META}" >>fail.$$; +# fi +# done && +# test ! -s fail.$$ +# + +expecting success: + local ID=$(id -u -n) META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + "${OPT_RESTRICT_UID}" "${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^UID_RESTRICTION:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"UID Restriction user [${ID}] matches [${META}]\"" + +not ok 65 - munge -u by name +FAIL: 0012-munge-cmdline.t 65 - munge -u by name +# +# local ID=$(id -u -n) META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ +# "${OPT_RESTRICT_UID}" "${ID}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^UID_RESTRICTION:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${ID}" = "${META}" && +# test_debug "echo \"UID Restriction user [${ID}] matches [${META}]\"" +# + +expecting success: + local ID=$(id -u -n) META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + "${OPT_RESTRICT_UID}" "${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^UID_RESTRICTION:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"UID Restriction user [${ID}] matches [${META}]\"" + +not ok 66 - munge --restrict-uid by name +FAIL: 0012-munge-cmdline.t 66 - munge --restrict-uid by name +# +# local ID=$(id -u -n) META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ +# "${OPT_RESTRICT_UID}" "${ID}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^UID_RESTRICTION:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${ID}" = "${META}" && +# test_debug "echo \"UID Restriction user [${ID}] matches [${META}]\"" +# + +expecting success: + local ID=$(id -u) META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --restrict-uid="${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^UID_RESTRICTION:/ { gsub(/[()]/, \"\"); print \$3 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + munge: Error: Unrecognized user "invalid3502721" +munge: Error: Unrecognized user "-1" +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Unrecognized group "invalid3502721" +munge: Error: Unrecognized group "-1" + test_debug "echo \"UID Restriction user [${ID}] matches [${META}]\"" + +not ok 67 - munge --restrict-uid by number +FAIL: 0012-munge-cmdline.t 67 - munge --restrict-uid by number +# +# local ID=$(id -u) META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --restrict-uid="${ID}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^UID_RESTRICTION:/ { gsub(/[()]/, \"\"); print \$3 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${ID}" = "${META}" && +# test_debug "echo \"UID Restriction user [${ID}] matches [${META}]\"" +# + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --restrict-uid=invalid$$ + +ok 68 - munge --restrict-uid for invalid name +PASS: 0012-munge-cmdline.t 68 - munge --restrict-uid for invalid name + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --restrict-uid=-1 + +ok 69 - munge --restrict-uid for invalid number +PASS: 0012-munge-cmdline.t 69 - munge --restrict-uid for invalid number + +expecting success: + local ID=$(id -u -n) META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_UID}" "${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^UID:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"Effective user [${ID}] matches [${META}]\"" + +not ok 70 - munge -U for effective user by name +FAIL: 0012-munge-cmdline.t 70 - munge -U for effective user by name +# +# local ID=$(id -u -n) META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_UID}" "${ID}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^UID:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${ID}" = "${META}" && +# test_debug "echo \"Effective user [${ID}] matches [${META}]\"" +# + +expecting success: + local ID=$(id -u -n) META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_UID}" "${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^UID:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"Effective user [${ID}] matches [${META}]\"" + +not ok 71 - munge --uid for effective user by name +FAIL: 0012-munge-cmdline.t 71 - munge --uid for effective user by name +# +# local ID=$(id -u -n) META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_UID}" "${ID}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^UID:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${ID}" = "${META}" && +# test_debug "echo \"Effective user [${ID}] matches [${META}]\"" +# + +expecting success: + local ID=$(id -u) META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --uid="${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^UID:/ { gsub(/[()]/, \"\"); print \$3 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"Effective uid [${ID}] matches [${META}]\"" + +not ok 72 - munge --uid for effective user by number +FAIL: 0012-munge-cmdline.t 72 - munge --uid for effective user by number +# +# local ID=$(id -u) META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --uid="${ID}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^UID:/ { gsub(/[()]/, \"\"); print \$3 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${ID}" = "${META}" && +# test_debug "echo \"Effective uid [${ID}] matches [${META}]\"" +# + +skipping test: munge --uid for root user by name via sudo + local ID=root META && + sudo LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" "${MUNGE}" \ + --socket="${MUNGE_SOCKET}" --no-input --uid="${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^UID:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"sudo user [${ID}] matches [${META}]\"" + +ok 73 # skip munge --uid for root user by name via sudo (missing SUDO) +SKIP: 0012-munge-cmdline.t 73 # SKIP munge --uid for root user by name via sudo (missing SUDO) + +skipping test: munge --uid for root user by number via sudo + local ID=0 META && + sudo LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" "${MUNGE}" \ + --socket="${MUNGE_SOCKET}" --no-input --uid="${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^UID:/ { gsub(/[()]/, \"\"); print \$3 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"sudo uid [${ID}] matches [${META}]\"" + +ok 74 # skip munge --uid for root user by number via sudo (missing SUDO) +SKIP: 0012-munge-cmdline.t 74 # SKIP munge --uid for root user by number via sudo (missing SUDO) + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --uid=invalid$$ + +ok 75 - munge --uid for invalid name +PASS: 0012-munge-cmdline.t 75 - munge --uid for invalid name + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --uid=-1 + +ok 76 - munge --uid for invalid number +PASS: 0012-munge-cmdline.t 76 - munge --uid for invalid number + +expecting success: + local ID=$(id -g -n) META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + "${OPT_RESTRICT_GID}" "${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^GID_RESTRICTION:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"GID Restriction GROUP [${ID}] matches [${META}]\"" + +not ok 77 - munge -g by name +FAIL: 0012-munge-cmdline.t 77 - munge -g by name +# +# local ID=$(id -g -n) META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ +# "${OPT_RESTRICT_GID}" "${ID}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^GID_RESTRICTION:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${ID}" = "${META}" && +# test_debug "echo \"GID Restriction GROUP [${ID}] matches [${META}]\"" +# + +expecting success: + local ID=$(id -g -n) META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + "${OPT_RESTRICT_GID}" "${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^GID_RESTRICTION:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"GID Restriction GROUP [${ID}] matches [${META}]\"" + +not ok 78 - munge --restrict-gid by name +FAIL: 0012-munge-cmdline.t 78 - munge --restrict-gid by name +# +# local ID=$(id -g -n) META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ +# "${OPT_RESTRICT_GID}" "${ID}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^GID_RESTRICTION:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${ID}" = "${META}" && +# test_debug "echo \"GID Restriction GROUP [${ID}] matches [${META}]\"" +# + +expecting success: + local ID=$(id -g) META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --restrict-gid="${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^GID_RESTRICTION:/ { gsub(/[()]/, \"\"); print \$3 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"GID Restriction GROUP [${ID}] matches [${META}]\"" + +not ok 79 - munge --restrict-gid by number +FAIL: 0012-munge-cmdline.t 79 - munge --restrict-gid by number +# +# local ID=$(id -g) META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --restrict-gid="${ID}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^GID_RESTRICTION:/ { gsub(/[()]/, \"\"); print \$3 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${ID}" = "${META}" && +# test_debug "echo \"GID Restriction GROUP [${ID}] matches [${META}]\"" +# + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --restrict-gid=invalid$$ + +ok 80 - munge --restrict-gid for invalid name +PASS: 0012-munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Unrecognized group "invalid3502721" +munge: Error: Unrecognized group "-1" +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge-cmdline.t 80 - munge --restrict-gid for invalid name + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --restrict-gid=-1 + +ok 81 - munge --restrict-gid for invalid number +PASS: 0012-munge-cmdline.t 81 - munge --restrict-gid for invalid number + +expecting success: + local ID=$(id -g -n) META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_GID}" "${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^GID:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"Effective group [${ID}] matches [${META}]\"" + +not ok 82 - munge -G for effective group by name +FAIL: 0012-munge-cmdline.t 82 - munge -G for effective group by name +# +# local ID=$(id -g -n) META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_GID}" "${ID}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^GID:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${ID}" = "${META}" && +# test_debug "echo \"Effective group [${ID}] matches [${META}]\"" +# + +expecting success: + local ID=$(id -g -n) META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_GID}" "${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^GID:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"Effective group [${ID}] matches [${META}]\"" + +not ok 83 - munge --gid for effective group by name +FAIL: 0012-munge-cmdline.t 83 - munge --gid for effective group by name +# +# local ID=$(id -g -n) META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_GID}" "${ID}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^GID:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${ID}" = "${META}" && +# test_debug "echo \"Effective group [${ID}] matches [${META}]\"" +# + +expecting success: + local ID=$(id -g) META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --gid="${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^GID:/ { gsub(/[()]/, \"\"); print \$3 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"Effective gid [${ID}] matches [${META}]\"" + +not ok 84 - munge --gid for effective group by number +FAIL: 0012-munge-cmdline.t 84 - munge --gid for effective group by number +# +# local ID=$(id -g) META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --gid="${ID}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^GID:/ { gsub(/[()]/, \"\"); print \$3 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${ID}" = "${META}" && +# test_debug "echo \"Effective gid [${ID}] matches [${META}]\"" +# + +skipping test: munge --gid for root group by name via sudo + local ID=$(id -g -n root) META && + sudo LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" "${MUNGE}" \ + --socket="${MUNGE_SOCKET}" --no-input --gid="${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^GID:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"sudo group [${ID}] matches [${META}]\"" + +ok 85 # skip munge --gid for root group by name via sudo (missing SUDO) +SKIP: 0012-munge-cmdline.t 85 # SKIP munge --gid for root group by name via sudo (missing SUDO) + +skipping test: munge --gid for root group by number via sudo + local ID=0 META && + sudo LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" "${MUNGE}" \ + --socket="${MUNGE_SOCKET}" --no-input --gid="${ID}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^GID:/ { gsub(/[()]/, \"\"); print \$3 }" >meta.$$ && + META=$(cat meta.$$) && + test "${ID}" = "${META}" && + test_debug "echo \"sudo gid [${ID}] matches [${META}]\"" + +ok 86 # skip munge --gid for root group by number via sudo (missing SUDO) +SKIP: 0012-munge-cmdline.t 86 # SKIP munge --gid for root group by number via munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3502721": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Invalid time-to-live 'invalid' +munge: Error: Exceeded maximum time-to-live of 4294967295 seconds +munge: Error: Invalid time-to-live '-2' +munged: Error: Failed to query socket lockfile "/tmp/munged.sock.3502721.lock": No such file or directory (Cannot find running process) +sudo (missing SUDO) + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --gid=invalid$$ + +ok 87 - munge --gid for invalid name +PASS: 0012-munge-cmdline.t 87 - munge --gid for invalid name + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --gid=-1 + +ok 88 - munge --gid for invalid number +PASS: 0012-munge-cmdline.t 88 - munge --gid for invalid number + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_TTL}" 0 | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output + +not ok 89 - munge -t for default value +FAIL: 0012-munge-cmdline.t 89 - munge -t for default value +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_TTL}" 0 | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_TTL}" 0 | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output + +not ok 90 - munge --ttl for default value +FAIL: 0012-munge-cmdline.t 90 - munge --ttl for default value +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input "${OPT_TTL}" 0 | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --ttl=-1 | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output + +not ok 91 - munge --ttl for maximum value +FAIL: 0012-munge-cmdline.t 91 - munge --ttl for maximum value +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --ttl=-1 | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --no-output +# + +expecting success: + local TTL=88 META && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --ttl="${TTL}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | + awk "/^TTL:/ { print \$2 }" >meta.$$ && + META=$(cat meta.$$) && + test "${TTL}" = "${META}" && + test_debug "echo \"TTL [${TTL}] matches [${META}]\"" + +not ok 92 - munge --ttl for non-default value +FAIL: 0012-munge-cmdline.t 92 - munge --ttl for non-default value +# +# local TTL=88 META && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --ttl="${TTL}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" | +# awk "/^TTL:/ { print \$2 }" >meta.$$ && +# META=$(cat meta.$$) && +# test "${TTL}" = "${META}" && +# test_debug "echo \"TTL [${TTL}] matches [${META}]\"" +# + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --ttl=invalid + +ok 93 - munge --ttl for invalid string value +PASS: 0012-munge-cmdline.t 93 - munge --ttl for invalid string value + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --ttl=4294967296 + +ok 94 - munge --ttl for invalid positive number +PASS: 0012-munge-cmdline.t 94 - munge --ttl for invalid positive number + +expecting success: + test_must_fail "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --ttl=-2 + +ok 95 - munge --ttl for invalid negative number +PASS: 0012-munge-cmdline.t 95 - munge --ttl for invalid negative number + +expecting success: + munged_stop_daemon + +not ok 96 - stop munged +FAIL: 0012-munge-cmdline.t 96 - stop munged +# +# munged_stop_daemon +# + +expecting success: + munged_cleanup + +ok 97 - cleanup +PASS: 0012-munge-cmdline.t 97 - cleanup + +# failed 53 among 97 test(s) +1..97 +ERROR: 0012-munge-cmdline.t - exited with status 1 + +ERROR: 0013-unmunge-cmdline +=========================== + +unmunge: Error: Invalid option "--invalid-option" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +unmunge: Error: No credential specified +unmunge: Error: Failed to read from "missing.file.3509525": No such file or directory +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +expecting success: + test_must_fail "${UNMUNGE}" --invalid-option + +ok 1 - unmunge invalid option +PASS: 0013-unmunge-cmdline.t 1 - unmunge invalid option + +expecting success: + "${UNMUNGE}" "${OPT_HELP}" | + grep -q "^Usage:" + +ok 2 - unmunge -h +PASS: 0013-unmunge-cmdline.t 2 - unmunge -h + +expecting success: + "${UNMUNGE}" "${OPT_HELP}" | + grep -q "^Usage:" + +ok 3 - unmunge --help +PASS: 0013-unmunge-cmdline.t 3 - unmunge --help + +expecting success: + "${UNMUNGE}" "${OPT_LICENSE}" | + grep -q "GNU General Public License" + +ok 4 - unmunge -L +PASS: 0013-unmunge-cmdline.t 4 - unmunge -L + +expecting success: + "${UNMUNGE}" "${OPT_LICENSE}" | + grep -q "GNU General Public License" + +ok 5 - unmunge --license +PASS: 0013-unmunge-cmdline.t 5 - unmunge --license + +expecting success: + "${UNMUNGE}" "${OPT_VERSION}" | + grep -q "^munge-[0-9.]*" + +ok 6 - unmunge -V +PASS: 0013-unmunge-cmdline.t 6 - unmunge -V + +expecting success: + "${UNMUNGE}" "${OPT_VERSION}" | + grep -q "^munge-[0-9.]*" + +ok 7 - unmunge --version +PASS: 0013-unmunge-cmdline.t 7 - unmunge --version + +expecting success: + munged_setup && + munged_create_key && + munged_start_daemon + +not ok 8 - start munged +FAIL: 0013-unmunge-cmdline.t 8 - start munged +# +# munged_setup && +# munged_create_key && +# munged_start_daemon +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + "${UNMUNGE}" "${OPT_SOCKET}" "${MUNGE_SOCKET}" >/dev/null + +not ok 9 - unmunge -S +FAIL: 0013-unmunge-cmdline.t 9 - unmunge -S +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | +# "${UNMUNGE}" "${OPT_SOCKET}" "${MUNGE_SOCKET}" >/dev/null +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + "${UNMUNGE}" "${OPT_SOCKET}" "${MUNGE_SOCKET}" >/dev/null + +not ok 10 - unmunge --socket +FAIL: 0013-unmunge-cmdline.t 10 - unmunge --socket +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | +# "${UNMUNGE}" "${OPT_SOCKET}" "${MUNGE_SOCKET}" >/dev/null +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + test_must_fail "${UNMUNGE}" --socket=missing.socket.$$ + +ok 11 - unmunge --socket for missing socket +PASS: 0013-unmunge-cmdline.t 11 - unmunge --socket for missing socket + +expecting success: + touch invalid.socket.file.$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + test_must_fail "${UNMUNGE}" --socket=invalid.socket.file.$$ + +ok 12 - unmunge --socket for invalid socket (file) +PASS: 0013-unmunge-cmdline.t 12 - unmunge --socket for invalid socket (file) + +expecting success: + mkdir invalid.socket.dir.$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + test_must_fail "${UNMUNGE}" --socket=invalid.socket.dir.$$ + +ok 13 - unmunge --socket for invalid socket (directory) +PASS: 0013-unmunge-cmdline.t 13 - unmunge --socket for invalid socket (directory) + +expecting success: + test_must_fail "${UNMUNGE}" --socket="${MUNGE_SOCKET}" /dev/null + +not ok 15 - unmunge -i +FAIL: 0013-unmunge-cmdline.t 15 - unmunge -i +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --output=cred.$$ && +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_INPUT}" cred.$$ \ +# >/dev/null +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --output=cred.$$ && + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_INPUT}" cred.$$ \ + >/dev/null + +not ok 16 - unmunge --input +FAIL: 0013-unmunge-cmdline.t 16 - unmunge --input +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --output=cred.$$ && +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_INPUT}" cred.$$ \ +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +# >/dev/null +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --input=- >/dev/null + +not ok 17 - unmunge --input from stdin via "-" +FAIL: 0013-unmunge-cmdline.t 17 - unmunge --input from stdin via "-" +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --input=- >/dev/null +# + +expecting success: + test_must_fail "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --input=/dev/null + +ok 18 - unmunge --input from /dev/null +PASS: 0013-unmunge-cmdline.t 18 - unmunge --input from /dev/null + +expecting success: + test_must_fail "${UNMUNGE}" --socket="${MUNGE_SOCKET}" \ + --input=missing.file.$$ + +ok 19 - unmunge --input from missing file +PASS: 0013-unmunge-cmdline.t 19 - unmunge --input from missing file + +expecting success: + local PAYLOAD=xyzzy-$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_NO_OUTPUT}" >out.$$ && + test ! -s out.$$ + +not ok 20 - unmunge -n +FAIL: 0013-unmunge-cmdline.t 20 - unmunge -n +# +# local PAYLOAD=xyzzy-$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_NO_OUTPUT}" >out.$$ && +# test ! -s out.$$ +# + +expecting success: + local PAYLOAD=xyzzy-$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_NO_OUTPUT}" >out.$$ && + test ! -s out.$$ + +not ok 21 - unmunge --no-output +FAIL: 0013-unmunge-cmdline.t 21 - unmunge --no-output +# +# local PAYLOAD=xyzzy-$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_NO_OUTPUT}" >out.$$ && +# test ! -s out.$$ +# + +expecting success: + local PAYLOAD=xyzzy-$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_METADATA}" meta.$$ \ + >out.$$ && + grep -q "^STATUS:" meta.$$ && + grep -q -v "^${PAYLOAD}" meta.$$ && + test "$(cat out.$$)" = "${PAYLOAD}" + +not ok 22 - unmunge -m +FAIL: 0013-unmunge-cmdline.t 22 - unmunge -m +# +# local PAYLOAD=xyzzy-$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_METADATA}" meta.$$ \ +# >out.$$ && +# grep -q "^STATUS:" meta.$$ && +# grep -q -v "^${PAYLOAD}" meta.$$ && +# test "$(cat out.$$)" = "${PAYLOAD}" +# + +expecting success: + local PAYLOAD=xyzzy-$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_METADATA}" meta.$$ \ + >out.$$ && + grep -q "^STATUS:" meta.$$ && + grep -q -v "^${PAYLOAD}" meta.$$ && + test "$(cat out.$$)" = "${PAYLOAD}" + +not ok 23 - unmunge --metadata +FAIL: 0013-unmunge-cmdline.t 23 - unmunge --metadata +# +# local PAYLOAD=xyzzy-$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_METADATA}" meta.$$ \ +# >out.$$ && +# grep -q "^STATUS:" meta.$$ && +# grep -q -v "^${PAYLOAD}" meta.$$ && +# test "$(cat out.$$)" = "${PAYLOAD}" +# + +expecting success: + local PAYLOAD=xyzzy-$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --metadata=- >meta.out.$$ && + grep -q "^STATUS:" meta.out.$$ && + grep -q "^${PAYLOAD}" meta.out.$$ + +not ok 24 - unmunge --metadata to stdout via "-" along with payload +FAIL: 0013-unmunge-cmdline.t 24 - unmunge --metadata to stdout via "-" along with payload +# +# local PAYLOAD=xyzzy-$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --metadata=-munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified + >meta.out.$$ && +# grep -q "^STATUS:" meta.out.$$ && +# grep -q "^${PAYLOAD}" meta.out.$$ +# + +expecting success: + local PAYLOAD=xyzzy-$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --metadata=/dev/null >out.$$ && + grep -q -v "^STATUS:" out.$$ && + test "$(cat out.$$)" = "${PAYLOAD}" + +not ok 25 - unmunge --metadata to /dev/null with payload on stdout +FAIL: 0013-unmunge-cmdline.t 25 - unmunge --metadata to /dev/null with payload on stdout +# +# local PAYLOAD=xyzzy-$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --metadata=/dev/null >out.$$ && +# grep -q -v "^STATUS:" out.$$ && +# test "$(cat out.$$)" = "${PAYLOAD}" +# + +expecting success: + local PAYLOAD=xyzzy-$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_OUTPUT}" out.$$ \ + >meta.$$ && + grep -q "^STATUS:" meta.$$ && + grep -q -v "^${PAYLOAD}" meta.$$ && + test "$(cat out.$$)" = "${PAYLOAD}" + +not ok 26 - unmunge -o +FAIL: 0013-unmunge-cmdline.t 26 - unmunge -o +# +# local PAYLOAD=xyzzy-$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_OUTPUT}" out.$$ \ +# >meta.$$ && +# grep -q "^STATUS:" meta.$$ && +# grep -q -v "^${PAYLOAD}" meta.$$ && +# test "$(cat out.$$)" = "${PAYLOAD}" +# + +expecting success: + local PAYLOAD=xyzzy-$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_OUTPUT}" out.$$ \ + >meta.$$ && + grep -q "^STATUS:" meta.$$ && + grep -q -v "^${PAYLOAD}" meta.$$ && + test "$(cat out.$$)" = "${PAYLOAD}" + +not ok 27 - unmunge --output +FAIL: 0013-unmunge-cmdline.t 27 - unmunge --output +# +# local PAYLOAD=xyzzy-$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_OUTPUT}" out.$$ \ +# >meta.$$ && +# grep -q "^STATUS:" meta.$$ && +# grep -q -v "^${PAYLOAD}" meta.$$ && +# test "$(cat out.$$)" = "${PAYLOAD}" +# + +expecting success: + local PAYLOAD=xyzzy-$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --output=- >meta.out.$$ && + grep -q "^STATUS:" meta.out.$$ && + grep -q "^${PAYLOAD}" meta.out.$$ + +not ok 28 - unmunge --output to stdout via "-" along with metadata +FAIL: 0013-unmunge-cmdline.t 28 - unmunge --output to stdout via "-" along with metadata +# +# local PAYLOAD=xyzzy-$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --output=- >meta.out.$$ && +# grep -q "^STATUS:" meta.out.$$ && +# grep -q "^${PAYLOAD}" meta.out.$$ +# + +expecting success: + local PAYLOAD=xyzzy-$$ && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --output=/dev/null >meta.$$ && + grep -q "^STATUS:" meta.$$ && + grep -q -v "${PAYLOAD}" meta.$$ + +not ok 29 - unmunge --output to /dev/null with metadata on stdout +FAIL: 0013-unmunge-cmdline.t 29 - unmunge --output to /dev/null with metadata on stdout +# +# local PAYLOAD=xyzzy-$$ && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --string="${PAYLOAD}" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --output=/dev/null >meta.$$ && +# grep -q "^STATUS:" meta.$$ && +# grep -q -v "${PAYLOAD}" meta.$$ +# + +expecting success: + "${UNMUNGE}" "${OPT_LIST_KEYS}" | + grep -q "^Metadata keys:$" + +ok 30 - unmunge -K +PASS: 0013-unmunge-cmdline.t 30 - unmunge -K + +expecting success: + "${UNMUNGE}" "${OPT_LIST_KEYS}" | + grep -q "^Metadata keys:$" + +ok 31 - unmunge --list-keys +PASS: 0013-unmunge-cmdline.t 31 - unmunge --list-keys + +expecting success: + munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +./sharness.sh: line 384: test: : integer expression expected +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +./sharness.sh: line 384: test: : integer expression expected +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +./sharness.sh: line 384: test: : integer expression expected +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +./sharness.sh: line 384: test: : integer expression expected +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified + local KEY=LENGTH && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_KEYS}" ${KEY} | + awk "/${KEY}:/ { gsub(/:/, \"\"); print \$1 }" >meta.$$ && + test "$(cat meta.$$)" = "${KEY}" + +not ok 32 - unmunge -k +FAIL: 0013-unmunge-cmdline.t 32 - unmunge -k +# +# local KEY=LENGTH && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_KEYS}" ${KEY} | +# awk "/${KEY}:/ { gsub(/:/, \"\"); print \$1 }" >meta.$$ && +# test "$(cat meta.$$)" = "${KEY}" +# + +expecting success: + local KEY=LENGTH && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_KEYS}" ${KEY} | + awk "/${KEY}:/ { gsub(/:/, \"\"); print \$1 }" >meta.$$ && + test "$(cat meta.$$)" = "${KEY}" + +not ok 33 - unmunge --keys +FAIL: 0013-unmunge-cmdline.t 33 - unmunge --keys +# +# local KEY=LENGTH && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_KEYS}" ${KEY} | +# awk "/${KEY}:/ { gsub(/:/, \"\"); print \$1 }" >meta.$$ && +# test "$(cat meta.$$)" = "${KEY}" +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --keys=invalid + +not ok 34 - unmunge --keys for ignoring invalid key +FAIL: 0013-unmunge-cmdline.t 34 - unmunge --keys for ignoring invalid key +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --keys=invalid +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --keys=STATUS | + awk "/STATUS:/ { gsub(/:/, \"\"); print \$1 }" >meta.$$ && + test STATUS = "$(cat meta.$$)" + +not ok 35 - unmunge --keys for single uppercase key +FAIL: 0013-unmunge-cmdline.t 35 - unmunge --keys for single uppercase key +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --keys=STATUS | +# awk "/STATUS:/ { gsub(/:/, \"\"); print \$1 }" >meta.$$ && +# test STATUS = "$(cat meta.$$)" +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --keys=status | + awk "/STATUS:/ { gsub(/:/, \"\"); print \$1 }" >meta.$$ && + test STATUS = "$(cat meta.$$)" + +not ok 36 - unmunge --keys for single lowercase key +FAIL: 0013-unmunge-cmdline.t 36 - unmunge --keys for single lowercase key +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --keys=status | +# awk "/STATUS:/ { gsub(/:/, \"\"); print \$1 }" >meta.$$ && +# test STATUS = "$(cat meta.$$)" +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" \ + --keys="STATUS${FS}UID${FS}GID" | + awk "/^(STATUS|UID|GID):/ { i++ } END { print i }" >cnt.$$ && + test "$(cat cnt.$$)" -eq 3 + +not ok 37 - unmunge --keys for multiple keys split by " " +FAIL: 0013-unmunge-cmdline.t 37 - unmunge --keys for multiple keys split by " " +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" \ +# --keys="STATUS${FS}UID${FS}GID" | +# awk "/^(STATUS|UID|GID):/ { i++ } END { print i }" >cnt.$$ && +# test "$(cat cnt.$$)" -eq 3 +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" \ + --keys="STATUS${FS}UID${FS}GID" | + awk "/^(STATUS|UID|GID):/ { i++ } END { print i }" >cnt.$$ && + test "$(cat cnt.$$)" -eq 3 + +not ok 38 - unmunge --keys for multiple keys split by "," +FAIL: 0013-unmunge-cmdline.t 38 - unmunge --keys for multiple keys split by "," +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" \ +# munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munge: Error: Failed to access "/tmp/munged.sock.3509525": No such file or directory (Did you start munged?) +unmunge: Error: No credential specified +munged: Error: Failed to query socket lockfile "/tmp/munged.sock.3509525.lock": No such file or directory (Cannot find running process) + --keys="STATUS${FS}UID${FS}GID" | +# awk "/^(STATUS|UID|GID):/ { i++ } END { print i }" >cnt.$$ && +# test "$(cat cnt.$$)" -eq 3 +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" \ + --keys="STATUS${FS}UID${FS}GID" | + awk "/^(STATUS|UID|GID):/ { i++ } END { print i }" >cnt.$$ && + test "$(cat cnt.$$)" -eq 3 + +not ok 39 - unmunge --keys for multiple keys split by ";" +FAIL: 0013-unmunge-cmdline.t 39 - unmunge --keys for multiple keys split by ";" +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" \ +# --keys="STATUS${FS}UID${FS}GID" | +# awk "/^(STATUS|UID|GID):/ { i++ } END { print i }" >cnt.$$ && +# test "$(cat cnt.$$)" -eq 3 +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" \ + --keys="STATUS${FS}UID${FS}GID" | + awk "/^(STATUS|UID|GID):/ { i++ } END { print i }" >cnt.$$ && + test "$(cat cnt.$$)" -eq 3 + +not ok 40 - unmunge --keys for multiple keys split by "." +FAIL: 0013-unmunge-cmdline.t 40 - unmunge --keys for multiple keys split by "." +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" \ +# --keys="STATUS${FS}UID${FS}GID" | +# awk "/^(STATUS|UID|GID):/ { i++ } END { print i }" >cnt.$$ && +# test "$(cat cnt.$$)" -eq 3 +# + +expecting success: + >fail.$$ && + "${UNMUNGE}" --list-keys | + awk "/^ [A-Z_]+\$/ { print \$1 }" | + while read KEY EXTRA; do + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --restrict-uid="$(id -u)" --restrict-gid="$(id -g)" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --keys="${KEY}" | + awk "/${KEY}:/ { gsub(/:/, \"\"); print \$1 }" >meta.$$ + if test "$(cat meta.$$)" = "${KEY}"; then + test_debug "echo \"Tested unmunge --keys=${KEY}\"" + else + echo "Error: unmunge --keys=${KEY} failed" + echo "${KEY}" >>fail.$$ + fi + done && + test ! -s fail.$$ + +Error: unmunge --keys=STATUS failed +Error: unmunge --keys=ENCODE_HOST failed +Error: unmunge --keys=ENCODE_TIME failed +Error: unmunge --keys=DECODE_TIME failed +Error: unmunge --keys=TTL failed +Error: unmunge --keys=CIPHER failed +Error: unmunge --keys=MAC failed +Error: unmunge --keys=ZIP failed +Error: unmunge --keys=UID failed +Error: unmunge --keys=GID failed +Error: unmunge --keys=UID_RESTRICTION failed +Error: unmunge --keys=GID_RESTRICTION failed +Error: unmunge --keys=LENGTH failed +not ok 41 - unmunge --keys for each key +FAIL: 0013-unmunge-cmdline.t 41 - unmunge --keys for each key +# +# >fail.$$ && +# "${UNMUNGE}" --list-keys | +# awk "/^ [A-Z_]+\$/ { print \$1 }" | +# while read KEY EXTRA; do +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ +# --restrict-uid="$(id -u)" --restrict-gid="$(id -g)" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --keys="${KEY}" | +# awk "/${KEY}:/ { gsub(/:/, \"\"); print \$1 }" >meta.$$ +# if test "$(cat meta.$$)" = "${KEY}"; then +# test_debug "echo \"Tested unmunge --keys=${KEY}\"" +# else +# echo "Error: unmunge --keys=${KEY} failed" +# echo "${KEY}" >>fail.$$ +# fi +# done && +# test ! -s fail.$$ +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --restrict-uid="$(id -u)" --restrict-gid="$(id -g)" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_NUMERIC}" \ + --metadata=meta.$$ && + ! grep -q -v "^[A-Z_]*: *[0-9.]*$" meta.$$ + +not ok 42 - unmunge -N +FAIL: 0013-unmunge-cmdline.t 42 - unmunge -N +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ +# --restrict-uid="$(id -u)" --restrict-gid="$(id -g)" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_NUMERIC}" \ +# --metadata=meta.$$ && +# ! grep -q -v "^[A-Z_]*: *[0-9.]*$" meta.$$ +# + +expecting success: + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ + --restrict-uid="$(id -u)" --restrict-gid="$(id -g)" | + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_NUMERIC}" \ + --metadata=meta.$$ && + ! grep -q -v "^[A-Z_]*: *[0-9.]*$" meta.$$ + +not ok 43 - unmunge --numeric +FAIL: 0013-unmunge-cmdline.t 43 - unmunge --numeric +# +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input \ +# --restrict-uid="$(id -u)" --restrict-gid="$(id -g)" | +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" "${OPT_NUMERIC}" \ +# --metadata=meta.$$ && +# ! grep -q -v "^[A-Z_]*: *[0-9.]*$" meta.$$ +# + +expecting success: + munged_stop_daemon + +not ok 44 - stop munged +FAIL: 0013-unmunge-cmdline.t 44 - stop munged +# +# munged_stop_daemon +# + +expecting success: + munged_cleanup + +ok 45 - cleanup +PASS: 0013-unmunge-cmdline.t 45 - cleanup + +# failed 29 among 45 test(s) +1..45 +ERROR: 0013-unmunge-cmdline.t - exited with status 1 + +PASS: 0015-mungekey-cmdline +=========================== + +expecting success: + test_must_fail "${MUNGEKEY}" -9 2>err.$$ && + grep -q "Option \"-9\" is invalid" err.$$ + +ok 1 - mungekey invalid short option +PASS: 0015-mungekey-cmdline.t 1 - mungekey invalid short option + +expecting success: + test_must_fail "${MUNGEKEY}" --invalid-option 2>err.$$ && + grep -q "Option \"--invalid-option\" is invalid" err.$$ + +ok 2 - mungekey invalid long option +PASS: 0015-mungekey-cmdline.t 2 - mungekey invalid long option + +expecting success: + test_must_fail "${MUNGEKEY}" - 2>err.$$ && + grep -q "Failed to process command-line" err.$$ + +ok 3 - mungekey invalid non-printable short option +PASS: 0015-mungekey-cmdline.t 3 - mungekey invalid non-printable short option + +skipping test: mungekey unimplemented option + test_must_fail "${MUNGEKEY}" -8 2>err.$$ && + grep -q "Option \"-8\" is not implemented" err.$$ + +ok 4 # skip mungekey unimplemented option (missing DEBUG) +SKIP: 0015-mungekey-cmdline.t 4 # SKIP mungekey unimplemented option (missing DEBUG) + +expecting success: + test_must_fail "${MUNGEKEY}" unrecognized-option 2>err.$$ && + grep -q "Option \"unrecognized-option\" is unrecognized" err.$$ + +ok 5 - mungekey unrecognized option +PASS: 0015-mungekey-cmdline.t 5 - mungekey unrecognized option + +expecting success: + test_must_fail "${MUNGEKEY}" - 2>err.$$ && + grep -q "Option \"-\" is unrecognized" err.$$ + +ok 6 - mungekey lone hyphen option +PASS: 0015-mungekey-cmdline.t 6 - mungekey lone hyphen option + +expecting success: + "${MUNGEKEY}" "${OPT_HELP}" >out.$$ && + grep -q "^Usage:" out.$$ + +ok 7 - mungekey -h +PASS: 0015-mungekey-cmdline.t 7 - mungekey -h + +expecting success: + "${MUNGEKEY}" "${OPT_HELP}" >out.$$ && + grep -q "^Usage:" out.$$ + +ok 8 - mungekey --help +PASS: 0015-mungekey-cmdline.t 8 - mungekey --help + +expecting success: + "${MUNGEKEY}" "${OPT_LICENSE}" >out.$$ && + grep -q "GNU General Public License" out.$$ + +ok 9 - mungekey -L +PASS: 0015-mungekey-cmdline.t 9 - mungekey -L + +expecting success: + "${MUNGEKEY}" "${OPT_LICENSE}" >out.$$ && + grep -q "GNU General Public License" out.$$ + +ok 10 - mungekey --license +PASS: 0015-mungekey-cmdline.t 10 - mungekey --license + +expecting success: + "${MUNGEKEY}" "${OPT_VERSION}" >out.$$ && + grep -q "^munge-[0-9.]*" out.$$ + +ok 11 - mungekey -V +PASS: 0015-mungekey-cmdline.t 11 - mungekey -V + +expecting success: + "${MUNGEKEY}" "${OPT_VERSION}" >out.$$ && + grep -q "^munge-[0-9.]*" out.$$ + +ok 12 - mungekey --version +PASS: 0015-mungekey-cmdline.t 12 - mungekey --version + +expecting success: + local KEYFILE=key.$$ && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" "${OPT_CREATE}" --keyfile="${KEYFILE}" && + test -f "${KEYFILE}" && + test "$(find ${KEYFILE} -perm 0600)" = "${KEYFILE}" + +ok 13 - mungekey -c +PASS: 0015-mungekey-cmdline.t 13 - mungekey -c + +expecting success: + local KEYFILE=key.$$ && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" "${OPT_CREATE}" --keyfile="${KEYFILE}" && + test -f "${KEYFILE}" && + test "$(find ${KEYFILE} -perm 0600)" = "${KEYFILE}" + +ok 14 - mungekey --create +PASS: 0015-mungekey-cmdline.t 14 - mungekey --create + +expecting success: + local KEYFILE=key.$$ NUM_BITS=1000 FILE_SIZE && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --create --keyfile="${KEYFILE}" \ + "${OPT_BITS}" "${NUM_BITS}" && + test -f "${KEYFILE}" && + FILE_SIZE=$(wc -c < "${KEYFILE}") && + test "${FILE_SIZE}" -eq "$(( ${NUM_BITS} / 8 ))" + +ok 15 - mungekey -b +PASS: 0015-mungekey-cmdline.t 15 - mungekey -b + +expecting success: + local KEYFILE=key.$$ NUM_BITS=1000 FILE_SIZE && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --create --keyfile="${KEYFILE}" \ + "${OPT_BITS}" "${NUM_BITS}" && + test -f "${KEYFILE}" && + FILE_SIZE=$(wc -c < "${KEYFILE}") && + test "${FILE_SIZE}" -eq "$(( ${NUM_BITS} / 8 ))" + +ok 16 - mungekey --bits +PASS: 0015-mungekey-cmdline.t 16 - mungekey --bits + +expecting success: + local KEYFILE=key.$$ NUM_BYTES=128 NUM_BITS NUM_BYTES_ROUNDED FILE_SIZE && + NUM_BITS=$(( (${NUM_BYTES} * 8) + 1 )) && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --create --keyfile="${KEYFILE}" --bits="${NUM_BITS}" && + test -f "${KEYFILE}" && + NUM_BYTES_ROUNDED=$(( (${NUM_BITS} + 7) / 8 )) && + test "${NUM_BYTES_ROUNDED}" = "$(( ${NUM_BYTES} + 1 ))" && + FILE_SIZE=$(wc -c < "${KEYFILE}") && + test "${FILE_SIZE}" -eq "${NUM_BYTES_ROUNDED}" + +ok 17 - mungekey --bits rounding-up to next byte +PASS: 0015-mungekey-cmdline.t 17 - mungekey --bits rounding-up to next byte + +expecting success: + local KEYFILE=key.$$ DEFS NUM_BYTES NUM_BITS FILE_SIZE && + DEFS="${MUNGE_SOURCE_DIR}/src/libcommon/munge_defs.h" && + test -f "${DEFS}" && + NUM_BYTES=$(awk "/MUNGE_KEY_LEN_DFL_BYTES/ { print \$3 }" "${DEFS}") && + NUM_BITS=$(( ${NUM_BYTES} * 8 )) && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --create --keyfile="${KEYFILE}" && + test -f "${KEYFILE}" && + FILE_SIZE=$(wc -c < "${KEYFILE}") && + test "${FILE_SIZE}" -eq "${NUM_BYTES}" + +ok 18 - mungekey --bits unspecified and using default +PASS: 0015-mungekey-cmdline.t 18 - mungekey --bits unspecified and using default + +expecting success: + local KEYFILE=key.$$ DEFS NUM_BYTES NUM_BITS FILE_SIZE && + DEFS="${MUNGE_SOURCE_DIR}/src/libcommon/munge_defs.h" && + test -f "${DEFS}" && + NUM_BYTES=$(awk "/MUNGE_KEY_LEN_MIN_BYTES/ { print \$3 }" "${DEFS}") && + NUM_BITS=$(( ${NUM_BYTES} * 8 )) && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --create --keyfile="${KEYFILE}" --bits="${NUM_BITS}" && + test -f "${KEYFILE}" && + FILE_SIZE=$(wc -c < "${KEYFILE}") && + test "${FILE_SIZE}" -eq "${NUM_BYTES}" + +ok 19 - mungekey --bits with minimum value +PASS: 0015-mungekey-cmdline.t 19 - mungekey --bits with minimum value + +expecting success: + local KEYFILE=key.$$ DEFS NUM_BYTES NUM_BITS FILE_SIZE && + DEFS="${MUNGE_SOURCE_DIR}/src/libcommon/munge_defs.h" && + test -f "${DEFS}" && + NUM_BYTES=$(awk "/MUNGE_KEY_LEN_MAX_BYTES/ { print \$3 }" "${DEFS}") && + NUM_BITS=$(( ${NUM_BYTES} * 8 )) && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --create --keyfile="${KEYFILE}" --bits="${NUM_BITS}" && + test -f "${KEYFILE}" && + FILE_SIZE=$(wc -c < "${KEYFILE}") && + test "${FILE_SIZE}" -eq "${NUM_BYTES}" + +ok 20 - mungekey --bits with maximum value +PASS: 0015-mungekey-cmdline.t 20 - mungekey --bits with maximum value + +expecting success: + local DEFS NUM_BYTES NUM_BITS && + DEFS="${MUNGE_SOURCE_DIR}/src/libcommon/munge_defs.h" && + test -f "${DEFS}" && + NUM_BYTES=$(awk "/MUNGE_KEY_LEN_MIN_BYTES/ { print \$3 }" "${DEFS}") && + NUM_BITS=$(( (${NUM_BYTES} * 8) - 1 )) && + test_must_fail "${MUNGEKEY}" --create --keyfile=key.$$ \ + --bits="${NUM_BITS}" 2>err.$$ && + grep -q "Option \"--bits\" has invalid value \"${NUM_BITS}\"" err.$$ + +ok 21 - mungekey --bits below minimum value +PASS: 0015-mungekey-cmdline.t 21 - mungekey --bits below minimum value + +expecting success: + local DEFS NUM_BYTES NUM_BITS && + DEFS="${MUNGE_SOURCE_DIR}/src/libcommon/munge_defs.h" && + test -f "${DEFS}" && + NUM_BYTES=$(awk "/MUNGE_KEY_LEN_MAX_BYTES/ { print \$3 }" "${DEFS}") && + NUM_BITS=$(( (${NUM_BYTES} * 8) + 1 )) && + test_must_fail "${MUNGEKEY}" --create --keyfile=key.$$ \ + --bits="${NUM_BITS}" 2>err.$$ && + grep -q "Option \"--bits\" has invalid value \"${NUM_BITS}\"" err.$$ + +ok 22 - mungekey --bits above maximum value +PASS: 0015-mungekey-cmdline.t 22 - mungekey --bits above maximum value + +expecting success: + local DEFS NUM_BYTES NUM_BITS && + DEFS="${MUNGE_SOURCE_DIR}/src/libcommon/munge_defs.h" && + test -f "${DEFS}" && + NUM_BYTES=$(awk "/MUNGE_KEY_LEN_MIN_BYTES/ { print \$3 }" "${DEFS}") && + NUM_BITS=$(( ${NUM_BYTES} * 8 )) && + test_must_fail "${MUNGEKEY}" --create --keyfile=key.$$ --bits=1 2>err.$$ && + grep -q -- "${NUM_BITS}-" err.$$ + +ok 23 - mungekey --bits error message with minimum value +PASS: 0015-mungekey-cmdline.t 23 - mungekey --bits error message with minimum value + +expecting success: + local DEFS NUM_BYTES NUM_BITS && + DEFS="${MUNGE_SOURCE_DIR}/src/libcommon/munge_defs.h" && + test -f "${DEFS}" && + NUM_BYTES=$(awk "/MUNGE_KEY_LEN_MAX_BYTES/ { print \$3 }" "${DEFS}") && + NUM_BITS=$(( ${NUM_BYTES} * 8 )) && + test_must_fail "${MUNGEKEY}" --create --keyfile=key.$$ --bits=1 2>err.$$ && + grep -q -- "-${NUM_BITS}" err.$$ + +ok 24 - mungekey --bits error message with maximum value +PASS: 0015-mungekey-cmdline.t 24 - mungekey --bits error message with maximum value + +expecting success: + test_must_fail "${MUNGEKEY}" --create --keyfile=key.$$ --bits=0 2>err.$$ && + grep -q "Option \"--bits\" has invalid value" err.$$ + +ok 25 - mungekey --bits with zero value +PASS: 0015-mungekey-cmdline.t 25 - mungekey --bits with zero value + +expecting success: + test_must_fail "${MUNGEKEY}" --create --keyfile=key.$$ --bits=-1 \ + 2>err.$$ && + grep -q "Option \"--bits\" has invalid value" err.$$ + +ok 26 - mungekey --bits with negative value +PASS: 0015-mungekey-cmdline.t 26 - mungekey --bits with negative value + +expecting success: + test_must_fail "${MUNGEKEY}" --create --keyfile=key.$$ -b 2>err.$$ && + grep -q "Option \"-b\" is missing a required argument" err.$$ + +ok 27 - mungekey -b without required value +PASS: 0015-mungekey-cmdline.t 27 - mungekey -b without required value + +expecting success: + test_must_fail "${MUNGEKEY}" --create --keyfile=key.$$ --bits 2>err.$$ && + grep -q "Option \"--bits\" is missing a required argument" err.$$ + +ok 28 - mungekey --bits without required value +PASS: 0015-mungekey-cmdline.t 28 - mungekey --bits without required value + +expecting success: + local KEYFILE=key.$$ && + rm -f "${KEYFILE}" && + touch "${KEYFILE}" && + test ! -s "${KEYFILE}" && + "${MUNGEKEY}" --create --keyfile="${KEYFILE}" "${OPT_FORCE}" && + test -s "${KEYFILE}" + +ok 29 - mungekey -f +PASS: 0015-mungekey-cmdline.t 29 - mungekey -f + +expecting success: + local KEYFILE=key.$$ && + rm -f "${KEYFILE}" && + touch "${KEYFILE}" && + test ! -s "${KEYFILE}" && + "${MUNGEKEY}" --create --keyfile="${KEYFILE}" "${OPT_FORCE}" && + test -s "${KEYFILE}" + +ok 30 - mungekey --force +PASS: 0015-mungekey-cmdline.t 30 - mungekey --force + +expecting success: + local KEYFILE=key.$$ && + rm -f "${KEYFILE}" && + echo -n xyzzy-$$ > "${KEYFILE}" && + chmod 0600 "${KEYFILE}" && + test_must_fail "${MUNGEKEY}" --create --keyfile="${KEYFILE}" 2>err.$$ && + grep -q "File exists" err.$$ && + test "$(cat ${KEYFILE})" = xyzzy-$$ + +ok 31 - mungekey without --force and with existing keyfile +PASS: 0015-mungekey-cmdline.t 31 - mungekey without --force and with existing keyfile + +expecting success: + local KEYFILE=key.$$ && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --create "${OPT_KEYFILE}" "${KEYFILE}" && + test -f "${KEYFILE}" + +ok 32 - mungekey -k +PASS: 0015-mungekey-cmdline.t 32 - mungekey -k + +expecting success: + local KEYFILE=key.$$ && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --create "${OPT_KEYFILE}" "${KEYFILE}" && + test -f "${KEYFILE}" + +ok 33 - mungekey --keyfile +PASS: 0015-mungekey-cmdline.t 33 - mungekey --keyfile + +expecting success: + test_must_fail "${MUNGEKEY}" --create -k 2>err.$$ && + grep -q "Option \"-k\" is missing a required argument" err.$$ + +ok 34 - mungekey -k without required value +PASS: 0015-mungekey-cmdline.t 34 - mungekey -k without required value + +expecting success: + test_must_fail "${MUNGEKEY}" --create --keyfile 2>err.$$ && + grep -q "Option \"--keyfile\" is missing a required argument" err.$$ + +ok 35 - mungekey --keyfile without required value +PASS: 0015-mungekey-cmdline.t 35 - mungekey --keyfile without required value + +expecting success: + local KEYFILE=key.$$ && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --create --keyfile="${KEYFILE}" "${OPT_VERBOSE}" \ + 2>err.$$ && + test -f "${KEYFILE}" && + grep -q "Created \"${KEYFILE}\"" err.$$ + +ok 36 - mungekey -v +PASS: 0015-mungekey-cmdline.t 36 - mungekey -v + +expecting success: + local KEYFILE=key.$$ && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --create --keyfile="${KEYFILE}" "${OPT_VERBOSE}" \ + 2>err.$$ && + test -f "${KEYFILE}" && + grep -q "Created \"${KEYFILE}\"" err.$$ + +ok 37 - mungekey --verbose +PASS: 0015-mungekey-cmdline.t 37 - mungekey --verbose + +expecting success: + local KEYFILE=key.$$ NUM_BITS=1000 NUM_BITS_USED && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --create --keyfile="${KEYFILE}" --bits="${NUM_BITS}" \ + --verbose 2>err.$$ && + test -f "${KEYFILE}" && + NUM_BITS_USED=$(sed -n -e "s/.* \([0-9][0-9]*\)-bit.*/\\1/p" err.$$) && + test "${NUM_BITS_USED}" -eq "${NUM_BITS}" + +ok 38 - mungekey --verbose number of bits +PASS: 0015-mungekey-cmdline.t 38 - mungekey --verbose number of bits + +expecting success: + local KEYFILE=key.$$ && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --create --keyfile="${KEYFILE}" >out.$$ 2>err.$$ && + test -f "${KEYFILE}" && + test ! -s out.$$ && + test ! -s err.$$ + +ok 39 - mungekey without --verbose +PASS: 0015-mungekey-cmdline.t 39 - mungekey without --verbose + +expecting success: + test_must_fail "${MUNGEKEY}" --create --keyfile=key.$$ -b 1 2>err.$$ && + grep -q "Option \"-b\" has invalid value" err.$$ + +ok 40 - mungekey long_ind re-initialized for getopt_long() +PASS: 0015-mungekey-cmdline.t 40 - mungekey long_ind re-initialized for getopt_long() + +expecting success: + local KEYFILE=key.$$ && + rm -f "${KEYFILE}" && + test ! -f "${KEYFILE}" && + "${MUNGEKEY}" --keyfile="${KEYFILE}" && + test -f "${KEYFILE}" + +ok 41 - mungekey defaults to create key +PASS: 0015-mungekey-cmdline.t 41 - mungekey defaults to create key + +# passed all 41 test(s) +1..41 + +SKIP: 0021-munged-valgrind +========================== + +1..0 # SKIP skipping valgrind tests; long test not specified +SKIP: 0021-munged-valgrind.t - skipping valgrind tests; long test not specified + +SKIP: 0022-munge-valgrind +========================= + +1..0 # SKIP skipping valgrind tests; long test not specified +SKIP: 0022-munge-valgrind.t - skipping valgrind tests; long test not specified + +SKIP: 0023-unmunge-valgrind +=========================== + +1..0 # SKIP skipping valgrind tests; long test not specified +SKIP: 0023-unmunge-valgrind.t - skipping valgrind tests; long test not specified + +SKIP: 0025-mungekey-valgrind +============================ + +1..0 # SKIP skipping valgrind tests; long test not specified +SKIP: 0025-mungekey-valgrind.t - skipping valgrind tests; long test not specified + +ERROR: 0100-munged-lock +======================= + +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +cat: /tmp/munge-test-3490292/trash-directory.0100-munged-lock/run-3513959/munged.pid.3513959: No such file or directory +error: list of process IDs must follow -p + +Usage: + ps [options] + + Try 'ps --help ' + or 'ps --help ' + for additional help text. + +For more details see ps(1). +find: '/tmp/munged.sock.3513959.lock': No such file or directory +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +cat: /tmp/munge-test-3490292/trash-directory.0100-munged-lock/run-3513959/munged.pid.3513959: No such file or directory +error: list of process IDs must follow -p + +Usage: + ps [options] + + Try 'ps --help ' + or 'ps --help ' + for additional help text. + +For more details see ps(1). +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +cat: /tmp/munge-test-3490292/trash-directory.0100-munged-lock/run-3513959/munged.pid.3513959: No such file or directory +expecting success: + munged_setup && + munged_create_key && + MUNGE_LOCKFILE="${MUNGE_SOCKET}.lock" + +ok 1 - setup +PASS: 0100-munged-lock.t 1 - setup + +expecting success: + local MASK && + MASK=$(umask) && + umask 0 && + munged_start_daemon && + umask "${MASK}" + +not ok 2 - start munged with open umask +FAIL: 0100-munged-lock.t 2 - start munged with open umask +# +# local MASK && +# MASK=$(umask) && +# umask 0 && +# munged_start_daemon && +# umask "${MASK}" +# + +expecting success: + ps -p "$(cat "${MUNGE_PIDFILE}")" -ww | grep munged + +not ok 3 - check pidfile after munged success +FAIL: 0100-munged-lock.t 3 - check pidfile after munged success +# +# ps -p "$(cat "${MUNGE_PIDFILE}")" -ww | grep munged +# + +expecting success: + test -e "${MUNGE_LOCKFILE}" + +not ok 4 - check lockfile existence +FAIL: 0100-munged-lock.t 4 - check lockfile existence +# +# test -e "${MUNGE_LOCKFILE}" +# + +expecting success: + test -f "${MUNGE_LOCKFILE}" + +not ok 5 - check lockfile type +FAIL: 0100-munged-lock.t 5 - check lockfile type +# +# test -f "${MUNGE_LOCKFILE}" +# + +expecting success: + test "$(find ${MUNGE_LOCKFILE} -perm 0200)" = "${MUNGE_LOCKFILE}" + +not ok 6 - check lockfile permissions +FAIL: 0100-munged-lock.t 6 - check lockfile permissions +# +# test "$(find ${MUNGE_LOCKFILE} -perm 0200)" = "${MUNGE_LOCKFILE}" +# + +expecting success: + test_must_fail munged_start_daemon t-keep-process && + egrep "Error:.* Failed to lock \"${MUNGE_LOCKFILE}\"" "${MUNGE_LOGFILE}" + +not ok 7 - start munged with in-use socket +FAIL: 0100-munged-lock.t 7 - start munged with in-use socket +# +# test_must_fail munged_start_daemon t-keep-process && +# egrep "Error:.* Failed to lock \"${MUNGE_LOCKFILE}\"" "${MUNGE_LOGFILE}" +# + +expecting success: + ps -p "$(cat "${MUNGE_PIDFILE}")" -ww | grep munged + +not ok 8 - check pidfile after munged failure +FAIL: 0100-munged-lock.t 8 - check pidfile after munged failure +# +# ps -p "$(cat "${MUNGE_PIDFILE}")" -ww | grep munged +# + +expecting success: + munged_stop_daemon 2>&1 | grep "Terminated daemon" + +not ok 9 - stop munged using lockfile-derived pid +FAIL: 0100-munged-lock.t 9 - stop munged using lockfile-derived pid +# +# munged_stop_daemon 2>&1 | grep "Terminated daemon" +# + +expecting success: + test "x${MUNGE_LOCKFILE}" != x && + test ! -f "${MUNGE_LOCKFILE}" + +ok 10 - check lockfile removal +PASS: 0100-munged-lock.t 10 - check lockfile removal + +expecting success: + rm -f "${MUNGE_LOCKFILE}" && + touch "${MUNGE_LOCKFILE}" && + chmod 0600 "${MUNGE_LOCKFILE}" && + test_must_fail munged_start_daemon && + egrep "Error:.* \"${MUNGE_LOCKFILE}\" .* permissions for write by user" \ + "${MUNGE_LOGFILE}" + +not ok 11 - start munged with 0600 bogus lockfile +FAIL: 0100-munged-lock.t 11 - start munged with 0600 bogus lockfile +# +# rm -f "${MUNGE_LOCKFILE}" && +# touch "${MUNGE_LOCKFILE}" && +# chmod 0600 "${MUNGE_LOCKFILE}" && +# test_must_fail munged_start_daemon && +# egrep "Error:.* \"${MUNGE_LOCKFILE}\" .* permissions for write by user" \ +# "${MUNGE_LOGFILE}" +# + +expecting success: + rm -f "${MUNGE_LOCKFILE}" && + touch "${MUNGE_LOCKFILE}" && + chmod 0222 "${MUNGE_LOCKFILE}" && + test_must_fail munged_start_daemon && + egrep "Error:.* \"${MUNGE_LOCKFILE}\" .* permissions for write by user" \ + "${MUNGE_LOGFILE}" + +not ok 12 - start munged with 0222 bogus lockfile +FAIL: 0100-munged-lock.t 12 - start munged with 0222 bogus lockfile +# +# rm -f "${MUNGE_LOCKFILE}" && +# touch "${MUNGE_LOCKFILE}" && +# chmod 0222 "${MUNGE_LOCKFILE}" && +# test_must_fail munged_start_daemon && +# egrep "Error:.* \"${MUNGE_LOCKFILE}\" .* permissions for write by user" \ +# "${MUNGE_LOGFILE}" +# + +expecting success: + rm -f "${MUNGE_LOCKFILE}" && + echo "$$" > "${MUNGE_LOCKFILE}" && + chmod 0200 "${MUNGE_LOCKFILE}" && + test -s "${MUNGE_LOCKFILE}" && + munged_start_daemon + +not ok 13 - start munged with inactive non-zero-length lockfile +FAIL: 0100-munged-lock.t 13 - start munged wimunged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +th inactive non-zero-length lockfile +# +# rm -f "${MUNGE_LOCKFILE}" && +# echo "$$" > "${MUNGE_LOCKFILE}" && +# chmod 0200 "${MUNGE_LOCKFILE}" && +# test -s "${MUNGE_LOCKFILE}" && +# munged_start_daemon +# + +expecting success: + test -f "${MUNGE_LOCKFILE}" && + test ! -s "${MUNGE_LOCKFILE}" + +not ok 14 - check for lockfile truncation after successful start +FAIL: 0100-munged-lock.t 14 - check for lockfile truncation after successful start +# +# test -f "${MUNGE_LOCKFILE}" && +# test ! -s "${MUNGE_LOCKFILE}" +# + +expecting success: + local PID && + PID=$(cat "${MUNGE_PIDFILE}") && + ps -p "${PID}" -ww | grep munged && + while kill -s KILL "${PID}" 2>/dev/null; do :; done && + ! ps -p "${PID}" >/dev/null + +not ok 15 - stop munged using sigkill to prevent cleanup +FAIL: 0100-munged-lock.t 15 - stop munged using sigkill to prevent cleanup +# +# local PID && +# PID=$(cat "${MUNGE_PIDFILE}") && +# ps -p "${PID}" -ww | grep munged && +# while kill -s KILL "${PID}" 2>/dev/null; do :; done && +# ! ps -p "${PID}" >/dev/null +# + +expecting success: + test -S "${MUNGE_SOCKET}" + +not ok 16 - check for leftover socket from unclean shutdown +FAIL: 0100-munged-lock.t 16 - check for leftover socket from unclean shutdown +# +# test -S "${MUNGE_SOCKET}" +# + +expecting success: + test -f "${MUNGE_LOCKFILE}" + +ok 17 - check for leftover lockfile from unclean shutdown +PASS: 0100-munged-lock.t 17 - check for leftover lockfile from unclean shutdown + +expecting success: + test -f "${MUNGE_PIDFILE}" + +not ok 18 - check for leftover pidfile from unclean shutdown +FAIL: 0100-munged-lock.t 18 - check for leftover pidfile from unclean shutdown +# +# test -f "${MUNGE_PIDFILE}" +# + +expecting success: + retry 5 "munged_start_daemon" + +not ok 19 - start munged with leftover socket from unclean shutdown +FAIL: 0100-munged-lock.t 19 - start munged with leftover socket from unclean shutdown +# +# retry 5 "munged_start_daemon" +# + +expecting success: + munged_stop_daemon 2>&1 | grep "Terminated daemon" + +not ok 20 - stop munged +FAIL: 0100-munged-lock.t 20 - stop munged +# +# munged_stop_daemon 2>&1 | grep "Terminated daemon" +# + +expecting success: + test "x${MUNGE_LOCKFILE}" != x && + test ! -f "${MUNGE_LOCKFILE}" + +not ok 21 - check lockfile removal again +FAIL: 0100-munged-lock.t 21 - check lockfile removal again +# +# test "x${MUNGE_LOCKFILE}" != x && +# test ! -f "${MUNGE_LOCKFILE}" +# + +skipping test: stop unprivileged munged as root + munged_start_daemon && + if munged_stop_daemon \ + t-exec="sudo LD_LIBRARY_PATH=${LD_LIBRARY_PATH}"; then :; else + munged_stop_daemon; false; + fi + +ok 22 # skip stop unprivileged munged as root (missing SUDO) +SKIP: 0100-munged-lock.t 22 # SKIP stop unprivileged munged as root (missing SUDO) + +expecting success: + munged_cleanup + +ok 23 - cleanup +PASS: 0100-munged-lock.t 23 - cleanup + +# failed 18 among 23 test(s) +1..23 +ERROR: 0100-munged-lock.t - exited with status 1 + +ERROR: 0101-munged-security-socket +================================== + +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +expecting success: + MUNGE_SOCKETDIR="${TMPDIR:-"/tmp"}/munge-$$/socketdir-$$" && + munged_setup && + munged_create_key + +ok 1 - setup +PASS: 0101-munged-security-socket.t 1 - setup + +expecting success: + test "$(find "${MUNGE_SOCKETDIR}" -type d -perm 1777)" = \ + "${MUNGE_SOCKETDIR}" && + munged_start_daemon && + munged_stop_daemon + +not ok 2 - socket dir perms +FAIL: 0101-munged-security-socket.t 2 - socket dir perms +# +# test "$(find "${MUNGE_SOCKETDIR}" -type d -perm 1777)" = \ +# "${MUNGE_SOCKETDIR}" && +# munged_start_daemon && +# munged_stop_daemon +# + +expecting success: + local TYPE PERM && + munged_start_daemon && + TYPE=$(find "${MUNGE_SOCKET}" -type s) && + PERM=$(find "${MUNGE_SOCKET}" -perm 0777) && + munged_stop_daemon && + test "${TYPE}" = "${MUNGE_SOCKET}" && + test "${PERM}" = "${MUNGE_SOCKET}" + +not ok 3 - socket type and perms +FAIL: 0101-munged-security-socket.t 3 - socket type and perms +# +# local TYPE PERM && +# munged_start_daemon && +# TYPE=$(find "${MUNGE_SOCKET}" -type s) && +# PERM=$(find "${MUNGE_SOCKET}" -perm 0777) && +# munged_stop_daemon && +# test "${TYPE}" = "${MUNGE_SOCKET}" && +# test "${PERM}" = "${MUNGE_SOCKET}" +# + +expecting success: + local DIR_UID MY_EUID && + DIR_UID=$(ls -d -l -n "${MUNGE_SOCKETDIR}" | awk "{ print \$3 }") && + MY_EUID=$(id -u) && + test "${DIR_UID}" = "${MY_EUID}" && + munged_start_daemon && + munged_stop_daemon + +not ok 4 - socket dir owned by euid +FAIL: 0101-munged-security-socket.t 4 - socket dir owned by euid +# +# local DIR_UID MY_EUID && +# DIR_UID=$(ls -d -l -n "${MUNGE_SOCKETDIR}" | awk "{ print \$3 }") && +# MY_EUID=$(id -u) && +# test "${DIR_UID}" = "${MY_EUID}" && +# munged_start_daemon && +# munged_stop_daemon +# + +skipping test: alt socket dir setup + ALT_SOCKETDIR="${TMPDIR:-"/tmp"}/munge-$$/alt-socketdir-$$" && + mkdir -m 1777 -p "${ALT_SOCKETDIR}" && + ALT_SOCKET="${ALT_SOCKETDIR}/munged.sock.$$" && + test_set_prereq ALT + +ok 5 # skip alt socket dir setup (missing SUDO) +SKIP: 0101-munged-security-socket.t 5 # SKIP alt socket dir setup (missing SUDO) + +skipping test: socket dir owned by root + sudo chown root "${ALT_SOCKETDIR}" && + munged_start_daemon --socket="${ALT_SOCKET}" && + munged_stop_daemon --socket="${ALT_SOCKET}" + +ok 6 # skip socket dir owned by root (missing SUDO,ALT of ALT,SUDO) +SKIP: 0101-munged-security-socket.t 6 # SKIP socket dir owned by root (missing SUDO,ALT of ALT,SUDO) + +skipping test: socket dir owned by other failure + test "$(id -u)" != "1" && + sudo chown 1 "${ALT_SOCKETDIR}" && + test_must_fail munged_start_daemon --socket="${ALT_SOCKET}" && + egrep "Error:.* Socket.* invalid ownership of \"${ALT_SOCKETDIR}\"" \ + "${MUNGE_LOGFILE}" + +ok 7 # skip socket dir owned by other failure (missing SUDO,ALT of ALT,SUDO) +SKIP: 0101-munged-security-socket.t 7 # SKIP socket dir owned by other failure (missing SUDO,ALT of ALT,SUDO) + +skipping test: socket dir owned by other override + test "$(id -u)" != "1" && + sudo chown 1 "${ALT_SOCKETDIR}" && + munged_start_daemon --socket="${ALT_SOCKET}" --force && + munged_stop_daemon --socket="${ALT_SOCKET}" && + egrep "Warning:.* Socket.* invalid ownership of \"${ALT_SOCKETDIR}\"" \ + "${MUNGE_LOGFILE}" + +ok 8 # skip socket dir owned by other override (missing SUDO,ALT of ALT,SUDO) +SKIP: 0101-munged-security-socket.t 8 # SKIP socket dir owned by other override (missing SUDO,ALT of ALT,SUDO) + +skipping test: alt socket dir cleanup + rmdir "${ALT_SOCKETDIR}" && + unset ALT_SOCKETDIR && + unset ALT_SOCKET + +ok 9 # skip alt socket dir cleanup (missing ALT) +SKIP: 0101-munged-security-socket.t 9 # SKIP alt socket dir cleanup (missing ALT) + +expecting success: + local GID && + GID=$(ls -d -l -n "${MUNGE_SOCKETDIR}" | awk "{ print \$4 }") && + chmod 0771 "${MUNGE_SOCKETDIR}" && + munged_start_daemon --trusted-group="${GID}" && + munged_stop_daemon && + chmod 1777 "${MUNGE_SOCKETDIR}" + +not ok 10 - socket dir writable by trusted gromunged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Notice: Terminated daemon bound to socket "/tmp/munge-3518338/socketdir-3518338/munged.sock.3518338" (pid 3519648) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Notice: Terminated daemon bound to socket "/tmp/munge-3518338/socketdir-3518338/munged.sock.3518338" (pid 3520089) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Notice: Terminated daemon bound to socket "/tmp/munge-3518338/socketdir-3518338/munged.sock.3518338" (pid 3520587) +up +FAIL: 0101-munged-security-socket.t 10 - socket dir writable by trusted group +# +# local GID && +# GID=$(ls -d -l -n "${MUNGE_SOCKETDIR}" | awk "{ print \$4 }") && +# chmod 0771 "${MUNGE_SOCKETDIR}" && +# munged_start_daemon --trusted-group="${GID}" && +# munged_stop_daemon && +# chmod 1777 "${MUNGE_SOCKETDIR}" +# + +expecting success: + local GID && + GID=$(ls -d -l -n "${MUNGE_SOCKETDIR}" | awk "{ print \$4 }") && + GID=$(( ${GID} + 1 )) && + chmod 0771 "${MUNGE_SOCKETDIR}" && + test_must_fail munged_start_daemon --trusted-group="${GID}" && + chmod 1777 "${MUNGE_SOCKETDIR}" + +ok 11 - socket dir writable by untrusted group failure +PASS: 0101-munged-security-socket.t 11 - socket dir writable by untrusted group failure + +expecting success: + chmod 0771 "${MUNGE_SOCKETDIR}" && + test_must_fail munged_start_daemon && + chmod 1777 "${MUNGE_SOCKETDIR}" && + egrep "Error:.* group-writable permissions without sticky bit set" \ + "${MUNGE_LOGFILE}" + +2024-01-08 01:03:46 +0000 Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +ok 12 - socket dir writable by group failure +PASS: 0101-munged-security-socket.t 12 - socket dir writable by group failure + +expecting success: + chmod 0771 "${MUNGE_SOCKETDIR}" && + munged_start_daemon --force && + munged_stop_daemon && + chmod 1777 "${MUNGE_SOCKETDIR}" && + egrep "Warning:.* group-writable permissions without sticky bit set" \ + "${MUNGE_LOGFILE}" + +2024-01-08 01:03:47 +0000 Warning: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +2024-01-08 01:03:47 +0000 Warning: Keyfile is insecure: group-writable permissions without sticky bit set on "/" +2024-01-08 01:03:47 +0000 Warning: Socket is insecure: group-writable permissions without sticky bit set on "/tmp/munge-3518338/socketdir-3518338" +2024-01-08 01:03:47 +0000 Warning: PIDfile is insecure: group-writable permissions without sticky bit set on "/" +ok 13 - socket dir writable by group override +PASS: 0101-munged-security-socket.t 13 - socket dir writable by group override + +expecting success: + chmod 1771 "${MUNGE_SOCKETDIR}" && + munged_start_daemon && + munged_stop_daemon && + chmod 1777 "${MUNGE_SOCKETDIR}" + +not ok 14 - socket dir writable by group with sticky bit +FAIL: 0101-munged-security-socket.t 14 - socket dir writable by group with sticky bit +# +# chmod 1771 "${MUNGE_SOCKETDIR}" && +# munged_start_daemon && +# munged_stop_daemon && +# chmod 1777 "${MUNGE_SOCKETDIR}" +# + +expecting success: + chmod 0717 "${MUNGE_SOCKETDIR}" && + test_must_fail munged_start_daemon && + chmod 1777 "${MUNGE_SOCKETDIR}" && + egrep "Error:.* world-writable permissions without sticky bit set" \ + "${MUNGE_LOGFILE}" + +not ok 15 - socket dir writable by other failure +FAIL: 0101-munged-security-socket.t 15 - socket dir writable by other failure +# +# chmod 0717 "${MUNGE_SOCKETDIR}" && +# test_must_fail munged_start_daemon && +# chmod 1777 "${MUNGE_SOCKETDIR}" && +# egrep "Error:.* world-writable permissions without sticky bit set" \ +# "${MUNGE_LOGFILE}" +# + +expecting success: + chmod 0717 "${MUNGE_SOCKETDIR}" && + munged_start_daemon --force && + munged_stop_daemon && + chmod 1777 "${MUNGE_SOCKETDIR}" && + egrep "Warning:.* world-writable permissions without sticky bit set" \ + "${MUNGE_LOGFILE}" + +2024-01-08 01:03:47 +0000 Warning: Socket is insecure: world-writable permissions without sticky bit set on "/tmp/munge-3518338/socketdir-3518338" +ok 16 - socket dir writable by other override +PASS: 0101-munged-security-socket.t 16 - socket dir writable by other override + +expecting success: + chmod 1717 "${MUNGE_SOCKETDIR}" && + munged_start_daemon && + munged_stop_daemon && + chmod 1777 "${MUNGE_SOCKETDIR}" + +not ok 17 - socket dir writable by other with sticky bit +FAIL: 0101-munged-security-socket.t 17 - socket dir writable by other with sticky bit +# +# chmod 1717 "${MUNGE_SOCKETDIR}" && +# munged_start_daemon && +# munged_stop_daemon && +# chmod 1777 "${MUNGE_SOCKETDIR}" +# + +expecting success: + chmod 0700 "${MUNGE_SOCKETDIR}" && + test_must_fail munged_start_daemon && + chmod 1777 "${MUNGE_SOCKETDIR}" && + egrep "Error:.* Socket is inaccessible.* \"${MUNGE_SOCKETDIR}\"" \ + "${MUNGE_LOGFILE}" + +not ok 18 - socket dir inaccessible by all failure +FAIL: 0101-munged-security-socket.t 18 - socket dir inaccessible by all failure +# +# chmod 0700 "${MUNGE_SOCKETDIR}" && +# test_must_fail munged_start_daemon && +# chmod 1777 "${MUNGE_SOCKETDIR}" && +# egrep "Error:.* Socket is inaccessible.* \"${MUNGE_SOCKETDIR}\"" \ +# "${MUNGE_LOGFILE}" +# + +expecting success: + chmod 0700 "${MUNGE_SOCKETDIR}" && + munged_start_daemon --force && + munged_stop_daemon && + chmod 1777 "${MUNGE_SOCKETDIR}" && + egrep "Warning:.* Socket is inaccessible.* \"${MUNGE_SOCKETDIR}\"" \ + "${MUNGE_LOGFILE}" + +2024-01-08 01:03:48 +0000 Warning: Socket is inaccessible: execute permissions for all required on "/tmp/munge-3518338/socketdir-3518338" +ok 19 - socket dir inaccessible by all override +PASS: 0101-munged-security-socket.t 19 - socket dir inaccessible by all override + +expecting success: + rmdir "${MUNGE_SOCKETDIR}" && + if rmdir "$(dirname "${MUNGE_SOCKETDIR}")" 2>/dev/null; then :; fi && + munged_cleanup + +ok 20 - cleanup +PASS: 0101-munged-security-socket.t 20 - cleanup + +# failed 8 among 20 test(s) +1..20 +ERROR: 0101-munged-security-socket.t - exited with status 1 + +ERROR: 0102-munged-security-keyfile +=================================== + +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: Keyfile is insecure: "/tmp/munge-test-3490292/trash-directory.0102-munged-security-keyfile/etc-3520759/munged.key.3520759.non-regular-file" must be a regular file (type=0040000) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3520759" (pid 3521531) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +expecting success: + munged_setup && + munged_create_key + +ok 1 - setup +PASS: 0102-munged-security-keyfile.t 1 - setup + +expecting success: + test -f "${MUNGE_KEYFILE}" && + munged_start_daemon && + munged_stop_daemon + +not ok 2 - keyfile regular file +FAIL: 0102-munged-security-keyfile.t 2 - keyfile regular file +# +# test -f "${MUNGE_KEYFILE}" && +# munged_start_daemon && +# munged_stop_daemon +# + +expecting success: + local MUNGE_KEYFILE && + MUNGE_KEYFILE="${MUNGE_KEYDIR}/munged.key.$$.missing" && + test_must_fail munged_start_daemon && + egrep "Error:.* Failed to find keyfile.*: No such file" "${MUNGE_LOGFILE}" + +not ok 3 - keyfile missing failure +FAIL: 0102-munged-security-keyfile.t 3 - keyfile missing failure +# +# local MUNGE_KEYFILE && +# MUNGE_KEYFILE="${MUNGE_KEYDIR}/munged.key.$$.missing" && +# test_must_fail munged_start_daemon && +# egrep "Error:.* Failed to find keyfile.*: No such file" "${MUNGE_LOGFILE}" +# + +expecting success: + local MUNGE_KEYFILE && + MUNGE_KEYFILE="${MUNGE_KEYDIR}/munged.key.$$.non-regular-file" && + rm -r -f "${MUNGE_KEYFILE}" && + mkdir "${MUNGE_KEYFILE}" && + test_must_fail munged_start_daemon && + egrep "Error:.* Keyfile.* must be a regular file" "${MUNGE_LOGFILE}" && + rmdir "${MUNGE_KEYFILE}" + +not ok 4 - keyfile non-regular-file failure +FAIL: 0102-munged-security-keyfile.t 4 - keyfile non-regular-file failure +# +# local MUNGE_KEYFILE && +# MUNGE_KEYFILE="${MUNGE_KEYDIR}/munged.key.$$.non-regular-file" && +# rm -r -f "${MUNGE_KEYFILE}" && +# mkdir "${MUNGE_KEYFILE}" && +# test_must_fail munged_start_daemon && +# egrep "Error:.* Keyfile.* must be a regular file" "${MUNGE_LOGFILE}" && +# rmdir "${MUNGE_KEYFILE}" +# + +expecting success: + local MUNGE_KEYFILE && + MUNGE_KEYFILE="${MUNGE_KEYDIR}/munged.key.$$.non-regular-file" && + rm -r -f "${MUNGE_KEYFILE}" && + mkdir "${MUNGE_KEYFILE}" && + test_must_fail munged_start_daemon --force && + egrep "Error:.* Keyfile.* must be a regular file" "${MUNGE_LOGFILE}" && + rmdir "${MUNGE_KEYFILE}" + +2024-01-08 01:03:51 +0000 Error: Keyfile is insecure: "/tmp/munge-test-3490292/trash-directory.0102-munged-security-keyfile/etc-3520759/munged.key.3520759.non-regular-file" must be a regular file (type=0040000) +ok 5 - keyfile non-regular-file override failure +PASS: 0102-munged-security-keyfile.t 5 - keyfile non-regular-file override failure + +expecting success: + local MY_KEYFILE && + MY_KEYFILE="${MUNGE_KEYFILE}.symlink" && + ln -s -f "${MUNGE_KEYFILE}" "${MY_KEYFILE}" && + test_must_fail munged_start_daemon --key-file="${MY_KEYFILE}" && + egrep "Error:.* Keyfile.* a symbolic link" "${MUNGE_LOGFILE}" + +not ok 6 - keyfile symlink to regular file failure +FAIL: 0102-munged-security-keyfile.t 6 - keyfile symlink to regular file failure +# +# local MY_KEYFILE && +# MY_KEYFILE="${MUNGE_KEYFILE}.symlink" && +# ln -s -f "${MUNGE_KEYFILE}" "${MY_KEYFILE}" && +# test_must_fail munged_start_daemon --key-file="${MY_KEYFILE}" && +# egrep "Error:.* Keyfile.* a symbolic link" "${MUNGE_LOGFILE}" +# + +expecting success: + local MY_KEYFILE && + MY_KEYFILE="${MUNGE_KEYFILE}.symlink" && + ln -s -f "${MUNGE_KEYFILE}" "${MY_KEYFILE}" && + munged_start_daemon --key-file="${MY_KEYFILE}" --force && + munged_stop_daemon && + egrep "Warning:.* Keyfile.* a symbolic link" "${MUNGE_LOGFILE}" + +2024-01-08 01:03:51 +0000 Warning: Keyfile is insecure: "/tmp/munge-test-3490292/trash-directory.0102-munged-security-keyfile/etc-3520759/munged.key.3520759.symlink" should not be a symbolic link +ok 7 - keyfile symlink to regular file override +PASS: 0102-munged-security-keyfile.t 7 - keyfile symlink to regular file override + +expecting success: + local KEY_UID MY_EUID && + KEY_UID=$(ls -l -n "${MUNGE_KEYFILE}" | awk "{ print \$3 }") && + MY_EUID=$(id -u) && + test "${KEY_UID}" = "${MY_EUID}" && + munged_start_daemon && + munged_stop_daemon + +not ok 8 - keyfile owned by euid +FAIL: 0102-munged-security-keyfile.t 8 - keyfile owned by euid +# +# local KEYmunged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3520759" (pid 3522367) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3520759" (pid 3522631) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3520759" (pid 3522896) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3520759" (pid 3523218) +_UID MY_EUID && +# KEY_UID=$(ls -l -n "${MUNGE_KEYFILE}" | awk "{ print \$3 }") && +# MY_EUID=$(id -u) && +# test "${KEY_UID}" = "${MY_EUID}" && +# munged_start_daemon && +# munged_stop_daemon +# + +checking known breakage: + local GID && + GID=$(ls -l -n "${MUNGE_KEYFILE}" | awk "{ print \$4 }") && + chmod 0640 "${MUNGE_KEYFILE}" && + munged_start_daemon --trusted-group="${GID}" && + munged_stop_daemon + +not ok 9 - keyfile readable by trusted group # TODO known breakage +XFAIL: 0102-munged-security-keyfile.t 9 - keyfile readable by trusted group # TODO known breakage + +expecting success: + local GID && + GID=$(ls -l -n "${MUNGE_KEYFILE}" | awk "{ print \$4 }") && + GID=$(( ${GID} + 1 )) && + chmod 0640 "${MUNGE_KEYFILE}" && + test_must_fail munged_start_daemon --trusted-group="${GID}" + +ok 10 - keyfile readable by untrusted group failure +PASS: 0102-munged-security-keyfile.t 10 - keyfile readable by untrusted group failure + +checking known breakage: + local GID && + GID=$(ls -l -n "${MUNGE_KEYFILE}" | awk "{ print \$4 }") && + chmod 0620 "${MUNGE_KEYFILE}" && + munged_start_daemon --trusted-group="${GID}" && + munged_stop_daemon + +not ok 11 - keyfile writable by trusted group # TODO known breakage +XFAIL: 0102-munged-security-keyfile.t 11 - keyfile writable by trusted group # TODO known breakage + +expecting success: + local GID && + GID=$(ls -l -n "${MUNGE_KEYFILE}" | awk "{ print \$4 }") && + GID=$(( ${GID} + 1 )) && + chmod 0620 "${MUNGE_KEYFILE}" && + test_must_fail munged_start_daemon --trusted-group="${GID}" + +ok 12 - keyfile writable by untrusted group failure +PASS: 0102-munged-security-keyfile.t 12 - keyfile writable by untrusted group failure + +expecting success: + chmod 0640 "${MUNGE_KEYFILE}" && + test_must_fail munged_start_daemon && + egrep "Error:.* Keyfile.* readable.* by.* group" "${MUNGE_LOGFILE}" + +not ok 13 - keyfile readable by group failure +FAIL: 0102-munged-security-keyfile.t 13 - keyfile readable by group failure +# +# chmod 0640 "${MUNGE_KEYFILE}" && +# test_must_fail munged_start_daemon && +# egrep "Error:.* Keyfile.* readable.* by.* group" "${MUNGE_LOGFILE}" +# + +expecting success: + chmod 0640 "${MUNGE_KEYFILE}" && + munged_start_daemon --force && + munged_stop_daemon && + egrep "Warning:.* Keyfile.* readable.* by.* group" "${MUNGE_LOGFILE}" + +2024-01-08 01:03:53 +0000 Warning: Keyfile is insecure: "/tmp/munge-test-3490292/trash-directory.0102-munged-security-keyfile/etc-3520759/munged.key.3520759" should not be readable or writable by group (perms=0640) +ok 14 - keyfile readable by group override +PASS: 0102-munged-security-keyfile.t 14 - keyfile readable by group override + +expecting success: + chmod 0620 "${MUNGE_KEYFILE}" && + test_must_fail munged_start_daemon && + egrep "Error:.* Keyfile.* writable.* by.* group" "${MUNGE_LOGFILE}" + +not ok 15 - keyfile writable by group failure +FAIL: 0102-munged-security-keyfile.t 15 - keyfile writable by group failure +# +# chmod 0620 "${MUNGE_KEYFILE}" && +# test_must_fail munged_start_daemon && +# egrep "Error:.* Keyfile.* writable.* by.* group" "${MUNGE_LOGFILE}" +# + +expecting success: + chmod 0620 "${MUNGE_KEYFILE}" && + munged_start_daemon --force && + munged_stop_daemon && + egrep "Warning:.* Keyfile.* writable.* by.* group" "${MUNGE_LOGFILE}" + +2024-01-08 01:03:54 +0000 Warning: Keyfile is insecure: "/tmp/munge-test-3490292/trash-directory.0102-munged-security-keyfile/etc-3520759/munged.key.3520759" should not be readable or writable by group (perms=0620) +ok 16 - keyfile writable by group override +PASS: 0102-munged-security-keyfile.t 16 - keyfile writable by group override + +expecting success: + chmod 0604 "${MUNGE_KEYFILE}" && + test_must_fail munged_start_daemon && + egrep "Error:.* Keyfile.* readable.* by.* other" "${MUNGE_LOGFILE}" + +not ok 17 - keyfile readable by other failure +FAIL: 0102-munged-security-keyfile.t 17 - keyfile readable by other failure +# +# chmod 0604 "${MUNGE_KEYFILE}" && +# test_must_fail munged_start_daemon && +# egremunged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +p "Error:.* Keyfile.* readable.* by.* other" "${MUNGE_LOGFILE}" +# + +expecting success: + chmod 0604 "${MUNGE_KEYFILE}" && + munged_start_daemon --force && + munged_stop_daemon && + egrep "Warning:.* Keyfile.* readable.* by.* other" "${MUNGE_LOGFILE}" + +2024-01-08 01:03:55 +0000 Warning: Keyfile is insecure: "/tmp/munge-test-3490292/trash-directory.0102-munged-security-keyfile/etc-3520759/munged.key.3520759" should not be readable or writable by other (perms=0604) +ok 18 - keyfile readable by other override +PASS: 0102-munged-security-keyfile.t 18 - keyfile readable by other override + +expecting success: + chmod 0602 "${MUNGE_KEYFILE}" && + test_must_fail munged_start_daemon && + egrep "Error:.* Keyfile.* writable.* by.* other" "${MUNGE_LOGFILE}" + +not ok 19 - keyfile writable by other failure +FAIL: 0102-munged-security-keyfile.t 19 - keyfile writable by other failure +# +# chmod 0602 "${MUNGE_KEYFILE}" && +# test_must_fail munged_start_daemon && +# egrep "Error:.* Keyfile.* writable.* by.* other" "${MUNGE_LOGFILE}" +# + +expecting success: + chmod 0602 "${MUNGE_KEYFILE}" && + munged_start_daemon --force && + munged_stop_daemon && + egrep "Warning:.* Keyfile.* writable.* by.* other" "${MUNGE_LOGFILE}" + +2024-01-08 01:03:56 +0000 Warning: Keyfile is insecure: "/tmp/munge-test-3490292/trash-directory.0102-munged-security-keyfile/etc-3520759/munged.key.3520759" should not be readable or writable by other (perms=0602) +ok 20 - keyfile writable by other override +PASS: 0102-munged-security-keyfile.t 20 - keyfile writable by other override + +expecting success: + chmod 0600 "${MUNGE_KEYFILE}" && + munged_start_daemon && + munged_stop_daemon + +not ok 21 - keyfile secure perms +FAIL: 0102-munged-security-keyfile.t 21 - keyfile secure perms +# +# chmod 0600 "${MUNGE_KEYFILE}" && +# munged_start_daemon && +# munged_stop_daemon +# + +expecting success: + local DIR_UID MY_EUID && + DIR_UID=$(ls -d -l -n "${MUNGE_KEYDIR}" | awk "{ print \$3 }") && + MY_EUID=$(id -u) && + test "${DIR_UID}" = "${MY_EUID}" && + munged_start_daemon && + munged_stop_daemon + +not ok 22 - keyfile dir owned by euid +FAIL: 0102-munged-security-keyfile.t 22 - keyfile dir owned by euid +# +# local DIR_UID MY_EUID && +# DIR_UID=$(ls -d -l -n "${MUNGE_KEYDIR}" | awk "{ print \$3 }") && +# MY_EUID=$(id -u) && +# test "${DIR_UID}" = "${MY_EUID}" && +# munged_start_daemon && +# munged_stop_daemon +# + +skipping test: alt keyfile dir setup + ALT_KEYDIR="${TMPDIR:-"/tmp"}/munge-$$/alt-etc-$$" && + mkdir -m 0755 -p "${ALT_KEYDIR}" && + ALT_KEYFILE="${ALT_KEYDIR}/munged.key.$$" && + cp -p "${MUNGE_KEYFILE}" "${ALT_KEYFILE}" && + test_set_prereq ALT + +ok 23 # skip alt keyfile dir setup (missing SUDO) +SKIP: 0102-munged-security-keyfile.t 23 # SKIP alt keyfile dir setup (missing SUDO) + +skipping test: keyfile dir owned by root + sudo chown root "${ALT_KEYDIR}" && + munged_start_daemon --key-file="${ALT_KEYFILE}" && + munged_stop_daemon + +ok 24 # skip keyfile dir owned by root (missing SUDO,ALT of ALT,SUDO) +SKIP: 0102-munged-security-keyfile.t 24 # SKIP keyfile dir owned by root (missing SUDO,ALT of ALT,SUDO) + +skipping test: keyfile dir owned by other failure + test "$(id -u)" != "1" && + sudo chown 1 "${ALT_KEYDIR}" && + test_must_fail munged_start_daemon --key-file="${ALT_KEYFILE}" && + egrep "Error:.* Keyfile.* invalid ownership of \"${ALT_KEYDIR}\"" \ + "${MUNGE_LOGFILE}" + +ok 25 # skip keyfile dir owned by other failure (missing SUDO,ALT of ALT,SUDO) +SKIP: 0102-munged-security-keyfile.t 25 # SKIP keyfile dir owned by other failure (missing SUDO,ALT of ALT,SUDO) + +skipping test: keyfile dir owned by other override + test "$(id -u)" != "1" && + sudo chown 1 "${ALT_KEYDIR}" && + munged_start_daemon --key-file="${ALT_KEYFILE}" --force && + munged_stop_daemon && + egrep "Warning:.* Keyfile.* invalid ownership of \"${ALT_KEYDIR}\"" \ + "${MUNGE_LOGFILE}" + +ok 26 # skip keyfile dir owned by other override (missing SUDO,ALT of ALT,SUDO) +SKIP: 0102-munged-securitymunged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3520759" (pid 3523885) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3520759" (pid 3524247) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +-keyfile.t 26 # SKIP keyfile dir owned by other override (missing SUDO,ALT of ALT,SUDO) + +skipping test: alt keyfile dir cleanup + sudo rm -r -f "${ALT_KEYDIR}" && + if rmdir "$(dirname "${ALT_KEYDIR}")" 2>/dev/null; then :; fi && + unset ALT_KEYDIR && + unset ALT_KEYFILE + +ok 27 # skip alt keyfile dir cleanup (missing SUDO,ALT of ALT,SUDO) +SKIP: 0102-munged-security-keyfile.t 27 # SKIP alt keyfile dir cleanup (missing SUDO,ALT of ALT,SUDO) + +expecting success: + local GID && + GID=$(ls -d -l -n "${MUNGE_KEYDIR}" | awk "{ print \$4 }") && + chmod 0770 "${MUNGE_KEYDIR}" && + munged_start_daemon --trusted-group="${GID}" && + munged_stop_daemon && + chmod 0755 "${MUNGE_KEYDIR}" + +not ok 28 - keyfile dir writable by trusted group +FAIL: 0102-munged-security-keyfile.t 28 - keyfile dir writable by trusted group +# +# local GID && +# GID=$(ls -d -l -n "${MUNGE_KEYDIR}" | awk "{ print \$4 }") && +# chmod 0770 "${MUNGE_KEYDIR}" && +# munged_start_daemon --trusted-group="${GID}" && +# munged_stop_daemon && +# chmod 0755 "${MUNGE_KEYDIR}" +# + +expecting success: + local GID && + GID=$(ls -d -l -n "${MUNGE_KEYDIR}" | awk "{ print \$4 }") && + GID=$(( ${GID} + 1 )) && + chmod 0770 "${MUNGE_KEYDIR}" && + test_must_fail munged_start_daemon --trusted-group="${GID}" && + chmod 0755 "${MUNGE_KEYDIR}" + +ok 29 - keyfile dir writable by untrusted group failure PASS: 0102-munged-security-keyfile.t 29 - keyfile dir writable by untrusted group failure + +expecting success: + chmod 0770 "${MUNGE_KEYDIR}" && + test_must_fail munged_start_daemon && + chmod 0755 "${MUNGE_KEYDIR}" && + egrep "Error:.* group-writable permissions without sticky bit set" \ + "${MUNGE_LOGFILE}" + +2024-01-08 01:03:57 +0000 Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +ok 30 - keyfile dir writable by group failure PASS: 0102-munged-security-keyfile.t 30 - keyfile dir writable by group failure + +expecting success: + chmod 0770 "${MUNGE_KEYDIR}" && + munged_start_daemon --force && + munged_stop_daemon && + chmod 0755 "${MUNGE_KEYDIR}" && + egrep "Warning:.* group-writable permissions without sticky bit set" \ + "${MUNGE_LOGFILE}" + +2024-01-08 01:03:58 +0000 Warning: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +2024-01-08 01:03:58 +0000 Warning: Keyfile is insecure: group-writable permissions without sticky bit set on "/tmp/munge-test-3490292/trash-directory.0102-munged-security-keyfile/etc-3520759" +2024-01-08 01:03:58 +0000 Warning: Socket is insecure: group-writable permissions without sticky bit set on "/" +2024-01-08 01:03:58 +0000 Warning: PIDfile is insecure: group-writable permissions without sticky bit set on "/" +ok 31 - keyfile dir writable by group override PASS: 0102-munged-security-keyfile.t 31 - keyfile dir writable by group override -PASS: 0102-munged-security-keyfile.t 32 - keyfile dir writable by group with sticky bit -PASS: 0102-munged-security-keyfile.t 33 - keyfile dir writable by other failure + +expecting success: + chmod 1770 "${MUNGE_KEYDIR}" && + munged_start_daemon && + munged_stop_daemon && + chmod 0755 "${MUNGE_KEYDIR}" + +not ok 32 - keyfile dir writable by group with sticky bit +FAIL: 0102-munged-security-keyfile.t 32 - keyfile dir writable by group with sticky bit +# +# chmod 1770 "${MUNGE_KEYDIR}" && +# munged_start_daemon && +# munged_stop_daemon && +# chmod 0755 "${MUNGE_KEYDIR}" +# + +expecting success: + chmod 0707 "${MUNGE_KEYDIR}" && + test_must_fail munged_start_daemon && + chmod 0755 "${MUNGE_KEYDIR}" && + egrep "Error:.* world-writable permissions without sticky bit set" \ + "${MUNGE_LOGFILE}" + +not ok 33 - keyfile dir writable by other failure +FAIL: 0102-munged-security-keyfile.t 33 - keyfile dir writable by other failure +# +# chmod 0707 "${MUNGE_KEYDIR}" && +# test_must_fail munged_start_daemon && +# chmod 0755 "${MUNGE_KEYDIR}" && +# egrep "Error:.* world-writable permissions without sticky bit set" \ +# "${MUNGE_LOGFILE}" +# + +expecting success: + chmod 0707 "${MUNGE_KEYDIR}" && + munged_start_daemon --force && + munged_stop_daemon && + chmod 0755 "${MUNGE_KEYDIR}" && + egrep "Warning:.* world-writable permissions without sticky bit set" \ + "${MUNGE_LOGFILE}" + +2024-01-08 01:03:59 +0000 Warning: Keyfile is insecure: world-writable permissions without sticky bit set on "/tmp/munge-test-3490292/trash-directory.0102-munged-security-keyfile/etc-3520759" +ok 34 - keyfile dir writable by other override PASS: 0102-munged-security-keyfile.t 34 - keyfile dir writable by other override -PASS: 0102-munged-security-keyfile.t 35 - keyfile dir writable by other with sticky bit + +expecting success: + chmod 1707 "${MUNGE_KEYDIR}" && + munged_start_daemon && + munged_stop_daemon && + chmod 0755 "${MUNGE_KEYDIR}" + +not ok 35 - keyfile dir writable by other with sticky bit +FAIL: 0102-munged-security-keyfile.t 35 - keyfile dir writable by other with sticky bit +# +# chmod 1707 "${MUNGE_KEYDIR}" && +# munged_start_daemon && +# munged_stop_daemon && +# chmod 0755 "${MUNGE_KEYDIR}" +# + +expecting success: + munged_cleanup + +ok 36 - cleanup PASS: 0102-munged-security-keyfile.t 36 - cleanup + +# still have 2 known breakage(s) +# failed 15 among remaining 34 test(s) +1..36 +ERROR: 0102-munged-security-keyfile.t - exited with status 1 + +ERROR: 0103-munged-security-logfile +=================================== + +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3524456" (pid 3525054) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3524456" (pid 3525547) +expecting success: + munged_setup && + munged_create_key + +ok 1 - setup PASS: 0103-munged-security-logfile.t 1 - setup -PASS: 0103-munged-security-logfile.t 2 - logfile regular file + +expecting success: + local INODE0 INODE1 && + rm -f "${MUNGE_LOGFILE}" && + touch "${MUNGE_LOGFILE}" && + INODE0=$(ls -i "${MUNGE_LOGFILE}" | awk "{ print \$1 }") && + munged_start_daemon t-keep-logfile && + munged_stop_daemon && + INODE1=$(ls -i "${MUNGE_LOGFILE}" | awk "{ print \$1 }") && + test "${INODE0}" -eq "${INODE1}" && + test -s "${MUNGE_LOGFILE}" + +not ok 2 - logfile regular file +FAIL: 0103-munged-security-logfile.t 2 - logfile regular file +# +# local INODE0 INODE1 && +# rm -f "${MUNGE_LOGFILE}" && +# touch "${MUNGE_LOGFILE}" && +# INODE0=$(ls -i "${MUNGE_LOGFILE}" | awk "{ print \$1 }") && +# munged_start_daemon t-keep-logfile && +# munged_stop_daemon && +# INODE1=$(ls -i "${MUNGE_LOGFILE}" | awk "{ print \$1 }") && +# test "${INODE0}" -eq "${INODE1}" && +# test -s "${MUNGE_LOGFILE}" +# + +expecting success: + local MY_LOGFILE && + MY_LOGFILE="${MUNGE_LOGFILE}.symlink" && + ln -s -f "${MUNGE_LOGFILE}" "${MY_LOGFILE}" && + rm -f "${MUNGE_LOGFILE}" && + touch "${MUNGE_LOGFILE}" && + test_must_fail munged_start_daemon t-keep-logfile \ + --log-file="${MY_LOGFILE}" 2>err.$$ && + egrep "Error:.* Logfile.* should not be a symbolic link" err.$$ + +munged: Error: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456.symlink" should not be a symbolic link +ok 3 - logfile symlink to regular file failure PASS: 0103-munged-security-logfile.t 3 - logfile symlink to regular file failure + +expecting success: + local MY_LOGFILE && + MY_LOGFILE="${MUNGE_LOGFILE}.symlink" && + ln -s -f "${MUNGE_LOGFILE}" "${MY_LOGFILE}" && + rm -f "${MUNGE_LOGFILE}" && + touch "${MUNGE_LOGFILE}" && + munged_start_daemon t-keep-logfile --log-file="${MY_LOGFILE}" --force \ + 2>err.$$ && + munged_stop_daemon && + egrep "Warning:.* Logfile.* should not be a symbolic link" err.$$ + +munged: Warning: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456.symlink" should not be a symbolic link +ok 4 - logfile symlink to regular file override PASS: 0103-munged-security-logfile.t 4 - logfile symlink to regular file override -PASS: 0103-munged-security-logfile.t 5 - logfile missing + +expecting success: + munged_start_daemon && + munged_stop_daemon && + test -s "${MUNGE_LOGFILE}" + +not ok 5 - logfile missing +FAIL: 0103-munged-security-logfile.t 5 - logfile missing +# +# munged_start_daemon && +# munged_stop_daemon && +# test -s "${MUNGE_LOGFILE}" +# + +expecting success: + local MY_LOGFILE && + MY_LOGFILE="${MUNGE_LOGFILE}.symlink" && + ln -s -f "${MUNGE_LOGFILE}" "${MY_LOGFILE}" && + test_must_fail munged_start_daemon --log-file="${MY_LOGFILE}" 2>err.$$ && + egrep "Error:.* Logfile.* should not be a symbolic link" err.$$ + +munged: Error: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456.symlink" should not be a symbolic link +ok 6 - logfile symlink to missing file failure PASS: 0103-munged-security-logfile.t 6 - logfile symlink to missing file failure + +expecting success: + local MY_LOGFILE && + MY_LOGFILE="${MUNGE_LOGFILE}.symlink" && + ln -s -f "${MUNGE_LOGFILE}" "${MY_LOGFILE}" && + munged_start_daemon --log-file="${MY_LOGFILE}" --force 2>err.$$ && + munged_stop_daemon && + egrep "Warning:.* Logfile.* should not be a symbolic link" err.$$ && + test -s "${MUNGE_LOGFILE}" + +munged: Warning: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456.symlink" should not be a symbolic link +ok 7 - logfile symlink to missing file override PASS: 0103-munged-security-logfile.t 7 - logfile symlink to missing file override + +expecting success: + local MUNGE_LOGFILE && + MUNGE_LOGFILE="${MUNGE_LOGDIR}/munged.log.$$.non-regular-file" && + rm -f "${MUNGE_LOGFILE}" && + mkdir "${MUNGE_LOGFILE}" && + test_mumunged: Error: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456" should not be writable by group (perms=0620) +munged: Error: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456" should not be writable by group (perms=0620) +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3524456" (pid 3526318) +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3524456" (pid 3526533) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +st_fail munged_start_daemon t-keep-logfile 2>err.$$ && + egrep "Error:.* Logfile.* must be a regular file" err.$$ && + rmdir "${MUNGE_LOGFILE}" + +munged: Error: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456.non-regular-file" must be a regular file (type=0040000) +ok 8 - logfile non-regular-file failure PASS: 0103-munged-security-logfile.t 8 - logfile non-regular-file failure + +expecting success: + local MUNGE_LOGFILE && + MUNGE_LOGFILE="${MUNGE_LOGDIR}/munged.log.$$.non-regular-file" && + rm -f "${MUNGE_LOGFILE}" && + mkdir "${MUNGE_LOGFILE}" && + test_must_fail munged_start_daemon t-keep-logfile --force 2>err.$$ && + egrep "Error:.* Logfile.* must be a regular file" err.$$ && + rmdir "${MUNGE_LOGFILE}" + +munged: Error: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456.non-regular-file" must be a regular file (type=0040000) +ok 9 - logfile non-regular-file override failure PASS: 0103-munged-security-logfile.t 9 - logfile non-regular-file override failure + +expecting success: + rm -f "${MUNGE_LOGFILE}" && + touch "${MUNGE_LOGFILE}" && + chmod 0400 "${MUNGE_LOGFILE}" && + test_must_fail munged_start_daemon t-keep-logfile 2>err.$$ && + egrep "Error:.* Failed to open logfile.* Permission denied" err.$$ + +munged: Error: Failed to open logfile "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456": Permission denied +ok 10 - logfile not writable by user failure PASS: 0103-munged-security-logfile.t 10 - logfile not writable by user failure + +checking known breakage: + local GID && + rm -f "${MUNGE_LOGFILE}" && + touch "${MUNGE_LOGFILE}" && + chmod 0620 "${MUNGE_LOGFILE}" && + GID=$(ls -l -n "${MUNGE_LOGFILE}" | awk "{ print \$4 }") && + munged_start_daemon t-keep-logfile --trusted-group="${GID}" && + munged_stop_daemon + +not ok 11 - logfile writable by trusted group # TODO known breakage XFAIL: 0103-munged-security-logfile.t 11 - logfile writable by trusted group # TODO known breakage + +expecting success: + local GID && + rm -f "${MUNGE_LOGFILE}" && + touch "${MUNGE_LOGFILE}" && + chmod 0620 "${MUNGE_LOGFILE}" && + GID=$(ls -l -n "${MUNGE_LOGFILE}" | awk "{ print \$4 }") && + GID=$(( ${GID} + 1 )) && + test_must_fail munged_start_daemon t-keep-logfile --trusted-group="${GID}" + +ok 12 - logfile writable by untrusted group failure PASS: 0103-munged-security-logfile.t 12 - logfile writable by untrusted group failure + +expecting success: + rm -f "${MUNGE_LOGFILE}" && + touch "${MUNGE_LOGFILE}" && + chmod 0620 "${MUNGE_LOGFILE}" && + test_must_fail munged_start_daemon t-keep-logfile 2>err.$$ && + egrep "Error:.* Logfile.* writable.* by.* group" err.$$ + +munged: Error: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456" should not be writable by group (perms=0620) +ok 13 - logfile writable by group failure PASS: 0103-munged-security-logfile.t 13 - logfile writable by group failure + +expecting success: + rm -f "${MUNGE_LOGFILE}" && + touch "${MUNGE_LOGFILE}" && + chmod 0620 "${MUNGE_LOGFILE}" && + munged_start_daemon t-keep-logfile --force 2>err.$$ && + munged_stop_daemon && + egrep "Warning:.* Logfile.* writable.* by.* group" err.$$ + +munged: Warning: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456" should not be writable by group (perms=0620) +ok 14 - logfile writable by group override PASS: 0103-munged-security-logfile.t 14 - logfile writable by group override + +expecting success: + rm -f "${MUNGE_LOGFILE}" && + touch "${MUNGE_LOGFILE}" && + chmod 0602 "${MUNGE_LOGFILE}" && + test_must_fail munged_start_daemon t-keep-logfile 2>err.$$ && + egrep "Error:.* Logfile.* writable.* by.* other" err.$$ + +munged: Error: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +524456" should not be writable by other (perms=0602) +ok 15 - logfile writable by other failure PASS: 0103-munged-security-logfile.t 15 - logfile writable by other failure + +expecting success: + rm -f "${MUNGE_LOGFILE}" && + touch "${MUNGE_LOGFILE}" && + chmod 0602 "${MUNGE_LOGFILE}" && + munged_start_daemon t-keep-logfile --force 2>err.$$ && + munged_stop_daemon && + egrep "Warning:.* Logfile.* writable.* by.* other" err.$$ + +munged: Warning: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456" should not be writable by other (perms=0602) +ok 16 - logfile writable by other override PASS: 0103-munged-security-logfile.t 16 - logfile writable by other override -PASS: 0103-munged-security-logfile.t 17 - logfile readable by all -PASS: 0103-munged-security-logfile.t 18 - logfile dir owned by euid + +expecting success: + rm -f "${MUNGE_LOGFILE}" && + touch "${MUNGE_LOGFILE}" && + chmod 0644 "${MUNGE_LOGFILE}" && + munged_start_daemon t-keep-logfile && + munged_stop_daemon + +not ok 17 - logfile readable by all +FAIL: 0103-munged-security-logfile.t 17 - logfile readable by all +# +# rm -f "${MUNGE_LOGFILE}" && +# touch "${MUNGE_LOGFILE}" && +# chmod 0644 "${MUNGE_LOGFILE}" && +# munged_start_daemon t-keep-logfile && +# munged_stop_daemon +# + +expecting success: + local DIR_UID MY_EUID && + DIR_UID=$(ls -d -l -n "${MUNGE_LOGDIR}" | awk "{ print \$3 }") && + MY_EUID=$(id -u) && + test "${DIR_UID}" = "${MY_EUID}" && + munged_start_daemon && + munged_stop_daemon + +not ok 18 - logfile dir owned by euid +FAIL: 0103-munged-security-logfile.t 18 - logfile dir owned by euid +# +# local DIR_UID MY_EUID && +# DIR_UID=$(ls -d -l -n "${MUNGE_LOGDIR}" | awk "{ print \$3 }") && +# MY_EUID=$(id -u) && +# test "${DIR_UID}" = "${MY_EUID}" && +# munged_start_daemon && +# munged_stop_daemon +# + +skipping test: alt logfile dir setup + ALT_LOGDIR="${TMPDIR:-"/tmp"}/munge-$$/alt-log-$$" && + mkdir -m 0755 -p "${ALT_LOGDIR}" && + ALT_LOGFILE="${ALT_LOGDIR}/munged.log.$$" && + touch "${ALT_LOGFILE}" && + test_set_prereq ALT + +ok 19 # skip alt logfile dir setup (missing SUDO) SKIP: 0103-munged-security-logfile.t 19 # SKIP alt logfile dir setup (missing SUDO) + +skipping test: logfile dir owned by root + sudo chown root "${ALT_LOGDIR}" && + > "${ALT_LOGFILE}" && + munged_start_daemon --log-file="${ALT_LOGFILE}" && + munged_stop_daemon + +ok 20 # skip logfile dir owned by root (missing SUDO,ALT of ALT,SUDO) SKIP: 0103-munged-security-logfile.t 20 # SKIP logfile dir owned by root (missing SUDO,ALT of ALT,SUDO) + +skipping test: logfile dir owned by other failure + test "$(id -u)" != "1" && + sudo chown 1 "${ALT_LOGDIR}" && + > "${ALT_LOGFILE}" && + test_must_fail munged_start_daemon --log-file="${ALT_LOGFILE}" 2>err.$$ && + egrep "Error:.* Logfile.* invalid ownership of \"${ALT_LOGDIR}\"" err.$$ + +ok 21 # skip logfile dir owned by other failure (missing SUDO,ALT of ALT,SUDO) SKIP: 0103-munged-security-logfile.t 21 # SKIP logfile dir owned by other failure (missing SUDO,ALT of ALT,SUDO) + +skipping test: logfile dir owned by other override + test "$(id -u)" != "1" && + sudo chown 1 "${ALT_LOGDIR}" && + > "${ALT_LOGFILE}" && + munged_start_daemon --log-file="${ALT_LOGFILE}" --force 2>err.$$ && + munged_stop_daemon && + egrep "Warning:.* Logfile.* invalid ownership of \"${ALT_LOGDIR}\"" err.$$ + +ok 22 # skip logfile dir owned by other override (missing SUDO,ALT of ALT,SUDO) SKIP: 0103-munged-security-logfile.t 22 # SKIP logfile dir owned by other override (missing SUDO,ALT of ALT,SUDO) + +skipping test: alt logfile dir cleanup + sudo rm -r -f "${ALT_LOGDIR}" && + if rmdir "$(dirname "${ALT_LOGDIR}")" 2>/dev/null; then :; fi && + unset ALT_LOGDIR && + unset ALT_LOGFILE + +ok 23 # skip alt logfile dir cleanup (missing SUDO,ALT of ALT,SUDO) SKIP: 0103-munged-security-logfile.t 23 # SKIP alt logfile dir cleanup (missing SUDO,ALT of ALT,SUDO) -PASS: 0103-munged-security-logfile.t 24 - logfile dir writable by trusted group -PASS: 0103-munged-security-logfile.t 25 - logfile dir writable by untrusted group failure -PASS: 0103-munged-security-logfile.t 26 - logfile dir writable by group -PASS: 0103-munged-security-logfile.t 27 - logfile dir writable by group with sticky bit + +expecting success: + local GID && + GID=$(ls -d -l -n "${MUNGE_LOGDIR}" | awk "{ print \$4 }") && + chmod 0770 "${MUNGE_LOGDIR}" && + munged_start_daemon --trusted-group="${GID}" && + munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3524456" (pid 3527597) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged_stop_daemon && + chmod 0755 "${MUNGE_LOGDIR}" + +not ok 24 - logfile dir writable by trusted group +FAIL: 0103-munged-security-logfile.t 24 - logfile dir writable by trusted group +# +# local GID && +# GID=$(ls -d -l -n "${MUNGE_LOGDIR}" | awk "{ print \$4 }") && +# chmod 0770 "${MUNGE_LOGDIR}" && +# munged_start_daemon --trusted-group="${GID}" && +# munged_stop_daemon && +# chmod 0755 "${MUNGE_LOGDIR}" +# + +expecting success: + local GID && + GID=$(ls -d -l -n "${MUNGE_LOGDIR}" | awk "{ print \$4 }") && + GID=$(( ${GID} + 1 )) && + chmod 0770 "${MUNGE_LOGDIR}" && + munged_start_daemon --trusted-group="${GID}" && + munged_stop_daemon && + chmod 0755 "${MUNGE_LOGDIR}" + +not ok 25 - logfile dir writable by untrusted group failure +FAIL: 0103-munged-security-logfile.t 25 - logfile dir writable by untrusted group failure +# +# local GID && +# GID=$(ls -d -l -n "${MUNGE_LOGDIR}" | awk "{ print \$4 }") && +# GID=$(( ${GID} + 1 )) && +# chmod 0770 "${MUNGE_LOGDIR}" && +# munged_start_daemon --trusted-group="${GID}" && +# munged_stop_daemon && +# chmod 0755 "${MUNGE_LOGDIR}" +# + +expecting success: + chmod 0770 "${MUNGE_LOGDIR}" && + munged_start_daemon && + munged_stop_daemon && + chmod 0755 "${MUNGE_LOGDIR}" + +not ok 26 - logfile dir writable by group +FAIL: 0103-munged-security-logfile.t 26 - logfile dir writable by group +# +# chmod 0770 "${MUNGE_LOGDIR}" && +# munged_start_daemon && +# munged_stop_daemon && +# chmod 0755 "${MUNGE_LOGDIR}" +# + +expecting success: + chmod 1770 "${MUNGE_LOGDIR}" && + munged_start_daemon && + munged_stop_daemon && + chmod 0755 "${MUNGE_LOGDIR}" + +not ok 27 - logfile dir writable by group with sticky bit +FAIL: 0103-munged-security-logfile.t 27 - logfile dir writable by group with sticky bit +# +# chmod 1770 "${MUNGE_LOGDIR}" && +# munged_start_daemon && +# munged_stop_daemon && +# chmod 0755 "${MUNGE_LOGDIR}" +# + +expecting success: + chmod 0707 "${MUNGE_LOGDIR}" && + test_must_fail munged_start_daemon 2>err.$$ && + chmod 0755 "${MUNGE_LOGDIR}" && + egrep "Error:.* world-writable permissions without sticky bit set" err.$$ + +munged: Error: Logfile is insecure: world-writable permissions without sticky bit set on "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456" +ok 28 - logfile dir writable by other failure PASS: 0103-munged-security-logfile.t 28 - logfile dir writable by other failure + +expecting success: + chmod 0707 "${MUNGE_LOGDIR}" && + munged_start_daemon --force 2>err.$$ && + munged_stop_daemon && + chmod 0755 "${MUNGE_LOGDIR}" && + egrep "Warning:.* world-writable permissions without sticky bit set" err.$$ + +munged: Warning: Logfile is insecure: world-writable permissions without sticky bit set on "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456" +ok 29 - logfile dir writable by other override PASS: 0103-munged-security-logfile.t 29 - logfile dir writable by other override -PASS: 0103-munged-security-logfile.t 30 - logfile dir writable by other with sticky bit + +expecting success: + chmod 1707 "${MUNGE_LOGDIR}" && + munged_start_daemon && + munged_stop_daemon && + chmod 0755 "${MUNGE_LOGDIR}" + +not ok 30 - logfile dir writable by other with sticky bit +FAIL: 0103-munged-security-logfile.t 30 - logfile dir writable by other with sticky bit +# +# chmod 1707 "${MUNGE_LOGDIR}" && +# munged_start_daemon && +# munged_stop_daemon && +# chmod 0755 "${MUNGE_LOGDIR}" +# + +expecting success: + local ERR NUM && + rm -f "${MUNGE_LOGFILE}" && + touch "${MUNGE_LOGFILE}" && + chmod 0602 "${MUNGE_LOGFILE}" && + test_must_fail munged_start_daemon t-keep-logfile 2>err.$$ && + cat err.$$ && + ERR=$(sed -n -e "s/.*Error: //p" err.$$ | sort | uniq -c | sort -n -r) && + NUM=$(echo "${ERR}" | awk "{ print \$1; exit }") && + test "${NUM}" -eq 1 2>/dev/null + +munged: Error: Logfile is insecure: "/tmp/munge-test-3490292/trash-directory.0103-munged-security-logfile/log-3524456/munged.log.3524456" should not be writable by other (perms=0602) +ok 31 - logfile failure writes single message to stderr PASS: 0103-munged-security-logfile.t 31 - logfile failure writes single message to stderr + +expecting success: + munged_cleanup + +ok 32 - cleanup PASS: 0103-munged-security-logfile.t 32 - cleanup + +# still have 1 known breakage(s) +# failed 9 among remaining 31 test(s) +1..32 +ERROR: 0103-munged-security-logfile.t - exited with status 1 + +PASS: 0104-munged-security-pidfile +================================== + +expecting success: + munged_setup && + munged_create_key + +ok 1 - setup PASS: 0104-munged-security-pidfile.t 1 - setup + +checking known breakage: + false + +not ok 2 - finish writing tests # TODO known breakage XFAIL: 0104-munged-security-pidfile.t 2 - finish writing tests # TODO known breakage + +expecting success: + munged_cleanup + +ok 3 - cleanup PASS: 0104-munged-security-pidfile.t 3 - cleanup + +# still have 1 known breakage(s) +# passed all remaining 2 test(s) +1..3 + +PASS: 0105-munged-security-seedfile +=================================== + +expecting success: + munged_setup && + munged_create_key + +ok 1 - setup PASS: 0105-munged-security-seedfile.t 1 - setup + +checking known breakage: + false + +not ok 2 - finish writing tests # TODO known breakage XFAIL: 0105-munged-security-seedfile.t 2 - finish writing tests # TODO known breakage + +expecting success: + munged_cleanup + +ok 3 - cleanup PASS: 0105-munged-security-seedfile.t 3 - cleanup + +# still have 1 known breakage(s) +# passed all remaining 2 test(s) +1..3 + +ERROR: 0110-munged-origin-addr +============================== + +munged: Error: Failed to lookup origin "invalid.3528510": Resource temporarily unavailable +munged: Warning: Failed to lookup origin "invalid.3528510": Resource temporarily unavailable +munged: Warning: Continuing with origin set to null address +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3528510" (pid 3528691) +munged: Warning: Failed to lookup origin "invalid.3528510": Resource temporarily unavailable +munged: Warning: Continuing with origin set to null address +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3528510" (pid 3528784) +munged: Warning: Failed to lookup origin "invalid.3528510": Resource temporarily unavailable +munged: Warning: Continuing with origin set to null address +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3528510" (pid 3528881) +munged: Notice: Terminated daemon bound to socket "/tmp/munged.sock.3528510" (pid 3529038) +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +expecting success: + munged_setup && + munged_create_key + +ok 1 - setup PASS: 0110-munged-origin-addr.t 1 - setup + +expecting success: + "${MUNGED}" --help >out.$$ && + grep " --origin=" out.$$ + + --origin=ADDR Specify origin address via hostname/IPaddr/interface +ok 2 - munged --origin help PASS: 0110-munged-origin-addr.t 2 - munged --origin help + +expecting success: + test_must_fail munged_start_daemon --origin=invalid.$$ + +ok 3 - munged --origin failure PASS: 0110-munged-origin-addr.t 3 - munged --origin failure + +expecting success: + munged_start_daemon --origin=invalid.$$ --force && + munged_stop_daemon + +ok 4 - munged --origin override PASS: 0110-munged-origin-addr.t 4 - munged --origin override + +expecting success: + munged_start_daemon --origin=invalid.$$ --force && + munged_stop_daemon && + egrep "Set origin address to 0\.0\.0\.0\>" "${MUNGE_LOGFILE}" + +2024-01-08 01:04:10 +0000 Info: Set origin address to 0.0.0.0 +ok 5 - munged --origin null address PASS: 0110-munged-origin-addr.t 5 - munged --origin null address + +expecting success: + munged_start_daemon --origin=invalid.$$ --force && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --output=cred.$$ && + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --input=cred.$$ \ + --metadata=meta.$$ --keys=ENCODE_HOST --numeric && + munged_stop_daemon && + egrep "^ENCODE_HOST:.* 0\.0\.0\.0\>" meta.$$ + +ENCODE_HOST: 0.0.0.0 +ok 6 - munged --origin null address metadata PASS: 0110-munged-origin-addr.t 6 - munged --origin null address metadata + +expecting success: + munged_start_daemon --origin=invalid.$$ --force 2>err.$$ && + munged_stop_daemon && + grep "Warning:.* origin set to null address" err.$$ + +munged: Warning: Continuing with origin set to null address +ok 7 - munged --origin null address warning PASS: 0110-munged-origin-addr.t 7 - munged --origin null address warning -PASS: 0110-munged-origin-addr.t 8 - munged --origin local IP address -PASS: 0110-munged-origin-addr.t 9 - munged --origin local IP address metadata + +expecting success: + rm -f ifname0.$$ && + munged_start_daemon --origin=127.0.0.1 && + munged_stop_daemon && + egrep "Set origin address to 127\.0\.0\.1\>" "${MUNGE_LOGFILE}" + +not ok 8 - munged --origin local IP address +FAIL: 0110-munged-origin-addr.t 8 - munged --origin local IP address +# +# rm -f ifname0.$$ && +# munged_start_daemon --origin=127.0.0.1 && +# munged_stop_daemon && +# egrep "Set origin address to 127\.0\.0\.1\>" "${MUNGE_LOGFILE}" +# + +expecting success: + munged_start_daemon --origin=127.0.0.1 && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --output=cred.$$ && + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --input=cred.$$ \ + --metadata=meta.$$ --keys=ENCODE_HOST --numeric && + munged_stop_daemon && + egrep "^ENCODE_HOST:.* 127\.0\.0\.1\>" meta.$$ + +not ok 9 - munged --origin local IP address metadata +FAIL: 0110-munged-origin-addr.t 9 - munged --origin local IP address metadata +# +# munged_start_daemon --origin=127.0.0.1 && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --output=cred.$$ && +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --input=cred.$$ \ +# --metadata=meta.$$ --keys=ENCODE_HOST --numeric && +# munged_stop_daemon && +# egrep "^ENCODE_HOST:.* 127\.0\.0\.1\>" meta.$$ +# + +expecting success: + local ifname && + sed -n -e "s/.*Set origin address.*(\([^)]*\)).*/\1/p" "${MUNGE_LOGFILE}" \ + >ifname0.$$ && + ifname=$(cat ifname0.$$) && + test_debug "echo \"Loopback network interface name is [${ifname}]\"" && + if test "x${ifname}" != x; then test_set_prereq IFNAME; fi + +ok 10 - munged --origin interface name lookup PASS: 0110-munged-origin-addr.t 10 - munged --origin interface name lookup -PASS: 0110-munged-origin-addr.t 11 - munged --origin interface name -PASS: 0110-munged-origin-addr.t 12 - munged --origin interface name metadata -PASS: 0110-munged-origin-addr.t 13 - munged --origin non-interface IP address -PASS: 0110-munged-origin-addr.t 14 - munged --origin non-interface IP address metadata + +expecting success: + munged_start_daemon --origin="$(cat ifname0.$$)" && + munged_stop_daemon && + egrep "Set origin address to 127\.0\.0\.1\>" "${MUNGE_LOGFILE}" && + sed -n -e "s/.*Set origin address.*(\([^)]*\)).*/\1/p" "${MUNGE_LOGFILE}" \ + >ifname1.$$ && + test_cmp ifname0.$$ ifname1.$$ + +not ok 11 - munged --origin interface name +FAIL: 0110-munged-origin-addr.t 11 - munged --origin interface name +# +# munged_start_daemomunged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +munged: Error: PRNG seed dir is insecure: group-writable permissions without sticky bit set on "/" +n --origin="$(cat ifname0.$$)" && +# munged_stop_daemon && +# egrep "Set origin address to 127\.0\.0\.1\>" "${MUNGE_LOGFILE}" && +# sed -n -e "s/.*Set origin address.*(\([^)]*\)).*/\1/p" "${MUNGE_LOGFILE}" \ +# >ifname1.$$ && +# test_cmp ifname0.$$ ifname1.$$ +# + +expecting success: + munged_start_daemon --origin="$(cat ifname0.$$)" && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --output=cred.$$ && + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --input=cred.$$ \ + --metadata=meta.$$ --keys=ENCODE_HOST --numeric && + munged_stop_daemon && + egrep "^ENCODE_HOST:.* 127\.0\.0\.1\>" meta.$$ + +not ok 12 - munged --origin interface name metadata +FAIL: 0110-munged-origin-addr.t 12 - munged --origin interface name metadata +# +# munged_start_daemon --origin="$(cat ifname0.$$)" && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --output=cred.$$ && +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --input=cred.$$ \ +# --metadata=meta.$$ --keys=ENCODE_HOST --numeric && +# munged_stop_daemon && +# egrep "^ENCODE_HOST:.* 127\.0\.0\.1\>" meta.$$ +# + +expecting success: + munged_start_daemon --origin=192.0.0.255 && + munged_stop_daemon && + egrep "Set origin address to 192\.0\.0\.255$" "${MUNGE_LOGFILE}" + +not ok 13 - munged --origin non-interface IP address +FAIL: 0110-munged-origin-addr.t 13 - munged --origin non-interface IP address +# +# munged_start_daemon --origin=192.0.0.255 && +# munged_stop_daemon && +# egrep "Set origin address to 192\.0\.0\.255$" "${MUNGE_LOGFILE}" +# + +expecting success: + munged_start_daemon --origin=192.0.0.255 && + "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --output=cred.$$ && + "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --input=cred.$$ \ + --metadata=meta.$$ --keys=ENCODE_HOST --numeric && + munged_stop_daemon && + egrep "^ENCODE_HOST:.* 192\.0\.0\.255\>" meta.$$ + +not ok 14 - munged --origin non-interface IP address metadata +FAIL: 0110-munged-origin-addr.t 14 - munged --origin non-interface IP address metadata +# +# munged_start_daemon --origin=192.0.0.255 && +# "${MUNGE}" --socket="${MUNGE_SOCKET}" --no-input --output=cred.$$ && +# "${UNMUNGE}" --socket="${MUNGE_SOCKET}" --input=cred.$$ \ +# --metadata=meta.$$ --keys=ENCODE_HOST --numeric && +# munged_stop_daemon && +# egrep "^ENCODE_HOST:.* 192\.0\.0\.255\>" meta.$$ +# + +expecting success: + munged_cleanup + +ok 15 - cleanup PASS: 0110-munged-origin-addr.t 15 - cleanup + +# failed 6 among 15 test(s) +1..15 +ERROR: 0110-munged-origin-addr.t - exited with status 1 + ============================================================================ Testsuite summary for MUNGE 0.5.15 ============================================================================ -# TOTAL: 369 -# PASS: 338 +# TOTAL: 378 +# PASS: 182 # SKIP: 25 # XFAIL: 6 -# FAIL: 0 +# FAIL: 156 # XPASS: 0 -# ERROR: 0 +# ERROR: 9 ============================================================================ +See t/test-suite.log +============================================================================ +make[5]: *** [Makefile:639: test-suite.log] Error 1 make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/t' +make[4]: *** [Makefile:747: check-TESTS] Error 2 make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/t' +make[3]: *** [Makefile:812: check-am] Error 2 make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15/t' -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15' -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15' +make[2]: *** [Makefile:582: check-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/munge-0.5.15' +make[1]: *** [debian/rules:21: override_dh_auto_test] Error 2 make[1]: Leaving directory '/build/reproducible-path/munge-0.5.15' - create-stamp debian/debhelper-build-stamp - fakeroot debian/rules binary -dh binary - dh_testroot - dh_prep - dh_installdirs - dh_auto_install - make -j1 install DESTDIR=/build/reproducible-path/munge-0.5.15/debian/tmp AM_UPDATE_INFO_DIR=no -make[1]: Entering directory '/build/reproducible-path/munge-0.5.15' -Making install in src -make[2]: Entering directory '/build/reproducible-path/munge-0.5.15/src' -Making install in common -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15/src/common' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/common' -make[4]: Nothing to be done for 'install-exec-am'. -make[4]: Nothing to be done for 'install-data-am'. -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/common' -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/common' -Making install in etc -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15/src/etc' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/etc' -make[4]: Nothing to be done for 'install-exec-am'. -make install-data-hook -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/etc' -/bin/mkdir -p -m 0700 '/build/reproducible-path/munge-0.5.15/debian/tmp/etc/munge' -/bin/mkdir -p -m 0711 '/build/reproducible-path/munge-0.5.15/debian/tmp/var/lib/munge' -/bin/mkdir -p -m 0700 '/build/reproducible-path/munge-0.5.15/debian/tmp/var/log/munge' -/bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/etc/logrotate.d' -/usr/bin/install -c -m 644 './munge.logrotate.conf' '/build/reproducible-path/munge-0.5.15/debian/tmp/etc/logrotate.d/munge' -/bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig' -/usr/bin/install -c -m 644 './munge.pkgconfig.pc' '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig/munge.pc' -/bin/mkdir -p -m 0755 '/build/reproducible-path/munge-0.5.15/debian/tmp/run/munge' -/bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/etc/default' -/usr/bin/install -c -m 644 './munge.sysvinit.sysconfig' '/build/reproducible-path/munge-0.5.15/debian/tmp/etc/default/munge' -/bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/etc/init.d' -/usr/bin/install -c './munge.sysvinit.init' '/build/reproducible-path/munge-0.5.15/debian/tmp/etc/init.d/munge' -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/etc' -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/etc' -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/etc' -Making install in libcommon -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man7' - /usr/bin/install -c -m 644 munge.7 '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man7' -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -Making install in libmissing -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[4]: Nothing to be done for 'install-exec-am'. -make[4]: Nothing to be done for 'install-data-am'. -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -Making install in libmunge -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: 'libcommon.la' is up to date. -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: 'libcommon.la' is up to date. -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' - /bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/lib/aarch64-linux-gnu' - /bin/bash ../../libtool --mode=install /usr/bin/install -c libmunge.la '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/lib/aarch64-linux-gnu' -libtool: install: /usr/bin/install -c .libs/libmunge.so.2.0.0 /build/reproducible-path/munge-0.5.15/debian/tmp/usr/lib/aarch64-linux-gnu/libmunge.so.2.0.0 -libtool: install: (cd /build/reproducible-path/munge-0.5.15/debian/tmp/usr/lib/aarch64-linux-gnu && { ln -s -f libmunge.so.2.0.0 libmunge.so.2 || { rm -f libmunge.so.2 && ln -s libmunge.so.2.0.0 libmunge.so.2; }; }) -libtool: install: (cd /build/reproducible-path/munge-0.5.15/debian/tmp/usr/lib/aarch64-linux-gnu && { ln -s -f libmunge.so.2.0.0 libmunge.so || { rm -f libmunge.so && ln -s libmunge.so.2.0.0 libmunge.so; }; }) -libtool: install: /usr/bin/install -c .libs/libmunge.lai /build/reproducible-path/munge-0.5.15/debian/tmp/usr/lib/aarch64-linux-gnu/libmunge.la -libtool: install: /usr/bin/install -c .libs/libmunge.a /build/reproducible-path/munge-0.5.15/debian/tmp/usr/lib/aarch64-linux-gnu/libmunge.a -libtool: install: chmod 644 /build/reproducible-path/munge-0.5.15/debian/tmp/usr/lib/aarch64-linux-gnu/libmunge.a -libtool: install: ranlib /build/reproducible-path/munge-0.5.15/debian/tmp/usr/lib/aarch64-linux-gnu/libmunge.a -libtool: warning: remember to run 'libtool --finish /usr/lib/aarch64-linux-gnu' - /bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/include' - /usr/bin/install -c -m 644 munge.h '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/include' - /bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3' - /usr/bin/install -c -m 644 munge.3 munge_ctx.3 munge_enum.3 '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3' -make install-data-hook -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -rm -f '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/munge_ctx_copy.3' -rm -f '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/munge_ctx_create.3' -rm -f '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/munge_ctx_destroy.3' -rm -f '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/munge_ctx_get.3' -rm -f '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/munge_ctx_set.3' -rm -f '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/munge_ctx_strerror.3' -rm -f '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/munge_decode.3' -rm -f '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/munge_encode.3' -rm -f '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/munge_enum_int_to_str.3' -rm -f '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/munge_enum_is_valid.3' -rm -f '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/munge_enum_str_to_int.3' -rm -f '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/munge_strerror.3' -/bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/' -( cd '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man3/' \ - && ln -s munge.3 munge_decode.3 \ - && ln -s munge.3 munge_encode.3 \ - && ln -s munge.3 munge_strerror.3 \ - && ln -s munge_ctx.3 munge_ctx_copy.3 \ - && ln -s munge_ctx.3 munge_ctx_create.3 \ - && ln -s munge_ctx.3 munge_ctx_destroy.3 \ - && ln -s munge_ctx.3 munge_ctx_get.3 \ - && ln -s munge_ctx.3 munge_ctx_set.3 \ - && ln -s munge_ctx.3 munge_ctx_strerror.3 \ - && ln -s munge_enum.3 munge_enum_int_to_str.3 \ - && ln -s munge_enum.3 munge_enum_is_valid.3 \ - && ln -s munge_enum.3 munge_enum_str_to_int.3 ) -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -Making install in libtap -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libtap' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libtap' -make[4]: Nothing to be done for 'install-exec-am'. -make[4]: Nothing to be done for 'install-data-am'. -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libtap' -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libtap' -Making install in munge -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15/src/munge' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: 'libcommon.la' is up to date. -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[4]: 'libmissing.la' is up to date. -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: 'libcommon.la' is up to date. -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/munge' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: 'libcommon.la' is up to date. -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[5]: 'libmissing.la' is up to date. -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[6]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[6]: 'libcommon.la' is up to date. -make[6]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' - /bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/bin' - /bin/bash ../../libtool --mode=install /usr/bin/install -c munge remunge unmunge '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/bin' -libtool: warning: '../../src/libmunge/libmunge.la' has not been installed in '/usr/lib/aarch64-linux-gnu' -libtool: install: /usr/bin/install -c .libs/munge /build/reproducible-path/munge-0.5.15/debian/tmp/usr/bin/munge -libtool: warning: '../../src/libmunge/libmunge.la' has not been installed in '/usr/lib/aarch64-linux-gnu' -libtool: install: /usr/bin/install -c .libs/remunge /build/reproducible-path/munge-0.5.15/debian/tmp/usr/bin/remunge -libtool: warning: '../../src/libmunge/libmunge.la' has not been installed in '/usr/lib/aarch64-linux-gnu' -libtool: install: /usr/bin/install -c .libs/unmunge /build/reproducible-path/munge-0.5.15/debian/tmp/usr/bin/unmunge - /bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man1' - /usr/bin/install -c -m 644 munge.1 remunge.1 unmunge.1 '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man1' -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/munge' -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/munge' -Making install in munged -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15/src/munged' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: 'libcommon.la' is up to date. -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[4]: 'libmissing.la' is up to date. -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: 'libcommon.la' is up to date. -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/munged' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: 'libcommon.la' is up to date. -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[5]: 'libmissing.la' is up to date. -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[6]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[6]: 'libcommon.la' is up to date. -make[6]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' - /bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/sbin' - /bin/bash ../../libtool --mode=install /usr/bin/install -c munged '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/sbin' -libtool: warning: '../../src/libmunge/libmunge.la' has not been installed in '/usr/lib/aarch64-linux-gnu' -libtool: install: /usr/bin/install -c .libs/munged /build/reproducible-path/munge-0.5.15/debian/tmp/usr/sbin/munged - /bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man8' - /usr/bin/install -c -m 644 munged.8 '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man8' -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/munged' -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/munged' -Making install in mungekey -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15/src/mungekey' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: 'libcommon.la' is up to date. -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[4]: 'libmissing.la' is up to date. -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: 'libcommon.la' is up to date. -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src/mungekey' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: 'libcommon.la' is up to date. -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[5]: 'libmissing.la' is up to date. -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmissing' -make[5]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libmunge' -make[6]: Entering directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[6]: 'libcommon.la' is up to date. -make[6]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libcommon' -make[5]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/libmunge' - /bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/sbin' - /bin/bash ../../libtool --mode=install /usr/bin/install -c mungekey '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/sbin' -libtool: warning: '../../src/libmunge/libmunge.la' has not been installed in '/usr/lib/aarch64-linux-gnu' -libtool: install: /usr/bin/install -c .libs/mungekey /build/reproducible-path/munge-0.5.15/debian/tmp/usr/sbin/mungekey - /bin/mkdir -p '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man8' - /usr/bin/install -c -m 644 mungekey.8 '/build/reproducible-path/munge-0.5.15/debian/tmp/usr/share/man/man8' -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/mungekey' -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15/src/mungekey' -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15/src' -make[4]: Entering directory '/build/reproducible-path/munge-0.5.15/src' -make[4]: Nothing to be done for 'install-exec-am'. -make[4]: Nothing to be done for 'install-data-am'. -make[4]: Leaving directory '/build/reproducible-path/munge-0.5.15/src' -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15/src' -make[2]: Leaving directory '/build/reproducible-path/munge-0.5.15/src' -Making install in t -make[2]: Entering directory '/build/reproducible-path/munge-0.5.15/t' -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15/t' -make[3]: Nothing to be done for 'install-exec-am'. -make[3]: Nothing to be done for 'install-data-am'. -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15/t' -make[2]: Leaving directory '/build/reproducible-path/munge-0.5.15/t' -make[2]: Entering directory '/build/reproducible-path/munge-0.5.15' -make[3]: Entering directory '/build/reproducible-path/munge-0.5.15' -make[3]: Nothing to be done for 'install-exec-am'. -make[3]: Nothing to be done for 'install-data-am'. -make[3]: Leaving directory '/build/reproducible-path/munge-0.5.15' -make[2]: Leaving directory '/build/reproducible-path/munge-0.5.15' -make[1]: Leaving directory '/build/reproducible-path/munge-0.5.15' - debian/rules override_dh_install -make[1]: Entering directory '/build/reproducible-path/munge-0.5.15' -dh_install -a -cp src/etc/munge.systemd.service debian/munge.service -cp src/etc/munge.logrotate.conf debian/munge.logrotate -make[1]: Leaving directory '/build/reproducible-path/munge-0.5.15' - dh_installdocs - dh_installchangelogs - dh_installman - dh_installinit - dh_installsystemd - dh_installlogrotate - dh_perl - dh_link - dh_strip_nondeterminism - dh_compress - dh_fixperms - dh_missing - dh_strip - dh_makeshlibs - dh_shlibdeps - dh_installdeb - dh_gencontrol -dpkg-gencontrol: warning: Depends field of package libmunge-dev: substitution variable ${shlibs:Depends} used, but is not defined - dh_md5sums - dh_builddeb -dpkg-deb: building package 'munge-dbgsym' in '../munge-dbgsym_0.5.15-2_arm64.deb'. -dpkg-deb: building package 'libmunge2-dbgsym' in '../libmunge2-dbgsym_0.5.15-2_arm64.deb'. -dpkg-deb: building package 'libmunge-dev' in '../libmunge-dev_0.5.15-2_arm64.deb'. -dpkg-deb: building package 'libmunge2' in '../libmunge2_0.5.15-2_arm64.deb'. -dpkg-deb: building package 'munge' in '../munge_0.5.15-2_arm64.deb'. - dpkg-genbuildinfo --build=binary -O../munge_0.5.15-2_arm64.buildinfo - dpkg-genchanges --build=binary -O../munge_0.5.15-2_arm64.changes -dpkg-genchanges: info: binary-only upload (no source code included) - dpkg-source --after-build . -dpkg-buildpackage: info: binary-only upload (no source included) -dpkg-genchanges: info: not including original source code in upload +make: *** [debian/rules:9: build] Error 2 +dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 I: copying local configuration +E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/3456660/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Mon Jan 8 01:04:11 UTC 2024 +Filesystem Size Used Avail Use% Mounted on +tmpfs 16G 0 16G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/3456660/tmp/hooks/C01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1494127 and its subdirectories -I: Current time: Sat Feb 8 19:25:42 -12 2025 -I: pbuilder-time-stamp: 1739085942 +I: removing directory /srv/workspace/pbuilder/3456660 and its subdirectories