Accepting request 516226 from home:eeich:branches:hardware
- 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. - run systemd-tmpfiles --create ... before starting service (bsc#1053481). OBS-URL: https://build.opensuse.org/request/show/516226 OBS-URL: https://build.opensuse.org/package/show/hardware/powerman?expand=0&rev=37
This commit is contained in:
parent
a550feb55a
commit
e476545775
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user