Jaunty: Does not create run directory in /var/run

Bug #386822 reported by Jürgen Kreileder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
resolvconf (Ubuntu)
Fix Released
Medium
Mathieu Trudel-Lapierre

Bug Description

Binary package hint: resolvconf

Resolvconf in jaunty uses a real /etc/resolvconf/run directory instead of /var/run/resolvconf (plus symlink from /etc/resolvconf/run).
The problem is caused by a broken regexp in resolvconf.postinst: The entry for /var/run in /proc/mounts starts with "varrun" and not "tmpfs".

Patch attached.

Related branches

Revision history for this message
Jürgen Kreileder (jk) wrote :
Changed in resolvconf (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

This still appears to be valid up to Karmic and Lucid with resolvconf 1.44ubuntu1. However, it seems that the regex that checks /proc/mounts should start with 'none', not tmpfs now.

Changed in resolvconf (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Matt Trudel (mathieu-tl)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package resolvconf - 1.45ubuntu1

---------------
resolvconf (1.45ubuntu1) lucid; urgency=low

  * Merge from debian unstable, remaining changes (LP: #495998):
    - bin/resolvconf:
      + fail with non-zero exit code when /etc/resolv.conf is not a symlink.
    - debian/postinst:
      + use default /var/run.
    - debian/rules:
      + don't install the init script in runlevels 0 and 6.
  * debian/postinst:
    - make sure all run files are sent to /var/run, not /lib/init/rw
    - update regex to check that /var/run is a tmpfs (LP: #386822)
    - fix typo in comments
  * debian/postrm:
    - remove /var/run/resolvconf, not /lib/init/rw/resolvconf
    - also purge /var/run/resolvconf/interface
 -- Mathieu Trudel <email address hidden> Wed, 30 Dec 2009 16:17:58 -0500

Changed in resolvconf (Ubuntu):
status: In Progress → Fix Released
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.