Summary: | net-fs/samba-3.5.11 needs init script updated for openrc-0.9.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Billy DeVincentis <billydv1> |
Component: | Current packages | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proteuss |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 381895 | ||
Attachments: | /etc/init.d patch to remove warnings and typo |
Description
Billy DeVincentis
2011-09-02 08:34:45 UTC
Created attachment 285339 [details, diff]
/etc/init.d patch to remove warnings and typo
I also upgraded to sys-apps/openrc-0.9.1 and it started
spiting warnings every time it encounters 'opts':
------------------------------------------------------
* Use of the opts variable is deprecated and will be
* removed in the future.
* Please use extra_commands or extra_started_commands.
------------------------------------------------------
Very annoying, easily fixed with:
find -type f -name '*' -print | xargs \
perl -pi -e's/(\W|^)opts/$1extra_commands/g'
Also /etc/init.d/mtab has a typo in line 12 (see patch).
Commited, thank for the patch |