a509a811ad
- Version 3.2 - update sysusers_requires to request sysuser-shadow 3.2 - Use TAB consistently for indention in sysusers2shadow.sh - This pkg needs to follow behavior which is described in sysusers.d(5). Always create a system group of the same name as the system user, even if the user already exists. (bsc#1205161, bsc#1207778, bsc#1213240) - Disable systemd-sysuser on SLE15 to stay compatible (disable-systemd-sysusers.patch) OBS-URL: https://build.opensuse.org/request/show/1099442 OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=54
25 lines
609 B
Diff
25 lines
609 B
Diff
# Disable usage of systemd-sysusers for SLE15 to stay compatible
|
|
|
|
--- sysusers2shadow.sh.old 2021-09-08 15:06:18.000000000 +0200
|
|
+++ sysusers2shadow.sh 2021-11-26 10:37:20.911541368 +0100
|
|
@@ -7,14 +7,6 @@
|
|
"$@"
|
|
}
|
|
|
|
-if [ -x /usr/bin/systemd-sysusers ] && [ -e /proc/version ]; then
|
|
-
|
|
- if [ -n "$1" ] && [ "$1" != "%3" ]; then
|
|
- REPLACE_ARG="--replace=/usr/lib/sysusers.d/$1" ||:
|
|
- fi
|
|
- # Use systemd-sysusers and let it read the input directly from stdin
|
|
- run /usr/bin/systemd-sysusers $REPLACE_ARG -
|
|
-else
|
|
|
|
# Absolute path to busybox, if found
|
|
busybox=
|
|
@@ -115,4 +115,3 @@
|
|
;;
|
|
esac
|
|
done
|
|
-fi
|