summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2022-09-06 14:04:37 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-09-07 00:21:26 +0900
commit90782fde463ce2af95cc6fff3dcb631e67b2da81 (patch)
treeec6fe81f4251f11c35bc39635dd773921cf02f4e /README
parent3a8352cbf3db0317893f494402048c9ab6a164ed (diff)
downloadsystemd-90782fde463ce2af95cc6fff3dcb631e67b2da81.tar.gz
test: don't fail if we don't need any external nss libs
On certain systems the `install_libnss()` function might end up with an empty list of libraries to install, which triggers an assertion in `image_install()`: ``` I: Install libnss ..//test-functions: line 2721: 1: parameter null or not set make: *** [Makefile:4: setup] Error 1 ``` E.g.: ``` # LD_DEBUG=files getent passwd 2>&1 >/dev/null | sed -n '/calling init: .*libnss_/ {s!^.* /!/!; p}' /lib64/libnss_sss.so.2 /lib64/libnss_systemd.so.2 # dnf -y remove sssd-client systemd-libs # LD_DEBUG=files getent passwd 2>&1 >/dev/null | sed -n '/calling init: .*libnss_/ {s!^.* /!/!; p}' <no output> ``` Let's handle this case gracefully.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions