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 URL: http://savannah.nongnu.org/projects/util-vserver/
36 BuildRequires: autoconf
37 BuildRequires: automake >= 1.9
38 BuildRequires: beecrypt-devel
39 %{?with_dietlibc:BuildRequires: dietlibc-static >= 2:0.29}
40 BuildRequires: libstdc++-devel
41 BuildRequires: libtool >= 1.5.14
43 BuildRequires: sed >= 4.0
46 BuildRequires: doxygen
47 BuildRequires: graphviz
48 BuildRequires: libxslt-progs
49 BuildRequires: tetex-format-pdflatex
50 BuildRequires: tetex-makeindex
51 %{?with_xalan:BuildRequires: xalan-j}
55 Requires(post,preun): /sbin/chkconfig
56 Requires: %{name}-lib = %{version}-%{release}
57 Obsoletes: util-vserver-core
58 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
61 This package provides the components and a framework to setup virtual
62 servers. A virtual server runs inside a Linux server. It is
63 nevertheless highly independent. As such, you can run various services
64 with normal configuration. The various vservers can't interact with
65 each other and can't interact with services in the main server.
67 This requires a special kernel supporting the new new_s_context and
68 set_ipv4root system call.
70 This package contains utilities which are required to communicate with
71 the Linux-Vserver enabled kernel.
74 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
75 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
76 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
77 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
78 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
80 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
81 new_s_context i set_ipv4root.
83 Ten pakiet zawiera narzêdzia wymagane do komunikacji z j±drem z
84 w³±czonym mechanizmem Linux-Vserver.
87 Summary: Development files for Linux vserver libraries
88 Summary(pl): Pliki programistyczne dla bibliotek linuksowego vserwera
89 Group: Development/Libraries
90 Requires: %{name}-lib = %{version}-%{release}
93 This package contains the development files necessary for developing
94 programs which use vserver library.
96 %description devel -l pl
97 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
98 programów u¿ywaj±cych biblioteki vserver.
101 Summary: Static vserver library
102 Summary(pl): Biblioteka statyczna vservera
103 Group: Development/Libraries
104 Requires: %{name}-devel = %{version}-%{release}
107 This package contains the static version of vserver library.
109 %description static -l pl
110 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
113 Summary: Dynamic libraries for util-vserver
114 Summary(pl): Biblioteki dynamiczne dla pakietu util-vserver
118 util-vserver provides the components and a framework to setup virtual
119 servers. A virtual server runs inside a linux server. It is
120 nevertheless highly independent. As such, you can run various services
121 with normal configuration. The various vservers can't interact with
122 each other and can't interact with services in the main server.
124 This package contains the shared libraries needed by all other
125 'util-vserver' subpackages.
127 %description lib -l pl
128 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
129 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
130 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
131 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
132 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
134 Ten pakiet zawiera biblioteki wspó³dzielone wymagane przez wszystkie
135 podpakiety util-vserver.
138 Summary: Tools which can be used to build vservers
139 Summary(pl): Narzêdzia do budowania vserverów
140 Group: Applications/System
146 Conflicts: poldek < 0.18.8-10
147 Requires: %{name} = %{version}-%{release}
150 util-vserver provides the components and a framework to setup virtual
151 servers. A virtual server runs inside a linux server. It is
152 nevertheless highly independent. As such, you can run various services
153 with normal configuration. The various vservers can't interact with
154 each other and can't interact with services in the main server.
156 This package contains utilities which assist in building Vservers.
158 %description build -l pl
159 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
160 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
161 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
162 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
163 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
165 Ten pakiet zawiera narzêdzia pomagaj±ce przy budowaniu Vserwerów.
168 Summary: initscripts for vserver
169 Summary(pl): Skrypty inicjalizuj±ce dla vserwera
170 Group: Applications/System
171 Requires(post,preun): /sbin/chkconfig
172 Requires: %{name} = %{version}-%{release}
178 util-vserver provides the components and a framework to setup virtual
179 servers. A virtual server runs inside a linux server. It is
180 nevertheless highly independent. As such, you can run various services
181 with normal configuration. The various vservers can't interact with
182 each other and can't interact with services in the main server.
184 This package contains the SysV initscripts which start and stop
185 Vservers and related tools.
187 %description init -l pl
188 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
189 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
190 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
191 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
192 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
194 Ten pakiet zawiera skrypty inicjalizuj±ce SysV uruchamiaj±ce i
195 zatrzymuj±ce Vserwery oraz powi±zane narzêdzia.
198 Summary: Legacy utilities for util-vserver
199 Summary(pl): Stare narzêdzia dla util-vserver
200 Group: Applications/System
201 Requires(post,preun): /sbin/chkconfig
202 Requires: %{name} = %{version}-%{release}
206 util-vserver provides the components and a framework to setup virtual
207 servers. A virtual server runs inside a linux server. It is
208 nevertheless highly independent. As such, you can run various services
209 with normal configuration. The various vservers can't interact with
210 each other and can't interact with services in the main server.
212 This package contains the tools which are needed to work with Vservers
213 having an old-style configuration.
215 %description legacy -l pl
216 util-vserver dostarcza sk³adniki i szkielet do tworzenia wirtualnych
217 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
218 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
219 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
220 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
222 Ten pakiet zawiera narzêdzia potrzebne do pracy z Vserwerami maj±cymi
223 konfiguracjê w starym stylu.
225 %package -n vserver-dev
226 Summary: /dev entries for systems in Vservers
227 Summary(pl): Pliki specjalne /dev/* dla systemów w Vserwerach
229 PreReq: setup >= 2.4.1-2
230 Provides: dev = 2.9.0-19
234 %description -n vserver-dev
235 Unix and unix like systems (including Linux) use file system entries
236 to represent devices attached to the machine. All of these entries are
237 in the /dev tree (though they don't have to be), and this package
238 contains only entries needed for a system running inside Vserver.
240 DO NOT install this package for a normal system!
242 %description -n vserver-dev -l pl
243 Wszystkie systemy klasy unices, w tym Linux, u¿ywaj± plików do
244 przedstawiania urz±dzeñ pod³±czonych do komputera. Wszystkie te pliki
245 znajduj± siê zwykle w katalogu /dev. Pakiet ten wy³±cznie te pliki
246 specjalne które s± potrzebne do uruchomienia systemu w Vserwerze.
248 NIE INSTALUJ tego pakietu na zwyk³ym systemie!
261 install %{SOURCE7} package-menagament.txt
263 cp -a compat.h vserver-compat.h
270 --with-initrddir=/etc/rc.d/init.d \
272 %{?with_dietlibc:--enable-dietlibc} \
273 %{!?with_dietlibc:--disable-dietlibc} \
279 IPTABLES=/usr/sbin/iptables \
280 MODPROBE=/sbin/modprobe \
281 NAMEIF=/sbin/nameif \
283 VCONFIG=/sbin/vconfig \
287 %{?with_doc:%{__make} doc}
290 rm -rf $RPM_BUILD_ROOT
291 install -d $RPM_BUILD_ROOT{/vservers,/etc/{sysconfig,rc.d/init.d},/dev/pts}
293 %{__make} install install-distribution \
294 DESTDIR=$RPM_BUILD_ROOT
296 install vserver-compat.h $RPM_BUILD_ROOT%{_includedir}/
298 chmod -R +rX $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/*
300 install -d $RPM_BUILD_ROOT/etc/vservices
301 install -d $RPM_BUILD_ROOT/vservers/.pkg
302 ln -s /vservers $RPM_BUILD_ROOT%{_sysconfdir}/vservers/vdirbase
303 ln -s %{_localstatedir}/run/vservers.rev $RPM_BUILD_ROOT%{_sysconfdir}/vservers/run.rev
305 for i in $RPM_BUILD_ROOT/etc/rc.d/init.d/v_* ; do
306 s=`basename $i | sed s/v_//`
307 cat >$RPM_BUILD_ROOT/etc/vservices/$s << EOF
308 # IP addresses/interfaces to bound $s service to
314 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE1} > \
315 $RPM_BUILD_ROOT/etc/rc.d/init.d/vprocunhide
316 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE2} > \
317 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-default
318 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE3} > \
319 $RPM_BUILD_ROOT/etc/rc.d/init.d/vservers-legacy
320 sed 's|/usr/lib/util-vserver|%{_libdir}/%{name}|g' %{SOURCE4} > \
321 $RPM_BUILD_ROOT/etc/rc.d/init.d/rebootmgr
323 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/vservers-default
324 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/vservers-legacy
326 ln -sf /dev/null $RPM_BUILD_ROOT/dev/initctl
329 sed -i 's/^glibc$/glibc64/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/pkgs/01
330 sed -i 's/glibc\-\[0\-9\]\*\.rpm/glibc64\-\[0\-9\]\*\.rpm/' $RPM_BUILD_ROOT%{_libdir}/%{name}/distributions/pld2.0/rpmlist.d/00.lst
334 rm -rf $RPM_BUILD_ROOT
337 %{_sbindir}/setattr --barrier /vservers || :
339 %post lib -p /sbin/ldconfig
340 %postun lib -p /sbin/ldconfig
343 /sbin/chkconfig --add vservers-default
344 /sbin/chkconfig --add vprocunhide
345 #if [ -r /var/lock/subsys/vprocunhide ]; then
346 # /etc/rc.d/init.d/vprocunhide restart >&2
348 echo "Type \"/etc/rc.d/init.d/vprocunhide start\" to set /proc visibility for vservers" 1>&2
350 #if [ -r /var/lock/subsys/vservers-default ]; then
351 # /etc/rc.d/init.d/vservers-default restart >&2
353 echo "Type \"/etc/rc.d/init.d/vservers-default start\" to start default vservers" 1>&2
357 if [ "$1" = "0" ]; then
358 if [ -r /var/lock/subsys/vprocunhide ]; then
359 /etc/rc.d/init.d/vprocunhide stop >&2
361 if [ -r /var/lock/subsys/vservers-default ]; then
362 /etc/rc.d/init.d/vservers-default stop >&2
364 /sbin/chkconfig --del vprocunhide
365 /sbin/chkconfig --del vservers-default
369 /sbin/chkconfig --add rebootmgr
370 /sbin/chkconfig --add vservers-legacy
371 #if [ -r /var/lock/subsys/rebootmgr ] ; then
372 # /etc/rc.d/init.d/rebootmgr restart >&2
374 echo "Type \"/etc/rc.d/init.d/rebootmgr start\" to start reboot manager for legacy vservers" 1>&2
376 #if [ -r /var/lock/subsys/vservers-legacy ] ; then
377 # /etc/rc.d/init.d/vservers-legacy restart >&2
379 echo "Type \"/etc/rc.d/init.d/vservers-legacy start\" to start legacy vservers" 1>&2
383 if [ "$1" = "0" ]; then
384 if [ -r /var/lock/subsys/rebootmgr ] ; then
385 /etc/rc.d/init.d/rebootmgr stop >&2
387 if [ -r /var/lock/subsys/vservers-legacy ] ; then
388 /etc/rc.d/init.d/vservers-legacy stop >&2
390 /sbin/chkconfig --del rebootmgr
391 /sbin/chkconfig --del vservers-legacy
395 %defattr(644,root,root,755)
396 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
397 %{?with_doc:%doc doc/*.html}
398 %dir %{_sysconfdir}/vservers
399 %dir %{_sysconfdir}/vservers/.defaults
400 %dir %{_sysconfdir}/vservers/.defaults/apps
401 %dir %{_sysconfdir}/vservers/.defaults/files
402 %{_sysconfdir}/vservers/.defaults/vdirbase
403 %{_sysconfdir}/vservers/.defaults/run.rev
404 %{_sysconfdir}/vservers/vdirbase
405 %{_sysconfdir}/vservers/run.rev
407 %attr(755,root,root) %{_sbindir}/chbind
408 %attr(755,root,root) %{_sbindir}/chcontext
409 %attr(755,root,root) %{_sbindir}/chxid
410 %attr(755,root,root) %{_sbindir}/exec-cd
411 %attr(755,root,root) %{_sbindir}/lsxid
412 %attr(755,root,root) %{_sbindir}/reducecap
413 %attr(755,root,root) %{_sbindir}/setattr
414 %attr(755,root,root) %{_sbindir}/showattr
415 %attr(755,root,root) %{_sbindir}/vattribute
416 %attr(755,root,root) %{_sbindir}/vcontext
417 %attr(755,root,root) %{_sbindir}/vdlimit
418 %attr(755,root,root) %{_sbindir}/vnamespace
419 %attr(755,root,root) %{_sbindir}/vkill
420 %attr(755,root,root) %{_sbindir}/vlimit
421 %attr(755,root,root) %{_sbindir}/vdu
422 %attr(755,root,root) %{_sbindir}/vps
423 %attr(755,root,root) %{_sbindir}/vpstree
424 %attr(755,root,root) %{_sbindir}/vrsetup
425 %attr(755,root,root) %{_sbindir}/vsched
426 %attr(755,root,root) %{_sbindir}/vserver
427 %attr(755,root,root) %{_sbindir}/vserver-info
428 %attr(755,root,root) %{_sbindir}/vserver-stat
429 %attr(755,root,root) %{_sbindir}/vsomething
430 %attr(755,root,root) %{_sbindir}/vtop
431 %attr(755,root,root) %{_sbindir}/vuname
432 %attr(755,root,root) %{_sbindir}/vwait
433 %dir %{_libdir}/%{name}
434 %dir %{_libdir}/%{name}/defaults
435 %{_libdir}/%{name}/FEATURES.txt
436 %{_libdir}/%{name}/util-vserver-vars
437 %{_libdir}/%{name}/defaults/*
438 %attr(755,root,root) %{_libdir}/%{name}/capchroot
439 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
440 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
441 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
442 %attr(755,root,root) %{_libdir}/%{name}/chroot-sh
443 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
444 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
445 %attr(755,root,root) %{_libdir}/%{name}/filetime
446 %{_libdir}/%{name}/functions
447 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
448 %attr(755,root,root) %{_libdir}/%{name}/lockfile
449 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
450 %attr(755,root,root) %{_libdir}/%{name}/readlink
451 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
452 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
453 %attr(755,root,root) %{_libdir}/%{name}/sigexec
454 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
455 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
456 %{_libdir}/%{name}/vserver.*
457 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
458 %attr(755,root,root) %{_libdir}/%{name}/vshelper
459 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
460 %{_mandir}/man8/chbind.8*
461 %{_mandir}/man8/chcontext.8*
462 %{_mandir}/man8/reducecap.8*
463 %{_mandir}/man8/vps.8*
464 %{_mandir}/man8/vpstree.8*
465 %{_mandir}/man8/vserver-stat.8*
466 %{_mandir}/man8/vserver.8*
467 %{_mandir}/man8/vtop.8*
468 %attr(0,root,root) %dir /vservers
469 %attr(755,root,root) %dir /vservers/.pkg
470 %dir %{_localstatedir}/run/vservers
471 %dir %{_localstatedir}/run/vservers.rev
472 %dir %{_localstatedir}/run/vshelper
475 %defattr(644,root,root,755)
476 %{?with_doc:%doc lib/apidoc/latex/refman.pdf lib/apidoc/html}
477 %attr(755,root,root) %{_libdir}/lib*.so
479 %{_includedir}/vserver*.h
480 %{_pkgconfigdir}/*.pc
483 %defattr(644,root,root,755)
484 %{_libdir}/libvserver.a
487 %defattr(644,root,root,755)
488 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
491 %defattr(644,root,root,755)
492 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
493 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-default
494 %attr(754,root,root) /etc/rc.d/init.d/vprocunhide
495 %attr(754,root,root) /etc/rc.d/init.d/vservers-default
498 %defattr(644,root,root,755)
499 %doc contrib/yum*.patch package-menagament.txt
500 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify
501 %dir %{_sysconfdir}/vservers/.defaults/apps/vunify/hash
502 %dir %{_sysconfdir}/vservers/.distributions
503 %dir %{_sysconfdir}/vservers/.distributions/.common
504 %dir %{_sysconfdir}/vservers/.distributions/.common/pubkeys
505 %dir %{_sysconfdir}/vservers/.distributions/[frs]*
506 %dir %{_sysconfdir}/vservers/.distributions/[frs]*/apt
507 %dir %{_sysconfdir}/vservers/.distributions/pld2.0
508 %dir %{_sysconfdir}/vservers/.distributions/pld2.0/poldek
509 %{_sysconfdir}/vservers/.distributions/pld1.99
510 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/vservers/.distributions/[frs]*/apt/sources.list
511 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/vservers/.distributions/pld2.0/poldek/poldek.conf
512 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
513 %dir %{_libdir}/%{name}/distributions
514 %attr(-, root, root) %{_libdir}/%{name}/distributions/*
515 %{_libdir}/%{name}/vserver-build.*
516 %{_libdir}/%{name}/vserver-setup.functions
517 %{_libdir}/%{name}/defaults/fstab
518 %{_libdir}/%{name}/defaults/debootstrap.uri
519 %{_libdir}/%{name}/defaults/vunify-exclude
520 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
521 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
522 %attr(755,root,root) %{_libdir}/%{name}/vcopy
523 %attr(755,root,root) %{_libdir}/%{name}/vhashify
524 %attr(755,root,root) %{_libdir}/%{name}/vpkg
525 %attr(755,root,root) %{_libdir}/%{name}/vpoldek-worker
526 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
527 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
528 %attr(755,root,root) %{_libdir}/%{name}/vunify
529 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
530 %attr(755,root,root) %{_sbindir}/vapt-get
531 %attr(755,root,root) %{_sbindir}/vpoldek
532 %attr(755,root,root) %{_sbindir}/vrpm
533 %attr(755,root,root) %{_sbindir}/vyum
536 %defattr(644,root,root,755)
539 %dir %{_libdir}/%{name}/legacy
540 %attr(755,root,root) %{_libdir}/%{name}/legacy/*
541 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/vservers-legacy
542 %attr(754,root,root) /etc/rc.d/init.d/v_*
543 %attr(754,root,root) /etc/rc.d/init.d/rebootmgr
544 %attr(754,root,root) /etc/rc.d/init.d/vservers-legacy
545 %attr(755,root,root) %{_sbindir}/vserver-copy
546 %{_mandir}/man8/distrib-info.8*
547 %{_mandir}/man8/rebootmgr.8*
548 %{_mandir}/man8/vserver-copy.8*
550 %files -n vserver-dev
551 %defattr(644,root,root,755)
553 %dev(c,1,7) %attr(666,root,root) /dev/full
554 %dev(c,1,3) %attr(666,root,root) /dev/null
555 %dev(c,5,2) %attr(666,root,root) /dev/ptmx
556 %dev(c,1,8) %attr(644,root,root) /dev/random
557 %dev(c,5,0) %attr(666,root,root) /dev/tty
558 %dev(c,1,9) %attr(644,root,root) /dev/urandom
559 %dev(c,1,5) %attr(666,root,root) /dev/zero