Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60056 - sys-apps/gradm-2.0.1: gradm learning errors
Summary: sys-apps/gradm-2.0.1: gradm learning errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-11 07:18 UTC by FieldySnuts
Modified: 2004-08-11 13:19 UTC (History)
0 users

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 FieldySnuts 2004-08-11 07:18:59 UTC
I am using grsecurity with kernel 2.6.7. I am using gradm 2.0.1.

I am reading the quick start guide found at http://www.grsecurity.net/quickstart.pdf . On the second to last page, it says to turn on learning mode to do the following:

gradm -F -L /etc/grsec/learning.log

Though I get this back:

Error opening: /etc/grsec/pw
open: No such file or directory

grlearn is indeed running:

root     13774  0.0  3.6 13920 13920 pts/8   S<   10:17   0:00 /sbin/grlearn /etc/grsec/learning.log

However that log is zero bytes, and has the same date and timestamp as when I ran the command. I let this run many hours yesterday and used my system, and that never changed.

Am I missing something here? Is the guide wrong?


Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.7-grsec)
=================================================================
System uname: 2.6.7-grsec i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.8p1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache notitles sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X apache2 apm avi berkdb cdr chroot crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde kerberos ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang snmp spell sse ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib"
Comment 1 FieldySnuts 2004-08-11 11:29:40 UTC
Well. Maybe grsec's docs are a bit out of date, I first had to set a password, with gradm -P .

Maybe a note at the end of the ebuild could be added.
Comment 2 solar (RETIRED) gentoo-dev 2004-08-11 13:19:49 UTC
Added note in ~arch gradm-2.0.1-r1.ebuild thanks for reporting this.