There are some parts that are interesting to be ported to Glib library, that would make the code both cleaner, shorter and even more portable.
Such parts could be:
I'll start experimenting with this in a new branch and stage it for 3.1 (or even later). (I won't be available until February)
Process spawning: done in common-dbus
Why are we so stupid we didn't see this: http://0pointer.de/lennart/projects/libdaemon/#overview
:: facepalm ::
Should we look into it?
Well it indeed contains features usefu lfor writing daemons. If we've time, you can have a look at it. Since we're using GLib, doesn't that provide such features as well?
I'm wondering If we can switch the libbsd functionallity we are using just for pidfiles with this libdaemon lib. Seems a lot more widespread than libbsd