Hello,

I'm trying to package the cron-replacement "fcron" (http:// 
fcron.free.fr/), but it is somewhat more advanced than packages I  
have done previously, and I can't find answers to the following  
questions in the packaging tutorial.

fcron uses a setup very similar to cron, with a daemon and an  
fcrontab command that allows ordinary users to update their tab. This  
fcrontab command must be able to write to a spool directory, in order  
to communicate with the daemon.

1) Since ordinary users can't write to the spool directory directly,  
the fcrontab binary must be installed with setuid or setgid bits.  
What's the preferred way to do this in Fink? From the postinst  
scripts? (Any packages to look at as an example?)

2) Some setups (like the Debian setup of cron/fcron, but unlike the  
Mac OS X setup of cron), use a dedicated "fcron" user and group, and  
make the spool directory writable to this user. As such, the fcrontab  
command can be suid-fcron instead of suid-root (the fcronsighup  
command is still suid-root though, but it is probably much simpler).  
Would this be advisable for Fink as well? If so, how can you create  
an additional user? This seems to require a listing in the "passwd"  
package.

3) Is there any documentation on the format for "daemonic" service  
descriptions, as placed in the field "DaemonicFile"? (Or any packages  
to look at as an example?)

Thanks and best regards,
Bruno De Fraine


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to