I've ported the checkrestart script to Gentoo, using qlist and qfile.
The tool uses lsof to check for applications in memory that doesn't
match whats on the disk and suggest what init.d script to run, to fix it.
Using lsof is a bit complicated, as the data being read is alive and can
change signi
Matthias Langer skrev:
>> http://www.arcdraco.net/~dragon/checkrestart
>> (Needs lsb-release, portage-utils, lsof and python)
>>
>
> looks interesting indeed... whats also interesting: is there a reason
> for lsb-release (a shell script) to be keyworded for x86 only?
Ugh, another issue with it.
Duncan skrev:
> I'm not sure what other sorts of "random stuff" Debian includes in their
> package, but IMO this one would fit right in with gentoolkit.
> "Collection of administrative scripts for Gentoo." Yeah, that sounds
> about right. =8^)
debian-goodies is a gentoolkit/portage-utils pack
I'm trying to write a Replicator for /etc/portage and that leads me to
work with USE flags, trying to design the replication of them among
similar systems, but I can't find the golden set of rules for how best
to apply USE flags.
There seem to be a global/local USE flag system, but many so cal
Alistair Bush skrev:
* It is used by many different packages.
yes, this is the rubber rule. It pretty much allows any use flag to be
promoted to global when it has XX packages with it, the confusion comes
because the number of package using a flag is no indication whatever you
should set