No response when trying to authenticate with gradm.

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

No response when trying to authenticate with gradm.

Postby andutt » Wed Nov 23, 2005 4:04 am

Hi All

Im getting some strange things with grsecurity for 2.4.27 and gradm 2.0.1. IT have worked fine for some time but now it seems that i cant authenticate any longer with gradm. When stracing gradm i get (Device or resource busy)...

Code: Select all
strace gradm -S
execve("/sbin/gradm", ["gradm", "-S"], [/* 25 vars */]) = 0
uname({sys="Linux", node="xxxxxxxxx", ...}) = 0
brk(0)                                  = 0x806aa4c
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=38640, ...}) = 0
old_mmap(NULL, 38640, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3)                                = 0
open("/lib/i686/libc.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\\\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1560024, ...}) = 0
old_mmap(NULL, 1283524, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40020000
old_mmap(0x40154000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x134000) = 0x40154000
old_mmap(0x40157000, 9668, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40157000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4015a000
munmap(0x40016000, 38640)               = 0
geteuid32()                             = 0
getuid32()                              = 0
setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=0}) = 0
getcwd("/root", 4095)                   = 6
mlock(0xbfffebe0, 256)                  = 0
open("/dev/grsec", O_WRONLY)            = 3
write(3, "p\311\377\277\1\2\0\0\34\1\0\0", 12) = -1 EBUSY (Device or resource busy)
close(3)                                = 0
exit_group(0)                           = ?


I can´t perform gradm -D, -E, -R then i get...

Code: Select all
You have attempted to authenticate while authentication was locked, try again later.


I have tried to delete and recreate the devicefile grsec under /dev but it wont work. When i reboot my system everything works like a sharm again.

Does someone have a clue why this happends?

Thanx in advance
andutt
 
Posts: 21
Joined: Mon Dec 16, 2002 4:20 am

Return to grsecurity support

cron