[Bug 1622025] [NEW] running /sbin/restart with no arguments restarts services

2016-09-09 Thread Jean-Sebastien Legare
Public bug reported: Accidentally ran `/sbin/restart` (symlink to `/sbin/initctl`) without arguments as my regular user, and unity was restarted (possibly amongst other things). I would expect it to exit immediately with an error code, given its usage and manpage (initctl (8)). Easy to

[Bug 1620221] Re: dhcp6c inserts link-local entries in resolv.conf without interface scope

2016-09-05 Thread Jean-Sebastien Legare
workaround script patch to suffix link-local ipv6 addresses. ** Patch added: "patch to the config script to suffix fe80:: addresses with the scope." https://bugs.launchpad.net/ubuntu/+source/wide-dhcpv6/+bug/1620221/+attachment/4734793/+files/script.patch -- You received this bug

[Bug 1620221] Re: dhcp6c inserts link-local entries in resolv.conf without interface scope

2016-09-05 Thread Jean-Sebastien Legare
Attaching patch which plumbs down interface name (of dhcpv6 reply) to dhcp6c-script in environment variable "ifname". The script needs to add the % suffix, where appropriate. ** Attachment added: "pass ifp->ifname down to dhcp6-script"

[Bug 1620221] Re: dhcp6c inserts link-local entries in resolv.conf without interface scope

2016-09-05 Thread Jean-Sebastien Legare
Now that I think of it, looking at the "old" contents of /etc/resolv.conf to see if a line is already there before adding it makes less sense in a resolvconf setting. /etc/resolv.conf is a result combined from various files under /var/run/resolvconf/interface/*. A line in /etc/resolv.conf could

[Bug 1620221] [NEW] dhcp6c inserts link-local entries in resolv.conf without interface scope

2016-09-05 Thread Jean-Sebastien Legare
Public bug reported: link local addresses are submitted to /etc/wide-dhcpv6/dhcp6c-script via the $new_domain_name_servers environment variable, but there is no way to determine their scope. the end result is a nameserver entry in /etc/resolv.conf which causes libc's resolver to fail. After a