Re: f26 systemd :: how to run tftp.service and disable tftp.socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/19/2018 03:00 PM, James Hogarth wrote:
On 17 January 2018 at 22:51, Adrian Sevcenco <Adrian.Sevcenco@xxxxxxx> wrote:
Hi! I need to have tftp run by service not by socket (at this moment service
requires and start the socket) but even with a proper (i hope)
override and a masked tftp.socket i get:
Failed to start tftp.service: Unit tftp.socket is masked.

this is the override
[Thursday 18.01.18 00:43] root@sev : /etc/systemd/system/tftp.service.d $
cat override.conf
[Unit]
Requires=

[Service]
ExecStart=
ExecStart=/usr/sbin/in.tftpd -4 -c -L -s /home.hdd/tftpd
StandardInput=

[Install]
Also=

i still have the socket as dependency :
[Thursday 18.01.18 00:50] root@sev : /etc/systemd/system/tftp.service.d $
systemctl --plain list-dependencies tftp.service | head
tftp.service
   system.slice
   tftp.socket
   sysinit.target
   cgconfig.service
   dev-hugepages.mount
   dev-mqueue.mount
   dmraid-activation.service
   dracut-shutdown.service
   kmod-static-nodes.service



Seeing as this is a very unusual request, even to the point prior to
systemd tftpd was run under xinetd rather than its own service, I
think the first question is why?
i don't want (need) a supplementary service (xinetd) to activate and run
and i dont want the tftpd service to be activated automatically

What problem are you attempting to solve that you think this is the solution?

There's good reason for it being a socket based service, even prior to
could you please explain me what is the reason? (beside being automatically started when an access is requested on 69?)

systemd, so it would be useful understanding what you are trying to
accomplish as an end goal.
see above ... given that the ExecStart line is running as intended, if i cannot solve this dependency problem i will just do a personaly mytftp.service and be done with it...

Thank you for explanations and help,
Adrian

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux