5 Commits

Author SHA256 Message Date
34c05dbc64 Accepting request 1327105 from Base:System
- Use /var/lib/empty as the the home directory of the pesign system
  user and remove /var/lib/pesign (jsc#PED-14755)
- Move '/run/pesign' to pesign-systemd which creates the directory
  in the post script

OBS-URL: https://build.opensuse.org/request/show/1327105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pesign?expand=0&rev=50
2026-01-15 15:43:40 +00:00
a4dfe3b1c3 - Use /var/lib/empty as the the home directory of the pesign system
user and remove /var/lib/pesign (jsc#PED-14755)
- Move '/run/pesign' to pesign-systemd which creates the directory
  in the post script

OBS-URL: https://build.opensuse.org/package/show/Base:System/pesign?expand=0&rev=93
2026-01-14 02:10:17 +00:00
aff623f13f - Update pesign.sysusers to use /run/pesign as the home directory of
the 'pesign' system user and get rid of /var/lib/pesign
  (jsc#PED-14754)

OBS-URL: https://build.opensuse.org/package/show/Base:System/pesign?expand=0&rev=92
2026-01-02 06:53:33 +00:00
6d62800323 OBS-URL: https://build.opensuse.org/package/show/Base:System/pesign?expand=0&rev=91 2026-01-02 06:08:12 +00:00
cacce4818c - Remove %{_localstatedir}/lib/pesign which is not used anymore
(jsc#PED-14754)

OBS-URL: https://build.opensuse.org/package/show/Base:System/pesign?expand=0&rev=90
2025-12-31 07:36:20 +00:00
3 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jan 13 08:13:01 UTC 2026 - Gary Ching-Pang Lin <glin@suse.com>
- Use /var/lib/empty as the the home directory of the pesign system
user and remove /var/lib/pesign (jsc#PED-14755)
- Move '/run/pesign' to pesign-systemd which creates the directory
in the post script
-------------------------------------------------------------------
Mon Mar 3 02:52:58 UTC 2025 - Gary Ching-Pang Lin <glin@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package pesign
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -80,7 +80,6 @@ export CPPFLAGS="%{optflags} -D_GLIBCXX_ASSERTIONS"
make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="${LDFLAGS} -pie" libexecdir=%{_libexecdir}
%install
mkdir -p %{buildroot}%{_localstatedir}/lib/pesign
mkdir -p %{buildroot}%{_sbindir}
make INSTALLROOT=%{buildroot} \
UNITDIR=%{_unitdir} \
@@ -132,12 +131,11 @@ systemd-tmpfiles --create %{_tmpfilesdir}/pesign.conf || :
%{_libexecdir}/pesign/pesign-rpmbuild-helper
%dir %{_sysconfdir}/pki/
%dir %attr(0775,pesign,pesign) %{_sysconfdir}/pki/pesign
%ghost %dir %attr(0770,pesign,pesign) /run/%{name}
%dir %attr(0770,pesign,pesign) %{_localstatedir}/lib/%{name}
%files systemd
%{_sbindir}/rcpesign
%{_unitdir}/pesign.service
%{_tmpfilesdir}/pesign.conf
%ghost %dir %attr(0770,pesign,pesign) /run/%{name}
%changelog

View File

@@ -1,2 +1,2 @@
#Type Name ID GECOS Home directory Shell
u pesign - "PE-COFF signing daemon" /var/lib/pesign -
u pesign - "PE-COFF signing daemon" /var/lib/empty -