PN: systemd
PE: 1
PV: 257.8
PR: r0
PKGE: 1
PKGV: 257.8
PKGR: r0@EXTENDPRAUTO@
LICENSE: GPL-2.0-only & LGPL-2.1-or-later
DESCRIPTION: systemd is a system and service manager for Linux, compatible with SysV and LSB init scripts. systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux cgroups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic. It can work as a drop-in replacement for sysvinit.
SUMMARY: A System and service manager
RDEPENDS:systemd-networkd: base-files base-passwd shadow systemd glibc (>= 2.42+git0+d2097651cc) libsystemd-shared (>= 257.8)
SECTION: base/shell
PKG:systemd-networkd: systemd-networkd
FILES:systemd-networkd:     /usr/bin/networkctl     /usr/share/dbus-1/system-services/org.freedesktop.network1.service     /usr/share/dbus-1/system.d/org.freedesktop.network1.conf     /usr/share/polkit-1/actions/org.freedesktop.network1.policy     /usr/lib/sysusers.d/systemd-network.conf     /usr/lib/tmpfiles.d/systemd-network.conf     /etc/systemd/networkd.conf     /usr/lib/systemd/system/systemd-networkd*     /usr/lib/systemd/network/*.network     /usr/lib/systemd/network/*.network.example     /usr/lib/systemd/networkd.conf     /usr/lib/systemd/systemd-networkd*  /usr/lib/systemd/system-preset/98-systemd-networkd.preset /usr/lib/systemd/system/systemd-networkd.service /usr/lib/systemd/system/systemd-networkd.socket
CONFFILES:systemd-networkd: /etc/systemd/networkd.conf
FILES_INFO:systemd-networkd: {"/etc/systemd/networkd.conf": 1213, "/usr/bin/networkctl": 108040, "/usr/lib/systemd/network/80-6rd-tunnel.network": 542, "/usr/lib/systemd/network/80-auto-link-local.network.example": 719, "/usr/lib/systemd/network/80-container-host0-tun.network": 601, "/usr/lib/systemd/network/80-container-host0.network": 664, "/usr/lib/systemd/network/80-container-vb.network": 663, "/usr/lib/systemd/network/80-container-ve.network": 758, "/usr/lib/systemd/network/80-container-vz.network": 743, "/usr/lib/systemd/network/80-namespace-ns.network": 760, "/usr/lib/systemd/network/80-vm-vt.network": 711, "/usr/lib/systemd/network/80-wifi-adhoc.network": 452, "/usr/lib/systemd/network/80-wifi-ap.network.example": 664, "/usr/lib/systemd/network/80-wifi-station.network.example": 602, "/usr/lib/systemd/network/89-ethernet.network.example": 636, "/usr/lib/systemd/system-preset/98-systemd-networkd.preset": 32, "/usr/lib/systemd/system/systemd-networkd-persistent-storage.service": 857, "/usr/lib/systemd/system/systemd-networkd-wait-online.service": 794, "/usr/lib/systemd/system/systemd-networkd-wait-online@.service": 804, "/usr/lib/systemd/system/systemd-networkd.service": 2557, "/usr/lib/systemd/system/systemd-networkd.socket": 682, "/usr/lib/systemd/systemd-networkd": 1623940, "/usr/lib/systemd/systemd-networkd-wait-online": 26128, "/usr/lib/sysusers.d/systemd-network.conf": 342, "/usr/lib/tmpfiles.d/systemd-network.conf": 598, "/usr/share/dbus-1/system-services/org.freedesktop.network1.service": 465, "/usr/share/dbus-1/system.d/org.freedesktop.network1.conf": 954, "/usr/share/polkit-1/actions/org.freedesktop.network1.policy": 10975}
pkg_postinst:systemd-networkd: #!/bin/sh\nset -e\nif systemctl >/dev/null 2>/dev/null; then\n\tOPTS=""\n\n\tif [ -n "$D" ]; then\n\t\tOPTS="--root=$D"\n\tfi\n\n\tif [ "enable" = "enable" ]; then\n\t\tfor service in systemd-networkd.service; do\n\t\t\tsystemctl ${OPTS} enable "$service"\n\t\tdone\n\n\t\tfor service in ; do\n\t\t\tsystemctl --global ${OPTS} enable "$service"\n\t\tdone\n\tfi\n\n\tif [ -z "$D" ]; then\n\t\t# Reload only system service manager\n\t\t# --global for daemon-reload is not supported: https://github.com/systemd/systemd/issues/19284\n\t\tsystemctl daemon-reload\n\t\t[ -n "systemd-networkd.service" ] && \\\n\t\t\tsystemctl preset systemd-networkd.service\n\n\t\t[ -n "" ] && \\\n\t\t\tsystemctl --global preset \n\n\t\tif [ "enable" = "enable" ]; then\n\t\t\t# --global flag for restart is not supported by systemd (see above)\n\t\t\t[ -n "systemd-networkd.service" ] && \\\n\t\t\t\tsystemctl --no-block restart systemd-networkd.service\n\t\tfi\n\tfi\nfi\n
pkg_preinst:systemd-networkd: #!/bin/sh\nset -e\nbbnote () {\n\techo "NOTE: $*"\n}\nbbwarn () {\n\techo "WARNING: $*"\n}\nbbfatal () {\n\techo "ERROR: $*"\n\texit 1\n}\nperform_groupadd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "systemd: Performing groupadd with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ print $NF }'`\n\tlocal group_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\tif test "x$group_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupadd \\$opts\\" || true\n\t\tgroup_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\t\tif test "x$group_exists" = "x"; then\n\t\t\tbbfatal "systemd: groupadd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "systemd: group $groupname already exists, not re-creating it"\n\tfi\n}\nperform_useradd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "systemd: Performing useradd with [$opts]"\n\tlocal username=`echo "$opts" | awk '{ print $NF }'`\n\tlocal user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\tif test "x$user_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c  \\"$PSEUDO useradd \\$opts\\" || true\n\t\tuser_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\t\tif test "x$user_exists" = "x"; then\n\t\t\tbbfatal "systemd: useradd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "systemd: user $username already exists, not re-creating it"\n\tfi\n}\nperform_groupmems () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "systemd: Performing groupmems with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'`\n\tlocal username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'`\n\tbbnote "systemd: Running groupmems command with group $groupname and user $username"\n\tlocal mem_exists="`grep "^$groupname:[^:]*:[^:]*:\\([^,]*,\\)*$username\\(,[^,]*\\)*$" $rootdir/etc/group || true`"\n\tif test "x$mem_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupmems \\$opts\\" || true\n\t\tmem_exists="`grep "^$groupname:[^:]*:[^:]*:\\([^,]*,\\)*$username\\(,[^,]*\\)*$" $rootdir/etc/group || true`"\n\t\tif test "x$mem_exists" = "x"; then\n\t\t\tbbfatal "systemd: groupmems command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "systemd: group $groupname already contains $username, not re-adding it"\n\tfi\n}\nOPT=""\nSYSROOT=""\n\nif test "x$D" != "x"; then\n\t# Installing into a sysroot\n\tSYSROOT="$D"\n\tOPT="--root $D"\n\n\t# Make sure login.defs is there, this is to make debian package backend work\n\t# correctly while doing rootfs.\n\t# The problem here is that if /etc/login.defs is treated as a config file for\n\t# shadow package, then while performing preinsts for packages that depend on\n\t# shadow, there might only be /etc/login.def.dpkg-new there in root filesystem.\n\tif [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then\n\t    cp $D/etc/login.defs.dpkg-new $D/etc/login.defs\n\tfi\n\n\t# user/group lookups should match useradd/groupadd --root\n\texport PSEUDO_PASSWD="$SYSROOT"\nfi\n\n# If we're not doing a special SSTATE/SYSROOT install\n# then set the values, otherwise use the environment\nif test "x$UA_SYSROOT" = "x"; then\n\t# Installing onto a target\n\t# Add groups and users defined only for this package\n\tGROUPADD_PARAM=""\n\tUSERADD_PARAM="--system -d / -M --shell /sbin/nologin systemd-network"\n\tGROUPMEMS_PARAM=""\nfi\n\n# Perform group additions first, since user additions may depend\n# on these groups existing\nif test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupadd commands..."\n\t# Invoke multiple instances of groupadd for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupadd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running useradd commands..."\n\t# Invoke multiple instances of useradd for parameter lists\n\t# separated by ';'\n\topts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_useradd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupmems commands..."\n\t# Invoke multiple instances of groupmems for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupmems "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n
pkg_prerm:systemd-networkd: #!/bin/sh\nset -e\nif systemctl >/dev/null 2>/dev/null; then\n\tif [ -z "$D" ]; then\n\t\tif [ -n "systemd-networkd.service" ]; then\n\t\t\tsystemctl stop systemd-networkd.service\n\t\t\tsystemctl disable systemd-networkd.service\n\t\tfi\n\n\t\t# same as above, --global flag is not supported for stop so do disable only\n\t\t[ -n "" ] && \\\n\t\t\tsystemctl --global disable \n\tfi\nfi\n
FILERDEPENDSFLIST:systemd-networkd: /usr/bin/networkctl /usr/lib/systemd/systemd-networkd /usr/lib/systemd/systemd-networkd-wait-online
FILERDEPENDS:/usr/bin/networkctl:systemd-networkd:  ld-linux.so.3(GLIBC_2.4) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libsystemd-shared-257.so(SD_SHARED) libsystemd-shared-257.so libc.so.6 ld-linux.so.3 rtld(GNU_HASH)
FILERDEPENDS:/usr/lib/systemd/systemd-networkd:systemd-networkd:  ld-linux.so.3(GLIBC_2.4) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.25) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.38) libc.so.6(GLIBC_2.4) libsystemd-shared-257.so(SD_SHARED) libsystemd-shared-257.so libc.so.6 ld-linux.so.3 rtld(GNU_HASH)
FILERDEPENDS:/usr/lib/systemd/systemd-networkd-wait-online:systemd-networkd:  ld-linux.so.3(GLIBC_2.4) libsystemd-shared-257.so(SD_SHARED) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libsystemd-shared-257.so libc.so.6 ld-linux.so.3 rtld(GNU_HASH)
PKGSIZE:systemd-networkd: 1786896
