"Configuring" hamachi does not work on arch linux

Bug #721314 reported by scrawl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Haguichi
Fix Released
Low
Stephen Brandt

Bug Description

Haguichi runs "/etc/init.d/logmein-hamachi restart" to configure hamachi². In arch linux, run scripts are in /etc/rc.d and not in /etc/init.d, so nothing happens and configuring hamachi fails.

Revision history for this message
Stephen Brandt (ztefn) wrote :

I think you should file a bug against the PKGBUILD script that installs the script in the wrong directory, see:
http://aur.archlinux.org/packages.php?ID=38814

Revision history for this message
scrawl (scrawl-deactivatedaccount) wrote :

It doesn't install in the wrong directory. Run script directory is distribution dependant. In ArchLinux there is no /etc/init.d directory, only /etc/rc.d, where all other run scripts reside, too.

In my opinion it's a bug in haguichi, you should check if file /etc/init.d/logmein-hamachi exists, and if not, use /etc/rc.d/logmein-hamachi as script.

Revision history for this message
Stephen Brandt (ztefn) wrote :

Long live standardization in Linux... at least Red Hat based distro's provide a symlink for /etc/init.d/ to their own default location, which is yet another path: /etc/rc.d/init.d

Changed in haguichi:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Stephen Brandt (ztefn) wrote :

I've added a function to check existence of three predefined scripts directories. Let me know if you think this is satisfactory:
http://bazaar.launchpad.net/~ztefn/haguichi/1.0/revision/147

Changed in haguichi:
assignee: nobody → Stephen Brandt (ztefn)
milestone: none → 1.0.5
status: Confirmed → Fix Committed
Stephen Brandt (ztefn)
Changed in haguichi:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.