Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486730 - app-admin/denyhosts - add a purge option to the init.d script
Summary: app-admin/denyhosts - add a purge option to the init.d script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Pavlos Ratis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-01 23:58 UTC by Curtis Hacker
Modified: 2014-01-06 01:53 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Hacker 2013-10-01 23:58:51 UTC
It doesn't really have a reliable way to purge without going to user prompt. It is very simple to add.


extra_stopped_commands="purge"

purge() {
        ebegin "Purging hosts.deny"
        start-stop-daemon --start --exec /usr/bin/denyhosts.py --pidfile /var/run/denyhosts.pid -- --purge
        eend $?
}
Comment 1 Christoph Junghans (RETIRED) gentoo-dev 2014-01-06 01:53:42 UTC
+*denyhosts-2.6-r9 (06 Jan 2014)
+
+  06 Jan 2014; Christoph Junghans <ottxor@gentoo.org> +denyhosts-2.6-r9.ebuild,
+  +files/denyhosts-2.6-cve-2013-6890.patch, +files/denyhosts.init-r2,
+  metadata.xml:
+  fixed remote denial of ssh service (CVE-2013-6890, bug #495130), added purge
+  command to init.d script (bug #486730) and added me as maintainer
+