2 # m68k and mips are the only not supported archs
5 %bcond_without dietlibc # don't use dietlibc (ask for troubles)
6 %bcond_without doc # don't build documentation which needed LaTeX
7 %bcond_with xalan # use the xalan xslt processor
9 Summary: Linux virtual server utilities
10 Summary(pl): Narzêdzia dla linuksowych serwerów wirtualnych
15 Group: Applications/System
16 Source0: http://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2
17 # Source0-md5: 4453ad0ae7f351fec651d6904e00521f
18 Source1: vprocunhide.init
19 Source2: vservers-default.init
20 Source3: vservers-legacy.init
21 Source4: rebootmgr.init
22 Source5: vservers-default.sysconfig
23 Source6: vservers-legacy.sysconfig
24 # A bit of documentation explaining package menagement
25 # http://www.paul.sladen.org/vserver/archives/200505/0078.html
26 Source7: util-vserver-pkgmgmt.txt
27 Patch0: %{name}-vsysvwrapper.patch
28 Patch1: %{name}-pld.patch
29 Patch2: %{name}-build-poldek.patch
30 Patch3: %{name}-include.patch
31 Patch4: %{name}-m4-diet.patch
32 Patch5: http://vserver.13thfloor.at/Experimental/UTIL-VSERVER/delta-0.30.208-kheaders.diff
33 Patch6: http://vserver.13thfloor.at/Experimental/UTIL-VSERVER/delta-0.30.208-shiny6.diff
34 Patch7: %{name}-cpuset.patch
35 Patch8: %{name}-build-umask.patch
36 URL: http://savannah.nongnu.org/projects/util-vserver/
37 BuildRequires: autoconf
38 BuildRequires: automake >= 1.9
39 BuildRequires: beecrypt-devel
40 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
41 BuildRequires: libstdc++-devel
42 BuildRequires: libtool >= 1.5.14
44 BuildRequires: sed >= 4.0
47 BuildRequires: doxygen
48 BuildRequires: graphviz
49 BuildRequires: libxslt-progs
50 BuildRequires: tetex-format-pdflatex
51 BuildRequires: tetex-makeindex
52 %{?with_xalan:BuildRequires: xalan-j}
56 Requires(post,preun): /sbin/chkconfig
57 Requires: %{name}-lib = %{version}-%{release}
58 Obsoletes: util-vserver-core
59 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62 This package provides the components and a framework to setup virtual
63 servers. A virtual server runs inside a Linux server. It is
64 nevertheless highly independent. As such, you can run various services
65 with normal configuration. The various vservers can't interact with
66 each other and can't interact with services in the main server.
68 This requires a special kernel supporting the new new_s_context and
69 set_ipv4root system call.
71 This package contains utilities which are required to communicate with
72 the Linux-Vserver enabled kernel.
75 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
76 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
77 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
78 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
79 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
81 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
82 new_s_context i set_ipv4root.
84 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
85 w³±czonym mechanizmem Linux-Vserver.
88 Summary: Development files for Linux vserver libraries
89 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
90 Group: Development/Libraries
91 Requires: %{name}-lib = %{version}-%{release}
94 This package contains the development files necessary for developing
95 programs which use vserver library.
97 %description devel -l pl
98 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
99 programów u¿ywaj±cych biblioteki vserver.
102 Summary: Static vserver library
103 Summary(pl): Biblioteka statyczna vservera
104 Group: Development/Libraries
105 Requires: %{name}-devel = %{version}-%{release}
108 This package contains the static version of vserver library.
110 %description static -l pl
111 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
114 Summary: Dynamic libraries for util-vserver
115 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
119 util-vserver provides the components and a framework to setup virtual
120 servers. A virtual server runs inside a linux server. It is
121 nevertheless highly independent. As such, you can run various services
122 with normal configuration. The various vservers can't interact with
123 each other and can't interact with services in the main server.
125 This package contains the shared libraries needed by all other
126 'util-vserver' subpackages.
128 %description lib -l pl
129 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
130 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
131 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
132 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
133 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
135 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
136 podpakiety util-vserver.
139 Summary: Tools which can be used to build vservers
140 Summary(pl): Narzêdzia do budowania vserverów
141 Group: Applications/System
147 Conflicts: poldek < 0.18.8-10
148 Requires: %{name} = %{version}-%{release}
151 util-vserver provides the components and a framework to setup virtual
152 servers. A virtual server runs inside a linux server. It is
153 nevertheless highly independent. As such, you can run various services
154 with normal configuration. The various vservers can't interact with
155 each other and can't interact with services in the main server.
157 This package contains utilities which assist in building Vservers.
159 %description build -l pl
160 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
161 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
162 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
163 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
164 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
166 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
169 Summary: initscripts for vserver
170 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
171 Group: Applications/System
172 Requires(post,preun): /sbin/chkconfig
173 Requires: %{name} = %{version}-%{release}
179 util-vserver provides the components and a framework to setup virtual
180 servers. A virtual server runs inside a linux server. It is
181 nevertheless highly independent. As such, you can run various services
182 with normal configuration. The various vservers can't interact with
183 each other and can't interact with services in the main server.
185 This package contains the SysV initscripts which start and stop
186 Vservers and related tools.
188 %description init -l pl
189 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
190 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
191 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
192 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
193 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
195 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
196 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
199 Summary: Legacy utilities for util-vserver
200 Summary(pl): Stare narzêdzia dla util-vserver
201 Group: Applications/System
202 Requires(post,preun): /sbin/chkconfig
203 Requires: %{name} = %{version}-%{release}
207 util-vserver provides the components and a framework to setup virtual
208 servers. A virtual server runs inside a linux server. It is
209 nevertheless highly independent. As such, you can run various services
210 with normal configuration. The various vservers can't interact with
211 each other and can't interact with services in the main server.
213 This package contains the tools which are needed to work with Vservers
214 having an old-style configuration.
216 %description legacy -l pl
217 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
218 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
219 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
220 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
221 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
223 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
224 konfiguracjê w starym stylu.
226 %package -n vserver-dev
227 Summary: /dev entries for systems in Vservers
228 Summary(pl): Pliki specjalne /dev/* dla systemów w Vserwerach
230 PreReq: setup >= 2.4.1-2
231 Provides: dev = 2.9.0-19
235 %description -n vserver-dev
236 Unix and unix like systems (including Linux) use file system entries
237 to represent devices attached to the machine. All of these entries are
238 in the /dev tree (though they don't have to be), and this package
239 contains only entries needed for a system running inside Vserver.
241 DO NOT install this package for a normal system!
243 %description -n vserver-dev -l pl
244 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
245 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
246 znajduj± siê zwykle w katalogu /dev. Pakiet ten wy³±cznie te pliki
247 specjalne które s± potrzebne do uruchomienia systemu w Vserwerze.
249 NIE INSTALUJ tego pakietu na zwyk³ym systemie!
263 install %{SOURCE7} package-menagament.txt
265 cp -a compat.h vserver-compat.h
272 --with-initrddir=/etc/rc.d/init.d \
274 %{?with_dietlibc:--enable-dietlibc} \
275 %{!?with_dietlibc:--disable-dietlibc} \
281 IPTABLES=/usr/sbin/iptables \
282 MODPROBE=/sbin/modprobe \
283 NAMEIF=/sbin/nameif \
285 VCONFIG=/sbin/vconfig \
289 %{?with_doc:%{__make} doc}
292 rm -rf $RPM_BUILD_ROOT
293 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
295 %{__make} install install-distribution \
296 DESTDIR=$RPM_BUILD_ROOT
298 install vserver-compat.h $RPM_BUILD_ROOT%{_includedir}/
300 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
302 install -d $RPM_BUILD_ROOT/etc/vservices
303 install -d $RPM_BUILD_ROOT/vservers/.pkg
304 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
305 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
307 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
308 s=`basename $i | sed s/v_//`
309 cat >$RPM_BUILD_ROOT/etc/vservices/$s << EOF
310 # IP addresses/interfaces to bound $s service to
316 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
317 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
318 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
319 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-default
320 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
321 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
322 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
323 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
325 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/vservers-default
326 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
328 ln -sf /dev/null $RPM_BUILD_ROOT/dev/initctl
331 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/pkgs/01
332 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/rpmlist.d/00.lst
336 rm -rf $RPM_BUILD_ROOT
339 %{_sbindir}/setattr --barrier /vservers || :
341 %post lib -p /sbin/ldconfig
342 %postun lib -p /sbin/ldconfig
345 /sbin/chkconfig --add vservers-default
346 /sbin/chkconfig --add vprocunhide
347 #if [ -r /var/lock/subsys/vprocunhide ]; then
348 # /etc/rc.d/init.d/vprocunhide restart >&2
350 echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
352 #if [ -r /var/lock/subsys/vservers-default ]; then
353 # /etc/rc.d/init.d/vservers-default restart >&2
355 echo "Type \"/etc/rc.d/init.d/vservers-default start\" to start default vservers" 1>&2
359 if [ "$1" = "0" ]; then
360 if [ -r /var/lock/subsys/vprocunhide ]; then
361 /etc/rc.d/init.d/vprocunhide stop >&2
363 if [ -r /var/lock/subsys/vservers-default ]; then
364 /etc/rc.d/init.d/vservers-default stop >&2
366 /sbin/chkconfig --del vprocunhide
367 /sbin/chkconfig --del vservers-default
371 /sbin/chkconfig --add rebootmgr
372 /sbin/chkconfig --add vservers-legacy
373 #if [ -r /var/lock/subsys/rebootmgr ] ; then
374 # /etc/rc.d/init.d/rebootmgr restart >&2
376 echo "Type \"/etc/rc.d/init.d/rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
378 #if [ -r /var/lock/subsys/vservers-legacy ] ; then
379 # /etc/rc.d/init.d/vservers-legacy restart >&2
381 echo "Type \"/etc/rc.d/init.d/vservers-legacy start\" to start legacy vservers" 1>&2
385 if [ "$1" = "0" ]; then
386 if [ -r /var/lock/subsys/rebootmgr ] ; then
387 /etc/rc.d/init.d/rebootmgr stop >&2
389 if [ -r /var/lock/subsys/vservers-legacy ] ; then
390 /etc/rc.d/init.d/vservers-legacy stop >&2
392 /sbin/chkconfig --del rebootmgr
393 /sbin/chkconfig --del vservers-legacy
397 %defattr(644,root,root,755)
398 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
399 %{?with_doc:%doc doc/*.html}
400 %dir %{_sysconfdir}/vservers
401 %dir %{_sysconfdir}/vservers/.defaults
402 %dir %{_sysconfdir}/vservers/.defaults/apps
403 %dir %{_sysconfdir}/vservers/.defaults/files
404 %{_sysconfdir}/vservers/.defaults/vdirbase
405 %{_sysconfdir}/vservers/.defaults/run.rev
406 %{_sysconfdir}/vservers/vdirbase
407 %{_sysconfdir}/vservers/run.rev
409 %attr(755,root,root) %{_sbindir}/chbind
410 %attr(755,root,root) %{_sbindir}/chcontext
411 %attr(755,root,root) %{_sbindir}/chxid
412 %attr(755,root,root) %{_sbindir}/exec-cd
413 %attr(755,root,root) %{_sbindir}/lsxid
414 %attr(755,root,root) %{_sbindir}/reducecap
415 %attr(755,root,root) %{_sbindir}/setattr
416 %attr(755,root,root) %{_sbindir}/showattr
417 %attr(755,root,root) %{_sbindir}/vattribute
418 %attr(755,root,root) %{_sbindir}/vcontext
419 %attr(755,root,root) %{_sbindir}/vdlimit
420 %attr(755,root,root) %{_sbindir}/vnamespace
421 %attr(755,root,root) %{_sbindir}/vkill
422 %attr(755,root,root) %{_sbindir}/vlimit
423 %attr(755,root,root) %{_sbindir}/vdu
424 %attr(755,root,root) %{_sbindir}/vps
425 %attr(755,root,root) %{_sbindir}/vpstree
426 %attr(755,root,root) %{_sbindir}/vrsetup
427 %attr(755,root,root) %{_sbindir}/vsched
428 %attr(755,root,root) %{_sbindir}/vserver
429 %attr(755,root,root) %{_sbindir}/vserver-info
430 %attr(755,root,root) %{_sbindir}/vserver-stat
431 %attr(755,root,root) %{_sbindir}/vsomething
432 %attr(755,root,root) %{_sbindir}/vtop
433 %attr(755,root,root) %{_sbindir}/vuname
434 %attr(755,root,root) %{_sbindir}/vwait
435 %dir %{_libdir}/%{name}
436 %dir %{_libdir}/%{name}/defaults
437 %{_libdir}/%{name}/FEATURES.txt
438 %{_libdir}/%{name}/util-vserver-vars
439 %{_libdir}/%{name}/defaults/*
440 %attr(755,root,root) %{_libdir}/%{name}/capchroot
441 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
442 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
443 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
444 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
445 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
446 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
447 %attr(755,root,root) %{_libdir}/%{name}/filetime
448 %{_libdir}/%{name}/functions
449 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
450 %attr(755,root,root) %{_libdir}/%{name}/lockfile
451 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
452 %attr(755,root,root) %{_libdir}/%{name}/readlink
453 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
454 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
455 %attr(755,root,root) %{_libdir}/%{name}/sigexec
456 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
457 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
458 %{_libdir}/%{name}/vserver.*
459 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
460 %attr(755,root,root) %{_libdir}/%{name}/vshelper
461 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
462 %{_mandir}/man8/chbind.8*
463 %{_mandir}/man8/chcontext.8*
464 %{_mandir}/man8/reducecap.8*
465 %{_mandir}/man8/vps.8*
466 %{_mandir}/man8/vpstree.8*
467 %{_mandir}/man8/vserver-stat.8*
468 %{_mandir}/man8/vserver.8*
469 %{_mandir}/man8/vtop.8*
470 %attr(0,root,root) %dir /vservers
471 %attr(755,root,root) %dir /vservers/.pkg
472 %dir %{_localstatedir}/run/vservers
473 %dir %{_localstatedir}/run/vservers.rev
474 %dir %{_localstatedir}/run/vshelper
477 %defattr(644,root,root,755)
478 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
479 %attr(755,root,root) %{_libdir}/lib*.so
481 %{_includedir}/vserver*.h
482 %{_pkgconfigdir}/*.pc
485 %defattr(644,root,root,755)
486 %{_libdir}/libvserver.a
489 %defattr(644,root,root,755)
490 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
493 %defattr(644,root,root,755)
494 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
495 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-default
496 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
497 %attr(754,root,root) /etc/rc.d/init.d/vservers-default
500 %defattr(644,root,root,755)
501 %doc contrib/yum*.patch package-menagament.txt
502 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
503 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
504 %dir %{_sysconfdir}/vservers/.distributions
505 %dir %{_sysconfdir}/vservers/.distributions/.common
506 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
507 %dir %{_sysconfdir}/vservers/.distributions/[frs]*
508 %dir %{_sysconfdir}/vservers/.distributions/[frs]*/apt
509 %dir %{_sysconfdir}/vservers/.distributions/pld2.0
510 %dir %{_sysconfdir}/vservers/.distributions/pld2.0/poldek
511 %{_sysconfdir}/vservers/.distributions/pld1.99
512 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/vservers/.distributions/[frs]*/apt/sources.list
513 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/vservers/.distributions/pld2.0/poldek/poldek.conf
514 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
515 %dir %{_libdir}/%{name}/distributions
516 %attr(-, root, root) %{_libdir}/%{name}/distributions/*
517 %{_libdir}/%{name}/vserver-build.*
518 %{_libdir}/%{name}/vserver-setup.functions
519 %{_libdir}/%{name}/defaults/fstab
520 %{_libdir}/%{name}/defaults/debootstrap.uri
521 %{_libdir}/%{name}/defaults/vunify-exclude
522 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
523 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
524 %attr(755,root,root) %{_libdir}/%{name}/vcopy
525 %attr(755,root,root) %{_libdir}/%{name}/vhashify
526 %attr(755,root,root) %{_libdir}/%{name}/vpkg
527 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
528 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
529 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
530 %attr(755,root,root) %{_libdir}/%{name}/vunify
531 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
532 %attr(755,root,root) %{_sbindir}/vapt-get
533 %attr(755,root,root) %{_sbindir}/vpoldek
534 %attr(755,root,root) %{_sbindir}/vrpm
535 %attr(755,root,root) %{_sbindir}/vyum
538 %defattr(644,root,root,755)
541 %dir %{_libdir}/%{name}/legacy
542 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
543 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
544 %attr(754,root,root) /etc/rc.d/init.d/v_*
545 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
546 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
547 %attr(755,root,root) %{_sbindir}/vserver-copy
548 %{_mandir}/man8/distrib-info.8*
549 %{_mandir}/man8/rebootmgr.8*
550 %{_mandir}/man8/vserver-copy.8*
552 %files -n vserver-dev
553 %defattr(644,root,root,755)
555 %dev(c,1,7) %attr(666,root,root) /dev/full
556 %dev(c,1,3) %attr(666,root,root) /dev/null
557 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
558 %dev(c,1,8) %attr(644,root,root) /dev/random
559 %dev(c,5,0) %attr(666,root,root) /dev/tty
560 %dev(c,1,9) %attr(644,root,root) /dev/urandom
561 %dev(c,1,5) %attr(666,root,root) /dev/zero