Source: openqa
Version: 4.6.1674490999.b00c12673-1
Severity: normal
Tags: patch

Hi,

I noticed that openqa and openqa-worker install its tmpfiles and
sysusers configuration files into /lib.
The correct paths are in /usr/lib though as you can query from
systemd.pc:

$ pkg-config --variable=tmpfilesdir  systemd
/usr/lib/tmpfiles.d
$ pkg-config --variable=sysusersdir  systemd
/usr/lib/sysusers.d

The attached patch fixes the paths.

Regards,
Michael



-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
+++ openqa-4.6.1674490999.b00c12673/debian/changelog    2023-02-02 
11:23:38.000000000 +0100
@@ -1,3 +1,10 @@
+openqa (4.6.1674490999.b00c12673-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install tmpfiles and sysusers configuration into correct paths.
+
+ -- Michael Biebl <bi...@debian.org>  Thu, 02 Feb 2023 11:23:38 +0100
+
 openqa (4.6.1674490999.b00c12673-1) unstable; urgency=medium
 
   * Update to new upstream version 4.6.1674490999.b00c12673.
diff -Nru openqa-4.6.1674490999.b00c12673/debian/openqa.install 
openqa-4.6.1674490999.b00c12673/debian/openqa.install
--- openqa-4.6.1674490999.b00c12673/debian/openqa.install       2023-01-25 
10:33:09.000000000 +0100
+++ openqa-4.6.1674490999.b00c12673/debian/openqa.install       2023-02-02 
11:23:35.000000000 +0100
@@ -24,8 +24,8 @@
 usr/lib/systemd/system/openqa-setup-db.service /lib/systemd/system/
 usr/lib/systemd/system/openqa-reload-worker-auto-restart@.path 
/lib/systemd/system/
 usr/lib/systemd/system/openqa-reload-worker-auto-restart@.service 
/lib/systemd/system/
-debian/tmp/usr/lib/sysusers.d/geekotest.conf /lib/sysusers.d/
-usr/lib/tmpfiles.d/openqa-webui.conf /lib/tmpfiles.d/
+usr/lib/sysusers.d/geekotest.conf
+usr/lib/tmpfiles.d/openqa-webui.conf
 usr/share/openqa/lib/DBIx/
 usr/share/openqa/lib/OpenQA/LiveHandler.pm
 usr/share/openqa/lib/OpenQA/Resource/
diff -Nru openqa-4.6.1674490999.b00c12673/debian/openqa-worker.install 
openqa-4.6.1674490999.b00c12673/debian/openqa-worker.install
--- openqa-4.6.1674490999.b00c12673/debian/openqa-worker.install        
2023-01-25 10:33:09.000000000 +0100
+++ openqa-4.6.1674490999.b00c12673/debian/openqa-worker.install        
2023-02-02 11:23:38.000000000 +0100
@@ -11,8 +11,8 @@
 usr/lib/systemd/system/openqa-worker-no-cleanup@.service /lib/systemd/system/
 usr/lib/systemd/system/openqa-slirpvde.service /lib/systemd/system/
 usr/lib/systemd/system/openqa-vde_switch.service /lib/systemd/system/
-debian/tmp/usr/lib/sysusers.d/openQA-worker.conf /lib/sysusers.d/
-usr/lib/tmpfiles.d/openqa.conf /lib/tmpfiles.d/
+usr/lib/sysusers.d/openQA-worker.conf
+usr/lib/tmpfiles.d/openqa.conf
 usr/share/openqa/lib/OpenQA/CacheService
 usr/share/openqa/lib/OpenQA/Worker
 usr/share/openqa/script/openqa-slirpvde

Reply via email to