bind package

Patrys :: Patryk Zawadzki patrys at pld-linux.org
Wed Jun 15 23:15:42 CEST 2005


Dnia 15-06-2005, śro o godzinie 21:31 +0300, Elan Ruusamäe napisał(a):
> is this really proper?
> 
> # rpm -qf dev/{null,random}
> bind-9.2.5-2
> bind-9.2.5-2
> # l dev/
> total 0
> -rwxrwx---  1 root named 0 Mar 24 00:54 null*
> -rwxrwx---  1 root named 0 Mar 24 00:54 random*
> # pwd
> /var/lib/named

Are these filed or device nodes?

> spec reads:
> %attr(770,root,named) %{_var}/lib/named/dev/*
> 
> and those 'files' are opened by named:
> 21:30:32 root[0]@player lib/named# rlsof -c named|grep `pwd`
>       5 named named    6w   REG        3,6    1233   304107 /var/lib/named/named.log
>       5 named named   10r   REG        3,6       0   304102 /var/lib/named/dev/random
>       5 named named  cwd    DIR        3,6    4096   304095 /var/lib/named
>       5 named named  rtd    DIR        3,6    4096   304095 /var/lib/named

Yes as named is chrooting itself to a strict jail in /var/lib/named.

-- 
Patrys :: Patryk Zawadzki <patrys at pld-linux.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : /mailman/pipermail/pld-devel-en/attachments/20050615/b5053a5f/attachment-0002.bin


More information about the pld-devel-en mailing list