1 Commits

Author SHA256 Message Date
70bd574185 Remove /var/lib/pesign (jsc#PED-14755)
- 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
2026-01-19 14:49:08 +08: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 -