Bug 124234 - bind-chroot package creates unnecessary dev files
Summary: bind-chroot package creates unnecessary dev files
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: bind
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-24 21:30 UTC by Landon Curt Noll
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-03 23:15:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Landon Curt Noll 2004-05-24 21:30:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux; X11; , en_US.UTF-8, en_US, en)

Description of problem:
The bind-chroot rpm creates:

	/var/named/chroot/dev/null
	/var/named/chroot/dev/random

Neither of these dev files are needed.  A:

	lsof -p $(pidof named)

will show that neither /dev/null nor /dev/random are open.
Removal of these files /var/named/chroot/dev/* files does
not seem to impare named.

Creation of /var/named/chroot/dev/ special files gives the
impression that the /var file system cannot be mounted with
the nodev option.  The /var file system can be mounted with
nodev (and should for security reasons).  By removing these
unnecessary dev files from the bind-chroot package, the /var
filesystem can remain special device free.

Version-Release number of selected component (if applicable):
bind-chroot-9.2.2-21

How reproducible:
Always

Steps to Reproduce:
1.install bind and bind-chroot
2.rm -rf /var/named/chroot/dev
3.service named start
    

Actual Results:  The bind daemon will run without any problem without the
/var/named/chroot/dev files.

Expected Results:  If /var/named/chroot/dev was required, a problem with
bind would have noticed.

Additional info:

Comment 1 Jason Vas Dias 2004-08-03 23:15:52 UTC
Named DOES use /dev/random - it periodically opens & closes it.




Note You need to log in before you can comment on or make changes to this bug.