Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241152 - sys-process/audit: auditd init script patch -- skip reloading rules on restart
Summary: sys-process/audit: auditd init script patch -- skip reloading rules on restart
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on: 241884
Blocks:
  Show dependency tree
 
Reported: 2008-10-10 20:04 UTC by Łukasz Stelmach
Modified: 2009-12-19 22:09 UTC (History)
0 users

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


Attachments
a patch to fool the runscript system (auditd-svc.patch,393 bytes, patch)
2008-10-10 20:05 UTC, Łukasz Stelmach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Stelmach 2008-10-10 20:04:54 UTC
The patch is required for auditd init script because the 
runscript system checks if the restart function uses svc_(start|stop). 
Fortunately it is not too wise and can be fooled.
Without it runscript refuses to use custom restart() function and
loads/unloads rules on restart.
Comment 1 Łukasz Stelmach 2008-10-10 20:05:41 UTC
Created attachment 167910 [details, diff]
a patch to fool the runscript system
Comment 2 Wormo (RETIRED) gentoo-dev 2008-10-11 07:30:36 UTC
Does it really take all that long to reload the rules...?

Anyways, assigning to maintainer to see what he thinks of this hack ;)
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-10-14 07:51:24 UTC
I filed a bug for Roy to fix openrc/baselayout instead.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-12-19 22:09:41 UTC
Not needed anymore