[Resolvconf-devel] What do we need to do to make the Ubuntu version?

Sander van Grieken sander at outrightsolutions.nl
Thu Dec 1 11:29:18 UTC 2011


On 12/01/2011 12:58 PM, Thomas Hood wrote:
> Hmm.  I see that on Ubuntu, the "old" location /var/run/resolvconf is
> identical with the "new" location /run/resolvconf.
>
> $ ls -l /var/run
> lrwxrwxrwx 1 root root 4 2011-12-01 09:05 /var/run ->  /run
>
> Because of this the maintainer scripts have to be fundamentally
> different on Ubuntu.  Nothing should be (or can be) copied; only the
> /etc/resolvconf/run symlink should be updated.
>
There does not need to be any fundamental difference. The maintainer 
scripts should basically check the contents of the source directory and 
only call the move-to-/run function if it contains resolvconf data.

On Ubuntu, this should bypass the move when upgrading from 11.10 -> 
12.04. For 10.04 LTS -> 12.04 LTS, we still might need to move from 
/var/run though. I guess we have to determine the actual destination of 
the chain of symlinks and bail if it ends up at /run.

Sander




More information about the Resolvconf-devel mailing list