firebird1.5-super does not start due to missing folder

Bug #184463 reported by markba
This bug report is a duplicate of:  Bug #33235: Missing directory /var/run/firebird2. Edit Remove
2
Affects Status Importance Assigned to Milestone
firebird1.5 (Ubuntu)
In Progress
Undecided
Popa Adrian Marius

Bug Description

Binary package hint: firebird1.5-super

After Installing firebird1.5-super, firebird starts initially OK.

But after a reboot, firebird don't start anymore:
sudo /etc/init.d/firebird1.5-super start
gives: "Could not open /usr/lib/firebird/1.5/run/isc_guard1.<hostname> for write"

Folder /usr/lib/firebird/1.5/run is a symlink pointing to /var/run/firebird/1.5
My manual solution:
- sudo mkdir -p /var/run/firebird/1.5
- sudo chown firebird /var/run/firebird/1.5/

After that, the server runs, also after a reboot.

I guess the two commands (create folder and set rights to that folder) should be in debian post-installation script.

Revision history for this message
markba (mark-baaijens) wrote :

Update.

Apparently, the mentioned folder disappears after a reboot. Strange thing is that simple stopping and starting the server does *not* remove the folder, but as mentioned, a reboot does remove the folder.

So, it was not sufficient to create and set rights to the folder once.
In a workaround, I modified /etc/init.d/firebird1.5-super:
added lines (just before the case construct):

# Workaround for disappearing folder
if [ ! -d /var/run/firebird1.5 ]
then
  mkdir -p /var/run/firebird/1.5
  chown firebird /var/run/firebird/1.5/
fi

Note that this is only a workaround. The real problem IMO is that the folder is removed, somewhere in the reboot proces. It's not in the init-script (/etc/init.d/firebird1.5-super), so it should happen somewhere else.

Changed in firebird1.5:
assignee: nobody → mapopa
status: New → In Progress
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.