Hello community, here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory checked in at 2017-11-16 14:02:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old) and /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "tpm2.0-abrmd" Thu Nov 16 14:02:09 2017 rev:4 rq:542015 version:1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes 2017-09-04 12:34:55.975236270 +0200 +++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new/tpm2.0-abrmd.changes 2017-11-16 14:02:10.903087314 +0100 @@ -1,0 +2,8 @@ +Wed Nov 15 11:43:19 UTC 2017 - matthias.gerstner@suse.com + +- fix_service_paths.diff: fixed broken systemd service unit (bnc#1066123). the + service unit file in the upstream distribution tarball is already configured + and looks for binaries and configuration files in the /usr/local prefix + which is wrong. + +------------------------------------------------------------------- New: ---- fix_service_paths.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tpm2.0-abrmd.spec ++++++ --- /var/tmp/diff_new_pack.ddSzyG/_old 2017-11-16 14:02:11.559063542 +0100 +++ /var/tmp/diff_new_pack.ddSzyG/_new 2017-11-16 14:02:11.559063542 +0100 @@ -35,6 +35,7 @@ BuildRequires: pkgconfig(sapi) Requires(pre): pwdutils BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch0: fix_service_paths.diff %description The tpm2.0-abrmd package provides the TPM2 Access Broker & Resource Manager. @@ -65,7 +66,7 @@ %prep %setup -q -n tpm2-abrmd-%{version} -# %%patch0 -p1 +%patch0 -p1 %build export CFLAGS="%optflags -fPIE" ++++++ fix_service_paths.diff ++++++ Index: tpm2-abrmd-1.1.1/dist/tpm2-abrmd.service =================================================================== --- tpm2-abrmd-1.1.1.orig/dist/tpm2-abrmd.service +++ /dev/null @@ -1,16 +0,0 @@ -# copy this file into /etc/systemd/system -[Unit] -Description=TPM2 Access Broker and Resource Management Daemon - -[Service] -Type=dbus -Restart=always -RestartSec=5 -EnvironmentFile=-/usr/local/etc/default/tpm2-abrmd -BusName=com.intel.tss2.Tabrmd -StandardOutput=syslog -ExecStart=/usr/local/sbin/tpm2-abrmd -User=tss - -[Install] -WantedBy=multi-user.target Index: tpm2-abrmd-1.1.1/dist/tpm2-abrmd.service.in =================================================================== --- /dev/null +++ tpm2-abrmd-1.1.1/dist/tpm2-abrmd.service.in @@ -0,0 +1,16 @@ +# copy this file into /etc/systemd/system +[Unit] +Description=TPM2 Access Broker and Resource Management Daemon + +[Service] +Type=dbus +Restart=always +RestartSec=5 +EnvironmentFile=-@sysconfdir@/default/tpm2-abrmd +BusName=com.intel.tss2.Tabrmd +StandardOutput=syslog +ExecStart=@SBINDIR@/tpm2-abrmd +User=tss + +[Install] +WantedBy=multi-user.target