Bug #201
closed/etc/cron.daily/9999zombie doesn't work on Debian systems
100%
Description
/etc/cron.daily/9999zombie doesn't work on Debian systems, as the landscape package doesn't exist
A different approach for detecting need for zombie kill is required
Updated by Alexander Werner over 9 years ago
See http://stackoverflow.com/questions/7039520/bash-how-to-detect-whether-apt-get-requires-a-reboot: Use checkrestart from debian-goodies or check for /var/run/reboot-required.
Updated by Florian Effenberger over 9 years ago
As for zombies, this should do:
ps auxw | grep defunct
And for killing them (not tried, out of my head):
ps auxw | grep defunct | awk {'print $5'} | xargs kill -9
Updated by Florian Effenberger over 9 years ago
My bad:
ps auxw | grep defunct | awk {'print $5'} | -> then ps xal | grep for that, then kill -9 what ps xal yields (or somesuch :)
Updated by Florian Effenberger over 9 years ago
- Priority changed from Normal to Low
Nothing urgent, releasing for the public, some task for volunteers to get involved IMHO
Updated by Florian Effenberger about 9 years ago
- Assignee deleted (
Alexander Werner)
Releasing that into the general public queue - not critical at all, and a nice EasyHack indeed, as zombie detection can also be done by different means (landscape-common
is not available on Debian, at least not from the default repos)
Updated by Guilhem Moulin over 6 years ago
- Status changed from New to Closed
- Assignee set to Guilhem Moulin
- % Done changed from 0 to 100
Fixed a while ago, didn't see this ticket before :-P
https://infratools.documentfoundation.org/infra/salt/commit/39177875c3c7e2cef35b11729527dce9b16cce7d