| Summary: | sys-apps/openrc-0.6.8: /sbin/rc-service: invalid option -- 'D' when starting net.eth0 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
| Component: | [OLD] baselayout | Assignee: | OpenRC Team <openrc> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
stop.txt
start.txt |
||
|
Description
Martin Mokrejš
2010-12-24 16:50:33 UTC
Here is what happens if I repeat the upgrade upwards from openrc-0.6.7 to 0.6.8 and run etc-update as requested:
# etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/init.d/netmount (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'):
File: /etc/init.d/._cfg0000_netmount
1) Replace original with update
2) Delete update, keeping original as is
3) Interactively merge original with update
4) Show differences again
5) Save update as example config
Please select from the menu above (-1 to ignore this update): 1
Replacing /etc/init.d/netmount with /etc/init.d/._cfg0000_netmount
mv: overwrite `/etc/init.d/netmount'? y
Exiting: Nothing left to do; exiting. :)
# /etc/init.d/net.eth0 stop
* Caching service dependencies ... [ ok ]
* Stopping openvpn.blah... [ ok ]
* Bringing down interface eth0
* Caching network module dependencies
need dbus
Usage: rc-service [options]
Options: [e:ilr:Chqv]
-e, --exists <arg> tests if the service exists or not
-i, --ifexists if the service exsits then run the command
-l, --list list all available services
-r, --resolve <arg> resolve the service name to an init script
-h, --help Display this help output
-C, --nocolor Disable color output
-v, --verbose Run verbosely
-q, --quiet Run quietly
#
post your /etc/conf.d/net file as an attachment (In reply to comment #2) > post your /etc/conf.d/net file as an attachment > Happens when all lines are commented out or when these exist: config_eth0=( "192.168.0.2/24" ) routes_eth0=("default via 192.168.0.1") dns_domain_eth0="upc.cz" dns_servers_eth0="213.46.172.37 213.46.172.36" dns_search_eth0="" net.eth0 is a symlink to net.lo right ? and `qcheck openrc` passes everything ? run `/etc/init.d/net.eth0 --debug stop` and post the full output as a log # ls -la /etc/init.d/net* lrwxrwxrwx 1 root root 6 Apr 18 2008 /etc/init.d/net.eth0 -> net.lo lrwxrwxrwx 1 root root 6 Jul 19 14:37 /etc/init.d/net.firewire0 -> net.lo -rwxr-xr-x 1 root root 15143 Dec 24 17:52 /etc/init.d/net.lo lrwxrwxrwx 1 root root 6 Mar 26 2009 /etc/init.d/net.wlan0 -> net.lo -rwxr-xr-x 1 root root 2184 Dec 24 17:52 /etc/init.d/netmount -rwxr-xr-x 1 root root 6805 Dec 24 17:52 /etc/init.d/network # qcheck openrc Checking sys-apps/openrc-0.6.8 ... AFK: /lib/rc/init.d/.keep_sys-apps_openrc-0 MTIME: /etc/conf.d/net MD5-DIGEST: /etc/rc.conf * 289 out of 292 files are good # OK, so resolvconf is at fault I think. Created attachment 258214 [details]
stop.txt
*** This bug has been marked as a duplicate of bug 349180 *** Created attachment 258216 [details]
start.txt
similarly to the previous attachment, here is the output of
/etc/init.d/net.eth0 --debug start > /tmp/start.txt 2>&1
giving the second type of an error.
Yes, downgrade to =net-dns/openresolv-3.3.4-r1 from 3.4.0 fixed my problems. I did not bother to test the patch, though. |