Bug#629060: update-hostname vs. network-manager
Package: debian-edu-config Version: SVN+r73284 Severity: important On Debian Edu workstations the update-hostname init script is executed before the network-manager init script. Optimal would be: start network-manager first, then update the system's hostname from DNS. Greets, Mike -- DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419 GnuPG Key ID 0xB588399B mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb pgp0BNMeJiruT.pgp Description: Digitale PGP-Unterschrift
Bug#629060: update-hostname vs. network-manager
On Freitag, 3. Juni 2011, Mike Gabriel wrote: On Debian Edu workstations the update-hostname init script is executed before the network-manager init script. we could make update-hostname depend on the network-manager script, so that it would always be executed after network-manager. I just dont know for sure what will happen if eg network-manager has been removed... -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629060: update-hostname vs. network-manager
On Freitag, 3. Juni 2011, Klaus Knopper wrote: Why not put update-hostname (or a symlink thereof) into /etc/network/if-up.d, so it always gets executed whenever the client gets a new IP address assigned? sounds like a great plan! -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629060: update-hostname vs. network-manager
On Freitag, 3. Juni 2011, Holger Levsen wrote: On Freitag, 3. Juni 2011, Klaus Knopper wrote: Why not put update-hostname (or a symlink thereof) into /etc/network/if-up.d, so it always gets executed whenever the client gets a new IP address assigned? sounds like a great plan! just the implementation details make me cry: currently we have: /etc/init.d/update-hostname then we have (notice how nicely the name is twisted): /etc/dhcp/dhclient-exit-hooks.d/hostname-update which calls /usr/sbin/update-hostname-from-ip OH! On a closer look I see that update-hostname also calls update-hostname- from-up so thats a bit saner. still I'm thinking whether the dhclient-exit-hook should be moved to /etc/network/if-down.d for consistency reasons? opinions? cheers, Holger -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629060: update-hostname vs. network-manager
On Fri, Jun 03, 2011 at 04:48:44PM +0200, Holger Levsen wrote: On Freitag, 3. Juni 2011, Mike Gabriel wrote: On Debian Edu workstations the update-hostname init script is executed before the network-manager init script. we could make update-hostname depend on the network-manager script, so that it would always be executed after network-manager. I just dont know for sure what will happen if eg network-manager has been removed... Why not put update-hostname (or a symlink thereof) into /etc/network/if-up.d, so it always gets executed whenever the client gets a new IP address assigned? Regards -Klaus Knopper -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629060: update-hostname vs. network-manager
[Holger Levsen] still I'm thinking whether the dhclient-exit-hook should be moved to /etc/network/if-down.d for consistency reasons? It is done in to dhclient-exit-hooks.d to ensure it is called alsof for those not using ifupdown, and only for those using DHCP (and not for static IP, which is expected to also have a fixed hostname set). Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#629060: update-hostname vs. network-manager
On Freitag, 3. Juni 2011, Petter Reinholdtsen wrote: [Holger Levsen] still I'm thinking whether the dhclient-exit-hook should be moved to /etc/network/if-down.d for consistency reasons? It is done in to dhclient-exit-hooks.d to ensure it is called alsof for those not using ifupdown ifupdown is the documented and standard interface. if you dont use it, you're supposed to be on your own. its used by network-manager, dhcp, wicd, etc - so its really only not used if you do things by hand.. , and only for those using DHCP (and not for static IP, which is expected to also have a fixed hostname set). so its useless and best to be removed, to keep things simple. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org