roxen4 package from dapper doesn't create /var/run/roxen4

Bug #106873 reported by xurizaemon
This bug report is a duplicate of:  Bug #249447: roxen4 misses /var/run/roxen4. Edit Remove
2
Affects Status Importance Assigned to Milestone
roxen4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: roxen4

The init.d script from dapper's roxen4 doesn't check for the existence of /var/run/roxen4. This directory needs to be created (after reboot?) with permissions for writing as webserver user (default www-data I believe).

This prevents the builtin MySQL server from loading, which would give rise to reports like:

 * https://bugs.launchpad.net/ubuntu/+source/libroxen-form/+bug/93671

Revision history for this message
xurizaemon (xurizaemon) wrote :

I fixed this by adding the following near the head of my /etc/init.d/roxen script.

if [ ! -d /var/run/roxen4 ] ; then
  mkdir /var/run/roxen4
  chown www-data: /var/run/roxen4
fi

... although it may be better added to roxenloader.pike perhaps (that is where other diirectories are created)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.