On 2013-02-22 14:35, Sam Varshavchik wrote:
> Kristian Duus Østergaard writes:
>
>> Hi Sam,
>>
>>  I've had to reboot a couple of times this last month and due to a change in
>> Gentoo /var/run is now a link to /run which is a tmpfs filesystem.
>> The problem is that /run is wiped on each boot - for good reasons - but this
>> means that /run/courier is not created. When the directory is missing courier
>> fails to start. Would it not be possible to put something like the following 
>> in
>> the startup:
>>
>> if ( ! -d ${PIDFILE%/*} )
>> then
>>  mkdir -p ${PIDFILE%/*}
>> fi
>
> Hopefully, that's all that your Gentoo package puts into /var/run.
>
> If your package uses the courier.sysvinit script, you can just stick a mkdir
> -p in there, for now.
>
It's based off of your script but not identical - I'll see if I can make a
sensible patch for Gentoo.

The reason I raised it - is that it seems most distro's are moving to having
/run or /var/run be a tmpfs filesystem.

Regards
 Kristian

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to