package firebird2.0-classic/super failed to install/upgrade: find: /var/run/firebird: No such file or directory

Bug #282791 reported by Glenn Sullivan
4
Affects Status Importance Assigned to Milestone
firebird2.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Tried to install firebird2.0-classic and it failed with an error code of 1. I am using Ubuntu 8.04.1.

ProblemType: Package
Architecture: i386
Date: Mon Oct 13 12:16:56 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: fglrx
Package: firebird2.0-classic 2.0.3.12981.ds1-12
PackageArchitecture: i386
SourcePackage: firebird2.0
Title: package firebird2.0-classic 2.0.3.12981.ds1-12 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.24-19-generic i686

:: Description of the bug ::
This bug occurs when /var/run is of type tmpfs.
The path /var/run/firebird/2.0 is created in the firebird2.0-common.postinst (or firebird2.0-server-common.postinst in Intrepid) script by the adduser command.
When the system is rebooted /var/run/firebird/2.0 is lost due to /var/run being a tmpfs filesystem.

:: Steps to reproduce ::
$ sudo apt-get install firebird2.0-common (or firebird2.0-server-common in Intrepid)
$ reboot
$ sudo apt-get install firebird2.0-classic

:: Error ::
Setting up firebird2.0-super (2.0.3.12981.ds1-12) ...
find: /var/run/firebird: No such file or directory
dpkg: error processing firebird2.0-super (--configure):
 subprocess post-installation script returned error exit status 1

:: Solution/Workaround ::
$ sudo apt-get install --reinstall firebird2.0-common
$ sudo apt-get install firebird2.0-classic

Will recreate the user and the directory

Revision history for this message
Glenn Sullivan (glenngds) wrote :
description: updated
Revision history for this message
Damyan Ivanov (dmn-debian) wrote : Re: [Bug 282791] Re: package firebird2.0-classic/super failed to install/upgrade: find: /var/run/firebird: No such file or directory

-=| Jean-Baptiste Lallement, Mon, Oct 13, 2008 at 08:43:10PM -0000 |=-
> ** Summary changed:
>
> - package firebird2.0-classic 2.0.3.12981.ds1-12 failed to install/upgrade: subprocess post-installation script returned error exit status 1
> + package firebird2.0-classic/super failed to install/upgrade: find: /var/run/firebird: No such file or directory

You can work around the problem by disabling usage of tmpfs for
/var/run.

--
dam JabberID: <email address hidden>

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report. This is confirmed in Intrepid

black:/var/lib/dpkg/info# apt-cache policy firebird2.0-classic
firebird2.0-classic:
  Installed: (none)
  Candidate: 2.0.4.13130-1.ds1-2

Changed in firebird2.0:
status: New → Confirmed
description: updated
description: updated
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

This is a corner case because /var/run/firebird/2.0 is recreated at database startup in /etc/init.d/firebird2.0-classic

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.