init script doesn't support tmpfs /var/run and /var/lock

Bug #39987 reported by Lapo Calamandrei
20
Affects Status Importance Assigned to Milestone
mailscanner (Ubuntu)
Fix Released
Low
Jérémie Corbier
Dapper
Invalid
Undecided
Unassigned

Bug Description

The init script doesn't starts mailscanner with tmpfs mounted /var/run and /var/lock so mailscanner does not get started.

Actual behaviour:
when mailscanner is installed (the postinst scripts created the revelant directories in /var) it works correctly, on the first reboot it stops working.

Expected behaviour:
to starts correctly across reboots.

Revision history for this message
Lapo Calamandrei (calamandrei) wrote : modified init script.

Init script which correctly creates needed directories

Revision history for this message
Lapo Calamandrei (calamandrei) wrote : diff against original init script

only slight modifications

Changed in mailscanner:
assignee: nobody → jcorbier
importance: Medium → Low
status: Unconfirmed → In Progress
Revision history for this message
Jérémie Corbier (jcorbier) wrote :

Fix uploaded to edgy.

Changed in mailscanner:
status: In Progress → Fix Committed
Revision history for this message
Jérémie Corbier (jcorbier) wrote :

mailscanner (4.51.5-1ubuntu1) edgy; urgency=low

  * debian/init.d: check_dir tries to create the missing directories and to
    set the correct rights instead of failing (Closes: Malone #39987).

 -- Jeremie Corbier <email address hidden> Wed, 19 Jul 2006 01:54:08 +0200

Changed in mailscanner:
status: Fix Committed → Fix Released
Revision history for this message
Lapo Calamandrei (calamandrei) wrote :

could this fix be backported to dapper as well, actually mailscanner as it is in dapper is non functional.

Alex Mauer (hawke)
Changed in mailscanner:
status: Unconfirmed → Confirmed
Revision history for this message
JC Hulce (soaringsky) wrote :

Thank you for reporting this bug to Ubuntu. The version of Ubuntu referenced in this issue has reached end of life, and the issue is fixed in newer versions of Ubuntu.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

Changed in mailscanner (Ubuntu Dapper):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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