search for: make_resolv_conf

Displaying 8 results from an estimated 8 matches for "make_resolv_conf".

2019 Apr 15
2
supermin (chroot+systemd.resolved) - network cannot be configured on Ubuntu
...where the network cannot be configured : https://bugs.launchpad.net/ubuntu/+source/supermin/+bug/1824236 The actual problem is the combination of (a) supermin and the fact that it does chroot and (b) a dhclient hook present in Bionic (/etc/dhcp/dhclient-eneter-hooks.d/resolved) that overwrites the make_resolv_conf function of dhclient_script with one that in the end restarts the systemd.resolved service. Being, however in chroot, the new make_resolv_conf function fails with "System has not been booted with systemd as init system (PID 1). Can't operate." and the network is left unconfigured. Al...
2019 Apr 16
0
Re: supermin (chroot+systemd.resolved) - network cannot be configured on Ubuntu
...is early on to appliance/init [1]: rm -f /etc/dhcp/dhclient-eneter-hooks.d/resolved There is no systemd in the appliance so anything that tries to run systemd service is going to fail anyway. Rich. [1] https://github.com/libguestfs/libguestfs/blob/master/appliance/init > that overwrites the make_resolv_conf function of dhclient_script with one > that > in the end restarts the systemd.resolved service. > Being, however in chroot, the new make_resolv_conf function fails with > "System has not been booted with systemd as init system (PID 1). Can't > operate." > and the net...
2019 Mar 13
2
replication fails
...etwork/interfaces > If you have dns-nameserver these are picked up with systemd-resolved. > Or by package: resolvconf > > Run these: > networkctl status > systemd-resolve --status > > Show the output. > > Other options: > Server with dhcp ip? > echo 'make_resolv_conf() { :; }' > /etc/dhcp/dhclient-enter-hooks.d/leave_my_resolv_conf_alone > chmod 755 /etc/dhcp/dhclient-enter-hooks.d/leave_my_resolv_conf_alone > > Or edit /etc/dhcp/dhclient.conf > supersede domain-name "example.com"; > supersede domain-search "example.com&qu...
2019 Mar 13
4
replication fails
Am 13.03.19 um 11:22 schrieb L.P.H. van Belle via samba: > > Hi Stefan, > > Debian 8 ? 9? > DC's samba version ? Deb 9.8, Samba-4.8.9 > Can you post your smb.conf and resolv.conf > > If you check with (per server what is the outcome. ) > samba-tool dbcheck 0 errors > samba-tool dbcheck --cross-nc Checked 3754 objects (3174 errors) on the DC1. where
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 Mar 13
0
replication fails
...nge? Now the hunt for the resolv.conf change. cat /etc/network/interfaces If you have dns-nameserver these are picked up with systemd-resolved. Or by package: resolvconf Run these: networkctl status systemd-resolve --status Show the output. Other options: Server with dhcp ip? echo 'make_resolv_conf() { :; }' > /etc/dhcp/dhclient-enter-hooks.d/leave_my_resolv_conf_alone chmod 755 /etc/dhcp/dhclient-enter-hooks.d/leave_my_resolv_conf_alone Or edit /etc/dhcp/dhclient.conf supersede domain-name "example.com"; supersede domain-search "example.com"; supersede domain-nam...
2019 Mar 13
0
replication fails
...e are picked up with > > systemd-resolved. Or by package: resolvconf > > > > Run these: > > networkctl status > > systemd-resolve --status > > > > Show the output. > > > > Other options: > > Server with dhcp ip? > > echo 'make_resolv_conf() { :; }' > > > /etc/dhcp/dhclient-enter-hooks.d/leave_my_resolv_conf_alone chmod > > > 755 /etc/dhcp/dhclient-enter-hooks.d/leave_my_resolv_conf_alone > > > > Or edit /etc/dhcp/dhclient.conf > > supersede domain-name "example.com"; > > supe...
2015 Aug 27
2
centos 6 - changing resolv.conf by hand gets overwritten by rebooting
given machine with C6 x86_64 (seen on C 6.6 but also before and probably still present on C6.7) only 1 interface, there is dhcp on this network (for kickstarting) but the machines have static ip's, and NO networkmanager installed contents of resolv.conf search some.domain.here nameserver x.x.x.x #dns1 nameserver y.y.y.y #dns2 change resolv.conf to: search some.newdomain.here nameserver