diff --git a/systemd.spec b/systemd.spec index 46fbdd1..8917aa5 100644 --- a/systemd.spec +++ b/systemd.spec @@ -7,13 +7,18 @@ %define group_nvram 50 %define group_kvm 31 %define group_systemd_journal 57 -%define group_systemd_journal_gateway 58 %define user_systemd_journal_gateway 58 - +%define group_systemd_journal_gateway 58 +%define user_systemd_network 60 +%define group_systemd_network 60 +%define user_systemd_resolve 61 +%define group_systemd_resolve 61 +%define user_systemd_bus_proxy 62 +%define group_systemd_bus_proxy 62 Name: systemd Epoch: 2 -Version: 212 -Release: 7mamba +Version: 214 +Release: 2mamba Summary: A system and service manager compatible with SysV and LSB init scripts Group: System/Configuration Vendor: openmamba @@ -276,6 +281,18 @@ if [ "$1" -ge 1 ]; then useradd -u %{user_systemd_journal_gateway} -g systemd-journal-gateway \ -d /var/log/journal -s /sbin/nologin -c "Journal Gateway" \ systemd-journal-gateway 2>/dev/null + groupadd systemd-network -g %{group_systemd_network} 2>/dev/null + useradd -u %{user_systemd_network} -g systemd-network \ + -d /dev/null -s /sbin/nologin -c "Systemd Network" \ + systemd-network 2>/dev/null + groupadd systemd-resolve -g %{group_systemd_resolve} 2>/dev/null + useradd -u %{user_systemd_resolve} -g systemd-resolve \ + -d /dev/null -s /sbin/nologin -c "Systemd Resolve" \ + systemd-resolve 2>/dev/null + groupadd systemd-bus-proxy -g %{group_systemd_bus_proxy} 2>/dev/null + useradd -u %{user_systemd_bus_proxy} -g systemd-bus-proxy \ + -d /dev/null -s /sbin/nologin -c "Systemd Bus proxy" \ + systemd-bus-proxy 2>/dev/null # Configure libnss_myhostanme.so resolver grep "^hosts:.* myhostname" /etc/nsswitch.conf &>/dev/null || \ sed -i "s|\(^hosts:.*\)|\1 myhostname|" /etc/nsswitch.conf @@ -368,11 +385,15 @@ fi %config %{_sysconfdir}/systemd/bootchart.conf %config %{_sysconfdir}/systemd/journald.conf %config %{_sysconfdir}/systemd/logind.conf +%config %{_sysconfdir}/systemd/resolved.conf +%config %{_sysconfdir}/systemd/timesyncd.conf %dir %{_sysconfdir}/systemd/system %config %{_sysconfdir}/systemd/system.conf %dir %{_sysconfdir}/systemd/system/multi-user.target.wants %{_sysconfdir}/systemd/system/multi-user.target.wants/remote-fs.target %{_sysconfdir}/systemd/system/multi-user.target.wants/systemd-networkd.service +%{_sysconfdir}/systemd/system/multi-user.target.wants/systemd-resolved.service +%{_sysconfdir}/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service %dir %{_sysconfdir}/systemd/system/getty.target.wants %{_sysconfdir}/systemd/system/getty.target.wants/getty@tty1.service %config(noreplace) %{_sysconfdir}/systemd/user.conf @@ -566,6 +587,12 @@ fi %{_datadir}/pkgconfig/udev.pc %changelog +* Sun Jun 22 2014 Silvan Calarco 214-2mamba +- add new required users systemd-network, systemd-resolve, systemd-bus-proxy + +* Wed Jun 18 2014 Automatic Build System 214-1mamba +- automatic version update by autodist + * Fri May 02 2014 Silvan Calarco 212-7mamba - nssswitch.conf: configure myhostname as host resolver - install libnss_myhostname.so.* under /%{_lib}