Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411079 - sys-apps/openrc-0.9.9.3 rc.conf incompatible with net-analyzer/metasploit (and other oddly-named initscripts?)
Summary: sys-apps/openrc-0.9.9.3 rc.conf incompatible with net-analyzer/metasploit (an...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-06 21:03 UTC by Rebecca Menessec
Modified: 2012-04-07 18:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rebecca Menessec 2012-04-06 21:03:54 UTC
Can't set dependencies in rc.conf for MetaSploit. This works:

rc_dhcpd_after="firewall"

This produces several screenfuls of "/etc/rc.conf: line 126: rc_msfrpcd4.0_after=firewall: command not found":

rc_msfrpcd4.0_after="firewall"

Reproducible: Always

Steps to Reproduce:
Install net-analyzer/metasploit and openrc, attempt to set rc.conf dependencies for the MetaSploit daemon.
Actual Results:  
Lots of errors, no dependency set / acknowledged / used.

Expected Results:  
Dependency set.

openrc should probably support initscripts with odd names, and MetaSploit's initscript should probably either not contain a version string, or else be a no-version-string symlink to a versioned initscript (as in net.eth0 ->sym-> net.lo).

If there's a reason to make MetaSploit's binary and initscript naming less general by tagging with version numbers, I don't know what it is.
Comment 1 William Hubbs gentoo-dev 2012-04-07 18:29:09 UTC
(In reply to comment #0)
> rc_msfrpcd4.0_after="firewall"

You can't use a "." in those variables, but it does work if you convert the "." to an underscore. Use the following:

rc_msfrpcd4_0_after="firewall"

Let me know if that doesn't work.

Thanks,

William