First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 133700
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: The Gentoo Linux Hardened Team <hardened@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michal Prihoda <michal@prihoda.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 133700 depends on: Show dependency tree
Show dependency graph
Bug 133700 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-18 09:09 0000
/dev/grsec gets created in gradm-*.ebuild with major 1 and minor 12:

mknod -m 0622 "${ROOT}"/dev/grsec c 1 12

but in packages Makefile it says:

$(MKNOD) -m 0622 $(DESTDIR)/dev/grsec c 1 13

Which causes after gradm install (with hardened-sources-2.4.32-r2):

# ls -l /dev/grsec
crw--w--w- 1 root root 1, 12 May 18 18:14 /dev/grsec
# gradm -P
Could not open /dev/grsec.
open: No such device or address

And works, when changed to right number:
# rm /dev/grsec
# mknod /dev/grsec c 1 13
# chmod 0622 /dev/grsec 
# gradm -P
Setting up grsecurity RBAC password
Password: 

Guess the number has been changed, thought you should know :-)

------- Comment #1 From solar 2006-05-18 09:12:12 0000 -------
This is the 3rd time the device nod/numbering has changed.
I'd rather drop this package than fix it for a 3rd time.

------- Comment #2 From Christian Heim (RETIRED) 2007-04-29 15:24:20 0000 -------
OK, I just fixed the remaining ebuilds in sys-apps/gradm to use 1 13 for the
mknod.

First Last Prev Next    No search results available      Search page      Enter new bug