Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #245108

systemd/dhcp v. ntpd

From Lee <ler762@gmail.com>
Newsgroups linux.debian.user
Subject systemd/dhcp v. ntpd
Date 2022-02-08 21:10 +0100
Message-ID <DOEYh-tbR-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


How to tell systemd to leave the ntpd config alone?

I had everything working with a static ethernet config and then
decided I wanted a media server for my ROKU.  My understanding is the
DLNA server has to be on the same subnet as the ROKU, so I joined my
PC to the wlan ... and broke the ntpd service running on the PC :(

I tried changing /etc/dhcp/dhclient.conf to request just
  request   subnet-mask, broadcast-address, routers,
            interface-mtu,
            rfc3442-classless-static-routes ;

and systemd still restarted ntpd with only the dhcp supplied ntp
server address ... which is this machine, so all the configured ntp
servers went away :(

I then tried telling network manager to just get an ip address &
subnet mask from dhcp.  And still systemd fucked up the ntpd config

What finally worked was editing /usr/lib/ntp/ntp-systemd-wrapper to
remove ' NTPD_OPTS="$NTPD_OPTS -u $UGID" '

What's the more correct way to tell systemd to leave my ntpd config alone?

Thanks
Lee

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

systemd/dhcp v. ntpd Lee <ler762@gmail.com> - 2022-02-08 21:10 +0100
  Re: systemd/dhcp v. ntpd Greg Wooledge <greg@wooledge.org> - 2022-02-08 21:30 +0100
    Re: systemd/dhcp v. ntpd Lee <ler762@gmail.com> - 2022-02-09 15:30 +0100
      Re: systemd/dhcp v. ntpd Reco <recoverym4n@enotuniq.net> - 2022-02-09 16:10 +0100
        Re: systemd/dhcp v. ntpd Greg Wooledge <greg@wooledge.org> - 2022-02-09 16:50 +0100
          Re: systemd/dhcp v. ntpd Lee <ler762@gmail.com> - 2022-02-09 17:20 +0100
            Re: systemd/dhcp v. ntpd Reco <recoverym4n@enotuniq.net> - 2022-02-09 17:50 +0100
            Re: systemd/dhcp v. ntpd Greg Wooledge <greg@wooledge.org> - 2022-02-09 18:10 +0100
            Re: systemd/dhcp v. ntpd Tim Woodall <debianuser@woodall.me.uk> - 2022-02-12 07:00 +0100
              Re: systemd/dhcp v. ntpd Lee <ler762@gmail.com> - 2022-02-16 18:40 +0100
                Re: systemd/dhcp v. ntpd Tim Woodall <debianuser@woodall.me.uk> - 2022-02-17 16:40 +0100
                Re: systemd/dhcp v. ntpd Lee <ler762@gmail.com> - 2022-02-19 15:30 +0100
        Re: systemd/dhcp v. ntpd Lee <ler762@gmail.com> - 2022-02-09 17:10 +0100
          Re: systemd/dhcp v. ntpd Reco <recoverym4n@enotuniq.net> - 2022-02-09 17:50 +0100
      Re: systemd/dhcp v. ntpd Charles Curley <charlescurley@charlescurley.com> - 2022-02-09 16:10 +0100

csiph-web