Summary: | runscript.sh: allow non-root to execute `foo --quiet status` in addition to `foo status` | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jan Kundrát (RETIRED) <jkt> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
allow-quiet-for-initscript-status.patch
allow-non-root-rc-status.patch |
Description
Jan Kundrát (RETIRED)
2007-07-24 13:00:33 UTC
Created attachment 125873 [details, diff]
allow-quiet-for-initscript-status.patch
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. baselayout-1.12.13 breaks non-root status checks, reopening. 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 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? eventually |