Displaying 20 results from an estimated 2000 matches similar to: "Bug in dhclient-script for ntp.conf in Centos 5?"
2019 Jan 08
0
AD DC in a container: NTP
On Tue, 8 Jan 2019 14:32:45 +0100
Viktor Trojanovic via samba <samba at lists.samba.org> wrote:
> I’m currently trying to install a new (primary) AD DC in a Linux
> container. It seems to me that being in a container, the DC is easier
> to maintain and backup than on bare metal, and I prefer a container
> over a VM for performance reasons. If the container setup will prove
>
2009 Oct 08
12
resolv.conf rewritten every reboot. How to figure out who and why?
My machine has a static IP, with dhcp and IPv6 disabled. Every time I
reboot, some process rewrites /etc/resolv.conf, including a comment
about dhcpclient. The only package I have installed that shows up in
"rpm -qa|grep -i dhcp" is dhcpv6-client-1.0.10-16.el5, and nothing in
there is named dhcpclient.
I'd like to figure out what software is rewriting this file and why.
man 5
2019 Jan 08
0
AD DC in a container: NTP
Hai Viktor,
I've seen some answers already and all are correct.
What i would do different here, when running in a container..
apt-get remove --purge ntpd ;-)
The hosts that are running AD DC containers these need all up to use the same time source.
And you dont install ntpd, you still have the same time in you AD.
NTPD is not obligated to setup AD DC's. Its obligated to have
2009 Aug 12
2
ntp will not drift to correct time
Hi
On 5.3 i have a situation where some boxes have been 3 or 4 seconds out
and restarting ntpd has fixed the issue.
What i dont understand is why the clocks did not drift to the correct
time when the config seems correct in that restarting ntp did correct
the time.
Is there something 'special' i need to do in order for the drift to work?
$ cat /etc/ntp.conf
restrict default
2019 Jan 08
1
AD DC in a container: NTP
Hi Louis,
In general, this sounds like the solution I was looking for. But I’m still a bit unclear about the practical implementation.
So, the DC can be setup without ntpd as it will work based on the system clock which, in turn, is actually being updated by the container host using NTP. Which means we’ve got the DC itself covered. But if ntpd is not installed, then how can the DC serve time
2013 Jul 27
2
Correct NTP Settings for Samba 4.0.6?
Hello,
I recently compiled Samba 4.0.6 (as an AD DC) and am running it on Ubuntu 12.04.
I followed the instructions on the Samba wiki (https://wiki.samba.org/index.php/Configure_NTP)
for how to configure ntp, however the domain clients are rejecting the DCs as
being acceptable time sources. Below is my ntp.conf:
server 127.127.1.0
fudge 127.127.1.0 stratum 10
server 0.pool.ntp.org iburst
2010 Jan 11
0
ntpd appears to not be able to query ntp servers automatically?
Hello all,
After reboot, one of my servers running CentOS5 no longer keeps its
clock synced automatically. ntpd is running and I don't see anything
weird being logged. If I kick off ntpd with 'ntpd -q', it will sync the
clock. However, if I just rely on ntpd started with 'service ntpd
start', syncing does not happen.
I previously had:
# Undisciplined Local Clock. This
2008 Apr 22
2
deny other hosts from synchronizing time with NTP client
Hi CentOS users
We are running CentOS 4.5 with NTP 4.2.0.
# cat /etc/ntp.conf
restrict default ignore
restrict dns1.xxx.xxx mask 255.255.255.0 nomodify notrap noquery
restrict dns2.xxx.xxx mask 255.255.255.0 nomodify notrap noquery
restrict 127.0.0.1
server dns1.xxx.xxx
server dns2.xxx.xxx
fudge 127.127.1.0 stratum 10
driftfile /etc/ntp/drift
broadcastdelay 0.008
authenticate no
The problem is
2019 Jan 09
2
AD DC in a container: NTP
What Marco and Robert already did say.
This is what i mean ( and Robert ). Marco's option to disable though kernel is also an option.
Maybe a bit cryptic but like this.
HOST - CONTAINER - SambaDC- samba-AD distibuting time to PC's.
|| |||
HOST_its_NTP_Service => get Internet time
||||
OTHERHOSTS NTP Client - COINTAINER - SambaMember -
2019 Jan 08
7
AD DC in a container: NTP
I’m currently trying to install a new (primary) AD DC in a Linux container. It seems to me that being in a container, the DC is easier to maintain and backup than on bare metal, and I prefer a container over a VM for performance reasons. If the container setup will prove to be too much of hassle, I’ll switch to a VM, though.
The first issue I’m facing is time synchronization. An container cannot
2013 Jul 08
1
Samba4, NTP, and Ubuntu 12.04
Hello,
I have a question regarding signed NTP support for Samba4 on Ubuntu 12.04. I have followed most of the steps outlined here:
https://wiki.samba.org/index.php/Configure_NTP
These steps I did differently are:
* I did not install from source because the latest Ubuntu package for ntp available on Ubuntu 12.04 includes ntp-signd support already
* I did not install Samba4 to /usr/local/samba, so
2010 Jul 13
1
[PATCH node] Kill persistent dhclient on the temporary interface
Signed-off-by: Arthur Clement <aclement at linagora.com>
---
scripts/ovirt-early | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/scripts/ovirt-early b/scripts/ovirt-early
index 1c15792..6b510ca 100755
--- a/scripts/ovirt-early
+++ b/scripts/ovirt-early
@@ -43,6 +43,9 @@ configure_ovirt_management_nic() {
log "Using interface $DEVICE"
2013 Feb 12
0
A workaround to dhclient problems
Summary: if you have C5 guests with dhclient "bad udp checksum" issues
then this entry on the host will fix it:
iptables -A POSTROUTING -t mangle -p udp --dport bootpc -j CHECKSUM --checksum-fill
Detail:
If anyone else is seeing this...
Feb 11 19:22:11 mercury dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 (xid=0x63be132a)
Feb 11 19:22:56 mercury last message repeated 3
2011 Apr 19
1
Fwd: dhclient and CVE-2011-0997...?
Hi--
Are folks familiar with:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0997
http://www.isc.org/software/dhcp/advisories/cve-2011-0997
http://nakedsecurity.sophos.com/2011/04/07/flaw-in-iscs-dhclient-could-allow-remote-code-execution/
Checking http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/dhclient/dhclient.c, I don't see signs that it may have been updated. But, I also
2015 Oct 05
1
CentOS 7 & dhclient hooks
Hi,
I have CentOS 7 and I am trying to get dhclient hooks working. I have 1)
created file /etc/dhcp/dhclient-enp4s0.conf,
2) created directories /etc/dhcp/{dhclient-enter-hooks.d,
dhclient-exit-hooks.d},
3) added line 'DHCLIENTARGS="-nc"' into file ifcfg-enp4s0 and
4) added file /etc/dhcp/dhclient-enter-hooks.d/test with line echo
"executed enter-hook",
5)
but I was
2013 Jan 23
0
dhclient in 5.9 having trouble with dhcpd in 6.3 ?
I have a KVM setup. Host is 6.3. I have a bridged client running 5.9
Since upgrading to 5.9 I noticed that ntpd is being restarted every
12 hours.
Jan 20 08:00:25 mercury ntpd[16103]: ntpd exiting on signal 15
Jan 20 20:00:26 mercury ntpd[27462]: ntpd exiting on signal 15
Jan 21 08:00:27 mercury ntpd[11343]: ntpd exiting on signal 15
Jan 21 20:00:28 mercury ntpd[25148]: ntpd exiting on signal
2009 Oct 24
1
Bug#552222: logcheck: dhclient regexes need updating
Package: logcheck
Version: 1.3.3
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch
As reported in https://launchpad.net/bugs/307847:
recent dhclient includes the ip address it is releasing and renewing.
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ dhclient(-2.2.x)?: DHCP(NAK|ACK|OFFER) from [.0-9]{7,15}$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+
2010 May 05
0
dhclient.conf being ignored!
It seems that the prominent North American Enterprise Linux vendor has decided that dhclient.conf
should be ignored, i.e. ifup-eth causes dhclient to be called with "-cf
/etc/dhclient-$(DEVICE).conf", and then ifup-eth/ifdown-eth wipes the file out each time.
Through the use of "DHCP_HOSTNAME" in ifcfg-eth0 you can specify a host name, but because of the
above behavior of
2019 Dec 02
0
SELinux is preventing 11-dhclient from add_name access on the directory chrony.servers.wlp8s0.
SELinux is preventing 11-dhclient from add_name access on the directory
chrony.servers.wlp8s0.
***** Plugin catchall (100. confidence) suggests
**************************
If you believe that 11-dhclient should be allowed add_name access on the
chrony.servers.wlp8s0 directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow
2015 Mar 03
2
dhclient.conf
Hi all :-)
on centos 6 I need keep the hostname from a dhcp server:
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:50:56:27:0E:C8
TYPE=Ethernet
UUID=20924b21-e92a-4944-a054-06d1967155c1
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
PEERDNS=yes
with this config, centos keep only ip from dhcp server (not gw, not dns)
where is dhclient.conf? I need to create it? If yes,