dnscache resolvconf update script still accesses /etc/resolvconf/run/

Bug #1035076 reported by MarianoAbsatz
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
resolvconf (Ubuntu)
Fix Released
High
Unassigned

Bug Description

At some point what used to be /etc/resolvconf/run moved to /run/resolvconf.

I don't know if this is because of some LSB requirement or what. The point is that there seems to be parts of ubuntu that long for the old location:

 $ sudo invoke-rc.d networking restart
 * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
 * Reconfiguring network interfaces... /etc/resolvconf/update.d/dnscache: 94: /etc/resolvconf/update.d/dnscache: cannot create /etc/resolvconf/run/dnscache_new.19373: Directory nonexistent
run-parts: /etc/resolvconf/update.d/dnscache exited with return code 2
ssh stop/waiting
ssh start/running, process 19462

I think that either the /etc/resolvconf/update.d/dnscache script should be patched taking this into account or we could create a symlink to the new location:

sudo ln -s ../../run/resolvconf /etc/resolvconf/run

Revision history for this message
MarianoAbsatz (el-baby) wrote :

Either the symlink in my previous comment or this tiny patch to /etc/resolvconf/update.d/dnscache solve the issue.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "resolvconf-update.d-dnscache.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Thomas Hood (jdthood) wrote : Re: missing directory /etc/resolvconf/run

Thanks for the report. That is indeed a bug in the Ubuntu resolvconf package and your patch is the correct fix for it.

Changed in resolvconf (Ubuntu):
status: New → Confirmed
tags: added: precise quantal
summary: - missing directory /etc/resolvconf/run
+ dnscache resolvconf update script still accesses /etc/resolvconf/run/
Steve Langasek (vorlon)
Changed in resolvconf (Ubuntu):
importance: Undecided → High
Revision history for this message
Thomas Hood (jdthood) wrote :

@Stéphane: Can you please take care of this?

Changed in resolvconf (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package resolvconf - 1.67ubuntu2

---------------
resolvconf (1.67ubuntu2) quantal; urgency=low

  * Apply patch by MarianoAbsatz to remove remaining reference to
    /etc/resolvconf/run (LP: #1035076)
  * Update ppp hooks to also exit when passed
    /org/freedesktop/NetworkManager/PPP/* (LP: #994575)
 -- Stephane Graber <email address hidden> Fri, 07 Sep 2012 18:01:59 -0400

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