Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 84055

Summary: sys-apps/baselayout-1.11.9-r1: rc-status generates "find" warning
Product: Gentoo Linux Reporter: Phil Richards <news>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: trivial Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Phil Richards 2005-03-04 01:02:02 UTC
find from sys-apps/findutils-4.2.18 gives a warning in rc-status,
and ideally it shouldn't:

~ # rc-status
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

[...normal output follows...]
Comment 1 Roy Marples (RETIRED) gentoo-dev 2005-03-04 03:21:29 UTC
InCVS - will be in baselayout-1.11.10
Comment 2 SpanKY gentoo-dev 2005-03-10 15:36:10 UTC
fixed a while ago
Comment 3 Mihai Limbasan 2005-04-13 17:20:28 UTC
Negative, this is still an issue in the net.lo script with baselayout-1.11.10-r7 and findutils-4.2.18.
Comment 4 SpanKY gentoo-dev 2005-04-15 15:23:47 UTC
looks fine to me:
$ grep find /etc/init.d/net.lo 
MODULES=( $( find ${MODULES_DIR}/ -maxdepth 1 -type f ! -name ".*" | sort ) )
$ find /lib/rcscripts/net.modules.d/ -maxdepth 1 -type f ! -name '.*' | sort | head -n 5
/lib/rcscripts/net.modules.d/adsl
/lib/rcscripts/net.modules.d/apipa
/lib/rcscripts/net.modules.d/bonding
/lib/rcscripts/net.modules.d/bridge
/lib/rcscripts/net.modules.d/dhclient
Comment 5 Mihai Limbasan 2005-04-18 06:58:28 UTC
Ah, re-merged save baselayout version and it's fixed (probably got changed without a version bump in-between). Sorry.