Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487940 - media-sound/umurmur - Add systemd unit file.
Summary: media-sound/umurmur - Add systemd unit file.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2013-10-13 22:35 UTC by Andrius Štikonas
Modified: 2013-12-23 12:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
umurmur.service (umurmur.service,363 bytes, text/plain)
2013-10-13 22:35 UTC, Andrius Štikonas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius Štikonas 2013-10-13 22:35:25 UTC
Created attachment 360832 [details]
umurmur.service

umurmur should provide systemd unit file.

The attached umurmur.service file works only if I do chmod +r /etc/umurmur/umurmur.conf
I guess this has to be fixed before this unit file can be used.
Comment 1 Pacho Ramos gentoo-dev 2013-10-15 18:18:47 UTC
Looks like permissions are set in that way on purpose:
        # Some permissions are adjusted as the config may contain a server
        # password, and /etc/umurmur will typically contain the cert and the
        # key used to sign it, which are read after priveleges are dropped.
        local confdir="/etc/umurmur"
        dodir ${confdir}
        fperms 0750 ${confdir}
        fowners root:murmur ${confdir}

        insinto ${confdir}
        doins "${FILESDIR}"/umurmur.conf
        fperms 0640 ${confdir}/umurmur.conf

Not sure how to proceed, setting umurmur.conf to be owned by root:umurmur would be enough, but that needs to be confirmed by maintainers
Comment 2 Pacho Ramos gentoo-dev 2013-12-22 11:12:16 UTC
We need maintainers opinion per previous comment :)
Comment 3 Julian Ospald 2013-12-22 16:58:56 UTC
I don't see a problem with that. I'd move the fowners further down and just add the "-R" switch.

Lars?
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-12-22 18:29:54 UTC
Like you might already know I don't give a damn about anything systemd related. So I simply don't care. 
Add the files but don't break the package please.
Comment 5 Julian Ospald 2013-12-23 12:14:22 UTC
+*umurmur-0.2.13-r1 (23 Dec 2013)
+
+  23 Dec 2013; Julian Ospald <hasufell@gentoo.org> +umurmur-0.2.13-r1.ebuild,
+  +files/umurmurd.service:
+  add systemd unit wrt #487940