Bug#1068504: mumble-server: wrong path for systemd-sysusers file
Michael Biebl
biebl at debian.org
Thu Sep 5 15:18:02 BST 2024
Hi,
the best way I'd say to fix this is via a build-depends on systemd-dev
to get the correct path for the sysusers directory from systemd.pc.
/etc/sysconfig.d is a weird fallback path (which honestly doesn't make a
lot of sense) in case systemd.pc is not found.
from auxiliary_files/CMakeLists.txt:
> get_pkgconf_variable(
> OUTPUT_VARIABLE SYSUSERS_DIR
> MODULE systemd
> VARIABLE_NAME sysusersdir
> QUIET
> )
> if(NOT SYSUSERS_DIR)
> # Fallback value, in case it could not be fetched via pkg-config
> set(SYSUSERS_DIR "${CMAKE_INSTALL_SYSCONFDIR}/sysconfig.d")
> endif()
Regards,
Michael
On Sat, 6 Apr 2024 23:01:37 -0400 Chris Knadle
<Chris.Knadle at coredump.us> wrote:
> Greetings.
>
> As far as I know /etc/sysconfig.d/ is a directory used by Fedora/Red Hat
> based distros, not Debian.
>
> Looking through the Git log I see I added this on Feb 1 2023 with the
> following commit message:
>
> add etc/sysconfid./mumble-server.conf as the build breaks without
> it at compat 13
> (it's commit f0cdad5245c6d1de6bff9223c6ce5767c13f9e45)
>
> /usr/lib/sysusers.d/*.conf does seem like where this file should go.
>
> I've made local Git commits to fix this for the next bugfix upload
> (1.5.517-3). Before doing any more uploads I need to look at what's
> going on with a number of library transitions going on that could get
> negatively affected by uploads of mumble.
>
> -- Chris
>
> --
> Chris Knadle
> Chris.Knadle at coredump.us
>
> On 4/6/24 09:12, Stefan Schweizer via Pkg-voip-maintainers wrote:
> > Package: mumble-server
> > Severity: normal
> >
> > Hi,
> >
> > mumble-server installs a systemd-sysusers file to /etc/sysconfig.d
> >
> > According to the sysusers.d(5) man page sysusers files can be placed in
> > /etc/sysusers.d/*.conf
> > /run/sysusers.d/*.conf
> > /usr/lib/sysusers.d/*.conf
> >
> > So installing the sysusers file to /etc/sysconfig.d has no
> > effect and it should be moved to /usr/lib/sysusers.d.
> >
> > Since the mumble-server user is created by the debian package I think
> > the sysusers file is unnecessary and can be omitted until a switch to
> > sysusers is made.
> >
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20240905/9a3c69ad/attachment.sig>
More information about the Pkg-voip-maintainers
mailing list