Re: dnsmasq and systemd

2019-05-17 Thread Teh, Kenneth M.
I had tftp-secure when testing manually. And I was running dnsmasq in the foreground as root in verbose mode so I could see what it was doing with respect to pxe requests. I probably forgot the admonition about tftp-secure and assumed it was like the '-s' option on in.tftpd which does a

Re: dnsmasq and systemd

2019-05-17 Thread Tom H
g so can expose any world-readable file on > the server to any host on the net. Just read and sent the same :) > I'm still surprised it made a difference starting it by hand or by systemd. +1 dnsmasq runs as "nobody" if "/etc/dnsmasq.conf" doesn't have "user=foo" or dnsmasq isn't started with "--user=foo" (or "-u foo").

Re: dnsmasq and systemd

2019-05-17 Thread Tom H
On Fri, May 17, 2019 at 3:07 PM Teh, Kenneth M. <0864eace5c83-dmarc-requ...@listserv.fnal.gov> wrote: > On 5/16/19 9:23 PM, Orion Poplawski wrote: >> On 5/16/19 1:23 PM, Teh, Kenneth M. wrote: >>> >>> Systemd continues to baffle me. >>> >>> I've set up a router machine that provides pxe boot

Re: dnsmasq and systemd

2019-05-17 Thread Orion Poplawski
On 5/17/19 7:07 AM, Teh, Kenneth M. wrote: > Sorry. You're right. A moment of exasperation and frustration with systemd > whose > bits of config/info are strewn all over the place instead of everything in > init.d. I guess I resent learning new ways of doing old things. Must be my > age. :) >

Re: dnsmasq and systemd

2019-05-17 Thread Teh, Kenneth M.
Sorry. You're right. A moment of exasperation and frustration with systemd whose bits of config/info are strewn all over the place instead of everything in init.d. I guess I resent learning new ways of doing old things. Must be my age. :) Turned out the problem is dnsmasq's tftp module has

Re: dnsmasq and systemd

2019-05-16 Thread Orion Poplawski
On 5/16/19 1:23 PM, Teh, Kenneth M. wrote: Systemd continues to baffle me. I've set up a router machine that provides pxe boot and tftp services on a private network with dnsmasq. Pxeboot works if I run dnsmasq manually, but not when I turn on the service with systemctl. I can't think through

dnsmasq and systemd

2019-05-16 Thread Teh, Kenneth M.
Systemd continues to baffle me. I've set up a router machine that provides pxe boot and tftp services on a private network with dnsmasq. Pxeboot works if I run dnsmasq manually, but not when I turn on the service with systemctl. I can't think through its layers of obtuseness and would