Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118043 - mail-mta/nullmailer depends on daemontools
Summary: mail-mta/nullmailer depends on daemontools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-06 07:30 UTC by Stefan Nickl
Modified: 2006-02-13 05:17 UTC (History)
1 user (show)

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


Attachments
Proposed init script for nullmailer-send (nullmailer,508 bytes, text/plain)
2006-01-06 07:31 UTC, Stefan Nickl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Nickl 2006-01-06 07:30:05 UTC
An important property of nullmailer is that it's small and easy to set up, however these advantages are almost nullified by the fact that it pulls in daemontools and supervise-scripts which seem to be some kind of second-level rc/init system.

To work around this cruft, I created a small init script for nullmailer that I'd like to be included into the nullmailer ebuild to replace the current style of running the nullmailer-send daemon.

Note that I'm not a regular init-script hacker so I may have overlooked some of the nasty details, but it seems functional to me and I hope this attempt will find your appreciation.
Comment 1 Stefan Nickl 2006-01-06 07:31:23 UTC
Created attachment 76348 [details]
Proposed init script for nullmailer-send
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-01-29 19:45:18 UTC
daemontools adds no difficulty to running nullmailer, and the --daemon flag isn't accepted by upstream (it's from the debian patch).

However I've taken your init script, and added some safety to it, so that it won't be used if nullmailer is running via daemontools.
Comment 3 Stefan Nickl 2006-02-13 05:17:31 UTC
Agreed.

I might start a fork of nullmailer itself some time to make it a real busybox-style mta, but I don't think that's gonna happen very soon.