Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186459 - runscript.sh: allow non-root to execute `foo --quiet status` in addition to `foo status`
Summary: runscript.sh: allow non-root to execute `foo --quiet status` in addition to `...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-24 13:00 UTC by Jan Kundrát (RETIRED)
Modified: 2010-09-03 19:27 UTC (History)
0 users

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


Attachments
allow-quiet-for-initscript-status.patch (allow-quiet-for-initscript-status.patch,588 bytes, patch)
2007-07-24 13:01 UTC, Jan Kundrát (RETIRED)
Details | Diff
allow-non-root-rc-status.patch (allow-non-root-rc-status.patch,458 bytes, patch)
2010-09-03 13:11 UTC, Jan Kundrát (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kundrát (RETIRED) gentoo-dev 2007-07-24 13:00:33 UTC
patch attached
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2007-07-24 13:01:17 UTC
Created attachment 125873 [details, diff]
allow-quiet-for-initscript-status.patch
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-08-07 13:54:52 UTC
We've added this to our svn, but with the pending unmasking of baselayout-2 we probably won't be making any more baselayout-1 fixes.
Comment 3 Jan Kundrát (RETIRED) gentoo-dev 2010-09-03 13:09:48 UTC
baselayout-1.12.13 breaks non-root status checks, reopening.
Comment 4 Jan Kundrát (RETIRED) gentoo-dev 2010-09-03 13:11:13 UTC
Created attachment 245860 [details, diff]
allow-non-root-rc-status.patch

The attached patch replaces the broken check in /sbin/runscript.sh using Bash3's "=~" operator.
Comment 5 Jan Kundrát (RETIRED) gentoo-dev 2010-09-03 13:29:51 UTC
Comment on attachment 245860 [details, diff]
allow-non-root-rc-status.patch

Actually, the change is already in SVN, as indicated in bug #295657. The problem is that there hasn't been any release since that fix. Could we get one?
Comment 6 SpanKY gentoo-dev 2010-09-03 19:27:07 UTC
eventually