Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466376 - dev-libs/cyrus-sasl: add systemd unit, rewrite /etc/conf.d/saslauthd, add tmpfiles.d support, move pid files to /run
Summary: dev-libs/cyrus-sasl: add systemd unit, rewrite /etc/conf.d/saslauthd, add tmp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL: https://github.com/Sabayon/systemd-lo...
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit systemd-love
  Show dependency tree
 
Reported: 2013-04-18 14:27 UTC by Fabio Erculiani (RETIRED)
Modified: 2013-07-13 12:01 UTC (History)
3 users (show)

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


Attachments
saslauthd unit (saslauthd.service,277 bytes, text/plain)
2013-04-18 14:28 UTC, Fabio Erculiani (RETIRED)
Details
pwcheck unit (pwcheck.service,149 bytes, text/plain)
2013-04-18 14:28 UTC, Fabio Erculiani (RETIRED)
Details
cyrus-sasl tmpfiles.d config file (cyrus-sasl.conf,34 bytes, text/plain)
2013-04-18 14:28 UTC, Fabio Erculiani (RETIRED)
Details
cyrus-sasl ebuild diff (cyrus-sasl-ebuild.diff,1.75 KB, patch)
2013-04-18 14:30 UTC, Fabio Erculiani (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Erculiani (RETIRED) gentoo-dev 2013-04-18 14:27:46 UTC
At URL I committed a dev-libs/cyrus-sasl ebuild featuring two working systemd units, one for pwcheck and the other one for saslauthd.
I had to modify the default /etc/conf.d/saslauthd to avoid users using shell variables in SASLAUTHD_OPTS by default (and force them to read the systemd disclaimer).
Together with all this, I moved the pwcheck and saslauthd home dirs to /run/saslauthd (as Fedora does) and privided a tmpfiles.d config file.

See the attached patches.

Reproducible: Always
Comment 1 Fabio Erculiani (RETIRED) gentoo-dev 2013-04-18 14:28:15 UTC
Created attachment 345902 [details]
saslauthd unit
Comment 2 Fabio Erculiani (RETIRED) gentoo-dev 2013-04-18 14:28:28 UTC
Created attachment 345904 [details]
pwcheck unit
Comment 3 Fabio Erculiani (RETIRED) gentoo-dev 2013-04-18 14:28:51 UTC
Created attachment 345906 [details]
cyrus-sasl tmpfiles.d config file
Comment 4 Fabio Erculiani (RETIRED) gentoo-dev 2013-04-18 14:30:08 UTC
Created attachment 345908 [details, diff]
cyrus-sasl ebuild diff
Comment 5 Pacho Ramos gentoo-dev 2013-07-05 16:51:47 UTC
Changes can be get from systemd-love overlay. I will commit in a week if nobody disagrees. Thanks
Comment 6 Pacho Ramos gentoo-dev 2013-07-13 12:01:14 UTC
+*cyrus-sasl-2.1.26-r2 (13 Jul 2013)
+
+  13 Jul 2013; Pacho Ramos <pacho@gentoo.org> +cyrus-sasl-2.1.26-r2.ebuild,
+  +files/cyrus-sasl.conf, +files/pwcheck.service, +files/saslauthd-2.1.26.conf,
+  +files/saslauthd.service, +files/saslauthd2.rc7:
+  Install unit file (#466376)
+