Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
pesign
pesign-run.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pesign-run.patch of Package pesign
Index: pesign-0.109/src/Makefile =================================================================== --- pesign-0.109.orig/src/Makefile +++ pesign-0.109/src/Makefile @@ -79,7 +79,7 @@ install_sysvinit: install : $(INSTALL) -d -m 700 $(INSTALLROOT)/etc/pki/pesign/ - $(INSTALL) -d -m 770 $(INSTALLROOT)/var/run/pesign/ + $(INSTALL) -d -m 770 $(INSTALLROOT)/run/pesign/ $(INSTALL) -d -m 755 $(INSTALLROOT)$(PREFIX)/bin/ $(INSTALL) -m 755 pesign $(INSTALLROOT)$(PREFIX)/bin/ $(INSTALL) -m 755 client $(INSTALLROOT)$(PREFIX)/bin/pesign-client Index: pesign-0.109/src/daemon.h =================================================================== --- pesign-0.109.orig/src/daemon.h +++ pesign-0.109/src/daemon.h @@ -47,7 +47,7 @@ typedef enum { } pesignd_cmd; #define PESIGND_VERSION 0xa3cf41cb -#define SOCKPATH "/var/run/pesign/socket" -#define PIDFILE "/var/run/pesign.pid" +#define SOCKPATH "/run/pesign/socket" +#define PIDFILE "/run/pesign.pid" #endif /* DAEMON_H */ Index: pesign-0.109/src/macros.pesign =================================================================== --- pesign-0.109.orig/src/macros.pesign +++ pesign-0.109/src/macros.pesign @@ -34,7 +34,7 @@ %{_pesign} -R ${sattrs}.sig -I ${sattrs} %{-i} \\\ --certdir ${nss} -c signer %{-o} \ rm -rf ${sattrs} ${sattrs}.sig ${nss} \ - elif [ -S /var/run/pesign/socket ]; then \ + elif [ -S /run/pesign/socket ]; then \ %{_pesign_client} -t "OpenSC Card (Fedora Signer)" \\\ -c "/CN=Fedora Secure Boot Signer" \\\ %{-i} %{-o} %{-e} %{-s} %{-C} \ Index: pesign-0.109/src/pesign.sysvinit =================================================================== --- pesign-0.109.orig/src/pesign.sysvinit +++ pesign-0.109/src/pesign.sysvinit @@ -4,7 +4,7 @@ # # chkconfig: - 50 50 # processname: /usr/bin/pesign -# pidfile: /var/run/pesign.pid +# pidfile: /run/pesign.pid ### BEGIN INIT INFO # Provides: pesign # Should-Start: $remote_fs @@ -19,7 +19,7 @@ [ -f /usr/bin/pesign ] || exit 1 -PESIGN_PIDFILE=/var/run/pesign.pid +PESIGN_PIDFILE=/run/pesign.pid RETVAL=0 start(){ @@ -28,15 +28,15 @@ start(){ RETVAL=$? echo touch /var/lock/subsys/pesign - setfacl -m u:kojibuilder:x /var/run/pesign - setfacl -m u:kojibuilder:rw /var/run/pesign/socket - setfacl -m g:kojibuilder:x /var/run/pesign - setfacl -m g:kojibuilder:rw /var/run/pesign/socket + setfacl -m u:kojibuilder:x /run/pesign + setfacl -m u:kojibuilder:rw /run/pesign/socket + setfacl -m g:kojibuilder:x /run/pesign + setfacl -m g:kojibuilder:rw /run/pesign/socket } stop(){ echo -n "Stopping pesign: " - killproc -p /var/run/pesign.pid pesignd + killproc -p /run/pesign.pid pesignd RETVAL=$? echo rm -f /var/lock/subsys/pesign Index: pesign-0.109/src/tmpfiles.conf =================================================================== --- pesign-0.109.orig/src/tmpfiles.conf +++ pesign-0.109/src/tmpfiles.conf @@ -1 +1 @@ -D /var/run/pesign 0770 pesign pesign - +D /run/pesign 0770 pesign pesign -
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor