Mailinglist Archive: opensuse-bugs (5295 mails)

< Previous Next >
[Bug 798886] NetworkManager do not provide ntp servers from dhcp requests

--- Comment #7 from Ralf Habacker <ralf.habacker@xxxxxxxxxx> 2013-11-10
13:08:21 UTC ---
(In reply to comment #4)
This should be easier solvable by using a dispatcher Script.

NM passes all information from the DHCP Server through ENV to the dispatchers.

Unfortunately, I do not have access to any DHCP Setup with NTP Servers
published (or to a DHCP Server were I could publish it), but I can already see
in my dispatchers, that DHCP4_REQUESTED_NTP_SERVERS=1 is set...

The patch provided sounds like overkill and will have at eternity be
downstream (/etc/netconfig.d/ seems rather suse specific.

The netconfig mode is there because suse provides a network mode named
"traditional ifup" which do not use network manager and is the default setting.
Using network manager for server installations where no user based network
management is required would be overkill. The network manager integration is
implemented on top of the netconfig support, which is network manager at lease
since 2008.

commit c29ae2d0035479ac90f2963205548ff4748da784
Author: Tambet Ingo <tambet@xxxxxxxxx>
Date: Tue Aug 12 08:05:16 2008 +0000

2008-08-12 Tambet Ingo <tambet@xxxxxxxxx>

* src/backends/*: Get rid of nm_system_should_modify_resolv_conf().

* src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
the composite result of all the IP4 configurations and call a distro
specific update_resolv_conf().
(update_resolv_conf): Implement one for directly writing to
/etc/resolv.conf and one for opensuse to call netconfig.

and this patch simply fixes a bug in this netconfig support.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >