Menu

#3 Add support for systemd (solution included)

v1.0_(example)
closed
3
2019-04-21
2013-11-12
No

this ticket is about the following requests and provides the solution as well.

  • Add support for systemd.
  • Provide a spec file that support old xinetd/initscripts or new systemd sockets according to distro.
  • provides /etc/sysconfig/atftp config file.
  • sets config files to force daemon to run as nobody.nobody (group nogroup is not LSB)
  • sets default tftpboot directory to /var/lib/tftpboot (/tftpboot is not LSB compliant)

See source rpm available here: http://olivier.lahaye1.free.fr/SRPMS/atftp-0.7.1-2.src.rpm
Source is left unmodified, the spec file does all the changes and includes all needed external files (like systemd files, sysconfig files init script and xinetd service file.

For a better source tree, all xinetd, initscript, systemd files, sysconfig files should be put in a specific directory (that could be named etc or system)
And all patches (after a review could be merged).

Discussion

  • Martin Dummer

    Martin Dummer - 2014-03-07
    • status: open --> accepted
    • assigned_to: Martin Dummer
    • Priority: 5 --> 3
     
  • Martin Dummer

    Martin Dummer - 2014-03-07

    Hello Oliver,

    thanks for working on the atftp packaging.
    I appreciate your enhancements on atftp itself and its packaging - but the way you present it here is not acceptable for easy migration into the code repository.
    Please create a single patch for every single enhancement, where you explain less or more precisely why this change or enhancement is needed. Take into account that changes for a single distro or packaging format do not belong into the main repository.
    I will not start investigate through the src rpm try to find out which change is fine to take into the repository and which not. All patches and diffs need explanation.
    And, finally, the spec file contains some wrong information - at least the source URL is dead since many years.
    So your ticket is taken as a cause for thought about "add support for systemd" - as the subject says. not more.
    If you like to contribute and need more instructions - please ask.

    Yours,
    Martin

     
  • Martin Dummer

    Martin Dummer - 2019-04-21
    • status: accepted --> closed
     
  • Martin Dummer

    Martin Dummer - 2019-04-21

    closed due to lack of feedback

     

Log in to post a comment.

MongoDB Logo MongoDB