>On 2013-02-22 14:35, Sam Varshavchik wrote:
>>>  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.

On 23.02.13 00:10, Kristian Duus Østergaard wrote:
>The reason I raised it - is that it seems most distro's are moving to having
>/run or /var/run be a tmpfs filesystem.

then, a distro has to take care about /var/run subdirectories
-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
We are but packets in the Internet of life (userfriendly.org)

------------------------------------------------------------------------------
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