[Oval-commits] r244 - trunk/oval-agent/debian
Javier Fernandez-Sanguino Pen~a
jfs at alioth.debian.org
Tue Sep 4 19:54:14 UTC 2007
Author: jfs
Date: 2007-09-04 19:54:14 +0000 (Tue, 04 Sep 2007)
New Revision: 244
Modified:
trunk/oval-agent/debian/oval-agent.postinst
Log:
Add possible bugs in postinst
Modified: trunk/oval-agent/debian/oval-agent.postinst
===================================================================
--- trunk/oval-agent/debian/oval-agent.postinst 2007-09-04 19:53:04 UTC (rev 243)
+++ trunk/oval-agent/debian/oval-agent.postinst 2007-09-04 19:54:14 UTC (rev 244)
@@ -20,12 +20,15 @@
case "$1" in
configure)
+ # (jfs) BUG: Should be improved (see Debian security manual)
if ! getent passwd oval >/dev/null; then
adduser --quiet --system --no-create-home \
--home /var/cache/oval-agent --disabled-password \
--disabled-login --shell /bin/false --group oval
fi
+ # (jfs) BUG: Directories should not need to be created here
+ # but be part of the package
mkdir -p /var/cache/oval-agent
mkdir -p /var/cache/oval-agent/definitions
mkdir -p /var/cache/oval-agent/results
More information about the Oval-commits
mailing list