diff --git a/powerman.changes b/powerman.changes index d3c4cc1..4aba77e 100644 --- a/powerman.changes +++ b/powerman.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Aug 11 19:47:51 UTC 2017 - eich@suse.com + +- This package should not provide the user/group powerman + as it is the only user of this group: powermand runs as + this user/group and writes its data as this user/group. + This gives the sysadmin some control over who to give + access. There is no other application requiring this + user/group. + +------------------------------------------------------------------- +Fri Aug 11 18:04:54 UTC 2017 - eich@suse.com + +- run systemd-tmpfiles --create ... before starting service (bsc#1053481). + ------------------------------------------------------------------- Thu Jun 15 15:20:21 UTC 2017 - jjolly@suse.com diff --git a/powerman.spec b/powerman.spec index b09bacf..62e1335 100644 --- a/powerman.spec +++ b/powerman.spec @@ -50,9 +50,6 @@ BuildRequires: pkgconfig(systemd) Requires(pre): shadow -Provides: group(%powerman_g) -Provides: user(%powerman_u) - %description PowerMan is a tool for manipulating remote power control (RPC) devices from a central location. Several RPC varieties are supported natively by PowerMan and @@ -110,8 +107,8 @@ getent passwd %powerman_u >/dev/null || useradd -r -g %powerman_g -M -s /bin/fal exit 0 %post -%service_add_post %{name}.service systemd-tmpfiles --create %{_tmpfilesdir}/powerman.conf +%service_add_post %{name}.service %preun %service_del_preun %{name}.service