On 01/19/2018 03:00 PM, James Hogarth wrote:
On 17 January 2018 at 22:51, Adrian Sevcenco <adrian.sevce...@cern.ch> 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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to