#541 cannot advertize by avahi on Fedora 20

None
closed
HAT
None
5
2016-01-15
2013-12-17
HAT
No

netatalk 3.0.6 cannot advertize by avahi on Fedora 20.

http://marc.info/?t=138359784500006&r=1&w=2

If netatalk starts directly on shell, it is advertized.
If "/bin/sh -c" is used in unit file, netatalk is advertized.
Why is it advertized if it executes from shell?

WORKAROUND:

--- netatalk-3.0.6/distrib/initscripts/service.systemd.tmpl.avahi-workaround 2013-06-23 20:03:16.000000000 +0900
+++ netatalk-3.0.6/distrib/initscripts/service.systemd.tmpl 2013-12-17 21:38:14.195652966 +0900
@@ -9,7 +9,7 @@
[Service]
Type=forking
GuessMainPID=no
-ExecStart=:SBINDIR:/netatalk
+ExecStart=/bin/sh -c :SBINDIR:/netatalk
PIDFile=:PATH_NETATALK_LOCK:
ExecReload=/bin/kill -HUP $MAINPID
Restart=always

Discussion

  •  HAT

    HAT - 2016-01-15

    This problem exists in early Fedora 20 only.
    This workaround is removed in Netatalk 3.1.8.

     
  •  HAT

    HAT - 2016-01-15
    • status: open --> closed
    • Group: -->
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks