| Summary: | app-admin/cancd-0.1.0-r2: netconsole init script fails to start due to wrong ifconfig path | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andrew Savchenko <bircoph> |
| Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | PATCH |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | netconsole-init.d.patch | ||
Created attachment 400582 [details, diff]
netconsole-init.d.patch
Ping.
I'm going to apply the following patch and bump to -r3 in two weeks if there are no objections.
In tree. |
Hello, as of cancd-0.1.0-r2, netconsole init script fails to start: # rc-config start netconsole Starting init script netconsole | * Source device invalid. netconsole | * ERROR: netconsole failed to start This happens not because source device is invalid, but because the following command from init script fails: LC_ALL=C /sbin/ifconfig "${DEVICE}" 1>/dev/null 2>/dev/null ifconfig is now located in /bin, not /sbin (net-tools-1.60_p20120127084908). As a solution path must be either changed to /bin or removed at all to be compatible with all versions.