[Lxc-users] udev
Osvaldo Filho
arquivostcf at gmail.com
Sat Jul 31 03:05:22 UTC 2010
========= strace -f -ooutout lxc-start -n lucid64 ==========
# cat outout | grep tty
16092 read(3, "lxc.utsname = lucid64\nlxc.tty = "..., 4096) = 751
16092 access("/dev/tty", F_OK) = 0
16092 open("/dev/tty", O_RDWR) = 11
16092 open("/dev/tty", O_RDWR|O_CREAT|O_APPEND|O_CLOEXEC, 0600) = 13
16120 mount("/dev/pts/3", "./rootfs/dev/tty1", 0x7f82a096722a,
MS_BIND, NULL) = 0
16120 mount("/dev/pts/4", "./rootfs/dev/tty2", 0x7f82a096722a,
MS_BIND, NULL) = 0
16120 mount("/dev/pts/5", "./rootfs/dev/tty3", 0x7f82a096722a,
MS_BIND, NULL) = 0
16120 mount("/dev/pts/6", "./rootfs/dev/tty4", 0x7f82a096722a,
MS_BIND, NULL) = 0
16120 stat("/etc/init/tty1.conf", {st_mode=S_IFREG|0644, st_size=228, ...}) = 0
16120 open("/etc/init/tty1.conf", O_RDONLY) = 7
16120 read(7, "# tty1 - getty\n#\n# This service "..., 4096) = 228
16120 stat("/etc/init/tty2.conf", {st_mode=S_IFREG|0644, st_size=213, ...}) = 0
16120 open("/etc/init/tty2.conf", O_RDONLY) = 7
16120 read(7, "# tty2 - getty\n#\n# This service "..., 4096) = 213
16120 stat("/etc/init/tty3.conf", {st_mode=S_IFREG|0644, st_size=213, ...}) = 0
16120 open("/etc/init/tty3.conf", O_RDONLY) = 7
16120 read(7, "# tty3 - getty\n#\n# This service "..., 4096) = 213
==== on container with no upgrade - lxc-console ok! ====
~# ls -l /dev
total 4
crw------- 1 root tty 136, 12 2010-07-31 02:54 console
crw-rw-rw- 1 root root 1, 7 2010-02-22 06:57 full
prw------- 1 root root 0 2010-02-22 06:57 initctl
-rw-r--r-- 1 root root 30 2010-07-31 02:54 kmsg
srw-rw-rw- 1 root root 0 2010-07-31 02:54 log
crw-rw-rw- 1 root root 1, 3 2010-02-22 06:57 null
crw-rw-rw- 1 root root 5, 2 2010-07-31 02:58 ptmx
drwxr-xr-x 2 root root 0 2010-04-19 09:30 pts
crw-rw-rw- 1 root root 1, 8 2010-02-22 06:57 random
drwxrwxrwt 2 root root 40 2010-07-31 02:54 shm
crw-rw-rw- 1 root root 5, 0 2010-02-22 06:57 tty
crw-rw-rw- 1 root root 4, 0 2010-02-22 06:57 tty0
crw------- 1 root root 136, 8 2010-07-31 02:54 tty1
crw------- 1 root root 136, 9 2010-07-31 02:54 tty2
crw------- 1 root root 136, 10 2010-07-31 02:54 tty3
crw--w---- 1 root tty 136, 11 2010-07-31 02:54 tty4
crw-rw-rw- 1 root root 1, 9 2010-02-22 06:57 urandom
crw-rw-rw- 1 root root 1, 5 2010-02-22 06:57 zero
==== on container with upgrade - no lxc-console ====
~# ls -l /dev
total 0
drwxr-xr-x 2 root root 700 2010-07-31 00:32 block
drwxr-xr-x 2 root root 80 2010-07-31 00:32 bsg
drwxr-xr-x 3 root root 60 2010-07-31 00:32 bus
lrwxrwxrwx 1 root root 3 2010-07-31 02:54 cdrom -> sr0
drwxr-xr-x 2 root root 3160 2010-07-31 00:32 char
crw------- 1 root root 5, 1 2010-07-31 02:54 console
lrwxrwxrwx 1 root root 11 2010-07-31 00:32 core -> /proc/kcore
crw-rw---- 1 root root 10, 58 2010-07-31 02:54 cpu_dma_latency
drwxr-xr-x 5 root root 100 2010-07-31 00:32 disk
lrwxrwxrwx 1 root root 3 2010-07-31 02:54 dvd -> sr0
crw-rw---- 1 root root 10, 61 2010-07-31 02:54 ecryptfs
crw-rw---- 1 root video 29, 0 2010-07-31 02:54 fb0
lrwxrwxrwx 1 root root 13 2010-07-31 00:32 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 2010-07-31 02:54 full
crw-rw-rw- 1 root syslog 10, 229 2010-07-31 02:54 fuse
crw-rw---- 1 root root 250, 0 2010-07-31 02:54 hidraw0
crw-rw---- 1 root root 250, 1 2010-07-31 02:54 hidraw1
crw-rw---- 1 root root 250, 2 2010-07-31 02:54 hidraw2
crw-rw---- 1 root root 250, 3 2010-07-31 02:54 hidraw3
crw-rw---- 1 root root 250, 4 2010-07-31 02:54 hidraw4
crw-rw---- 1 root root 10, 228 2010-07-31 02:54 hpet
drwxr-xr-x 4 root root 320 2010-07-31 00:32 input
crw-rw---- 1 root root 1, 11 2010-07-31 02:54 kmsg
srw-rw-rw- 1 root root 0 2010-07-31 02:54 log
brw-rw---- 1 root disk 7, 0 2010-07-31 02:54 loop0
brw-rw---- 1 root disk 7, 1 2010-07-31 02:54 loop1
brw-rw---- 1 root disk 7, 2 2010-07-31 02:54 loop2
brw-rw---- 1 root disk 7, 3 2010-07-31 02:54 loop3
brw-rw---- 1 root disk 7, 4 2010-07-31 02:54 loop4
brw-rw---- 1 root disk 7, 5 2010-07-31 02:54 loop5
brw-rw---- 1 root disk 7, 6 2010-07-31 02:54 loop6
brw-rw---- 1 root disk 7, 7 2010-07-31 02:54 loop7
drwxr-xr-x 2 root root 60 2010-07-31 00:32 mapper
crw-rw---- 1 root root 10, 227 2010-07-31 02:54 mcelog
crw-r----- 1 root kmem 1, 1 2010-07-31 02:54 mem
drwxr-xr-x 2 root root 60 2010-07-31 00:42 net
crw-rw---- 1 root root 10, 57 2010-07-31 02:54 network_latency
crw-rw---- 1 root root 10, 56 2010-07-31 02:54 network_throughput
crw-rw-rw- 1 root root 1, 3 2010-07-31 02:54 null
crw-rw---- 1 root root 1, 12 2010-07-31 02:54 oldmem
drwxr-xr-x 2 root root 60 2010-07-31 00:32 pktcdvd
crw-r----- 1 root kmem 1, 4 2010-07-31 02:54 port
crw------- 1 root root 108, 0 2010-07-31 02:54 ppp
crw-rw---- 1 root root 10, 1 2010-07-31 02:54 psaux
crw-rw-rw- 1 root tty 5, 2 2010-07-31 02:57 ptmx
drwxr-xr-x 2 root root 0 2010-04-19 09:30 pts
brw-rw---- 1 root disk 1, 0 2010-07-31 02:54 ram0
brw-rw---- 1 root disk 1, 1 2010-07-31 02:54 ram1
brw-rw---- 1 root disk 1, 10 2010-07-31 02:54 ram10
brw-rw---- 1 root disk 1, 11 2010-07-31 02:54 ram11
brw-rw---- 1 root disk 1, 12 2010-07-31 02:54 ram12
brw-rw---- 1 root disk 1, 13 2010-07-31 02:54 ram13
brw-rw---- 1 root disk 1, 14 2010-07-31 02:54 ram14
brw-rw---- 1 root disk 1, 15 2010-07-31 02:54 ram15
brw-rw---- 1 root disk 1, 2 2010-07-31 02:54 ram2
brw-rw---- 1 root disk 1, 3 2010-07-31 02:54 ram3
brw-rw---- 1 root disk 1, 4 2010-07-31 02:54 ram4
brw-rw---- 1 root disk 1, 5 2010-07-31 02:54 ram5
brw-rw---- 1 root disk 1, 6 2010-07-31 02:54 ram6
brw-rw---- 1 root disk 1, 7 2010-07-31 02:54 ram7
brw-rw---- 1 root disk 1, 8 2010-07-31 02:54 ram8
brw-rw---- 1 root disk 1, 9 2010-07-31 02:54 ram9
crw-rw-rw- 1 root root 1, 8 2010-07-31 02:54 random
crw-r--r-- 1 root root 10, 62 2010-07-31 02:54 rfkill
lrwxrwxrwx 1 root root 4 2010-07-31 02:54 root -> sda6
lrwxrwxrwx 1 root root 4 2010-07-31 02:54 rtc -> rtc0
crw-rw---- 1 root root 254, 0 2010-07-31 02:54 rtc0
lrwxrwxrwx 1 root root 3 2010-07-31 02:54 scd0 -> sr0
brw-rw---- 1 root disk 8, 0 2010-07-31 02:54 sda
brw-rw---- 1 root disk 8, 1 2010-07-31 02:54 sda1
brw-rw---- 1 root disk 8, 2 2010-07-31 02:54 sda2
brw-rw---- 1 root disk 8, 3 2010-07-31 02:54 sda3
brw-rw---- 1 root disk 8, 4 2010-07-31 02:54 sda4
brw-rw---- 1 root disk 8, 5 2010-07-31 02:54 sda5
brw-rw---- 1 root disk 8, 6 2010-07-31 02:54 sda6
brw-rw---- 1 root disk 8, 7 2010-07-31 02:54 sda7
crw-rw---- 1 root cdrom 21, 0 2010-07-31 02:54 sg0
crw-rw---- 1 root disk 21, 1 2010-07-31 02:54 sg1
drwxrwxrwt 2 root root 40 2010-07-31 02:54 shm
crw-rw---- 1 root root 10, 231 2010-07-31 02:54 snapshot
lrwxrwxrwx 1 root root 24 2010-07-31 00:32 sndstat ->
/proc/asound/oss/sndstat
brw-rw---- 1 root cdrom 11, 0 2010-07-31 02:54 sr0
lrwxrwxrwx 1 root root 15 2010-07-31 00:32 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 2010-07-31 00:32 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 2010-07-31 00:32 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty 5, 0 2010-07-31 02:55 tty
crw--w---- 1 root tty 4, 0 2010-07-31 02:54 tty0
crw--w---- 1 root tty 4, 1 2010-07-31 02:54 tty1
crw--w---- 1 root tty 4, 10 2010-07-31 02:54 tty10
crw--w---- 1 root tty 4, 11 2010-07-31 02:54 tty11
crw--w---- 1 root tty 4, 12 2010-07-31 02:54 tty12
crw--w---- 1 root tty 4, 13 2010-07-31 02:54 tty13
crw--w---- 1 root tty 4, 14 2010-07-31 02:54 tty14
crw--w---- 1 root tty 4, 15 2010-07-31 02:54 tty15
crw--w---- 1 root tty 4, 16 2010-07-31 02:54 tty16
crw--w---- 1 root tty 4, 17 2010-07-31 02:54 tty17
crw--w---- 1 root tty 4, 18 2010-07-31 02:54 tty18
crw--w---- 1 root tty 4, 19 2010-07-31 02:54 tty19
crw--w---- 1 root tty 4, 2 2010-07-31 02:54 tty2
crw--w---- 1 root tty 4, 20 2010-07-31 02:54 tty20
crw--w---- 1 root tty 4, 21 2010-07-31 02:54 tty21
crw--w---- 1 root tty 4, 22 2010-07-31 02:54 tty22
crw--w---- 1 root tty 4, 23 2010-07-31 02:54 tty23
crw--w---- 1 root tty 4, 24 2010-07-31 02:54 tty24
crw--w---- 1 root tty 4, 25 2010-07-31 02:54 tty25
crw--w---- 1 root tty 4, 26 2010-07-31 02:54 tty26
crw--w---- 1 root tty 4, 27 2010-07-31 02:54 tty27
crw--w---- 1 root tty 4, 28 2010-07-31 02:54 tty28
crw--w---- 1 root tty 4, 29 2010-07-31 02:54 tty29
crw--w---- 1 root tty 4, 3 2010-07-31 02:54 tty3
crw--w---- 1 root tty 4, 30 2010-07-31 02:54 tty30
crw--w---- 1 root tty 4, 31 2010-07-31 02:54 tty31
crw--w---- 1 root tty 4, 32 2010-07-31 02:54 tty32
crw--w---- 1 root tty 4, 33 2010-07-31 02:54 tty33
crw--w---- 1 root tty 4, 34 2010-07-31 02:54 tty34
crw--w---- 1 root tty 4, 35 2010-07-31 02:54 tty35
crw--w---- 1 root tty 4, 36 2010-07-31 02:54 tty36
crw--w---- 1 root tty 4, 37 2010-07-31 02:54 tty37
crw--w---- 1 root tty 4, 38 2010-07-31 02:54 tty38
crw--w---- 1 root tty 4, 39 2010-07-31 02:54 tty39
crw--w---- 1 root tty 4, 4 2010-07-31 02:54 tty4
crw--w---- 1 root tty 4, 40 2010-07-31 02:54 tty40
crw--w---- 1 root tty 4, 41 2010-07-31 02:54 tty41
crw--w---- 1 root tty 4, 42 2010-07-31 02:54 tty42
crw--w---- 1 root tty 4, 43 2010-07-31 02:54 tty43
crw--w---- 1 root tty 4, 44 2010-07-31 02:54 tty44
crw--w---- 1 root tty 4, 45 2010-07-31 02:54 tty45
crw--w---- 1 root tty 4, 46 2010-07-31 02:54 tty46
crw--w---- 1 root tty 4, 47 2010-07-31 02:54 tty47
crw--w---- 1 root tty 4, 48 2010-07-31 02:54 tty48
crw--w---- 1 root tty 4, 49 2010-07-31 02:54 tty49
crw--w---- 1 root tty 4, 5 2010-07-31 02:54 tty5
crw--w---- 1 root tty 4, 50 2010-07-31 02:54 tty50
crw--w---- 1 root tty 4, 51 2010-07-31 02:54 tty51
crw--w---- 1 root tty 4, 52 2010-07-31 02:54 tty52
crw--w---- 1 root tty 4, 53 2010-07-31 02:54 tty53
crw--w---- 1 root tty 4, 54 2010-07-31 02:54 tty54
crw--w---- 1 root tty 4, 55 2010-07-31 02:54 tty55
crw--w---- 1 root tty 4, 56 2010-07-31 02:54 tty56
crw--w---- 1 root tty 4, 57 2010-07-31 02:54 tty57
crw--w---- 1 root tty 4, 58 2010-07-31 02:54 tty58
crw--w---- 1 root tty 4, 59 2010-07-31 02:54 tty59
crw--w---- 1 root tty 4, 6 2010-07-31 02:54 tty6
crw--w---- 1 root tty 4, 60 2010-07-31 02:54 tty60
crw--w---- 1 root tty 4, 61 2010-07-31 02:54 tty61
crw--w---- 1 root tty 4, 62 2010-07-31 02:54 tty62
crw--w---- 1 root tty 4, 63 2010-07-31 02:54 tty63
crw--w---- 1 root tty 4, 7 2010-07-31 02:54 tty7
crw--w---- 1 root tty 4, 8 2010-07-31 02:54 tty8
crw--w---- 1 root tty 4, 9 2010-07-31 02:54 tty9
crw-rw---- 1 root dialout 4, 64 2010-07-31 02:54 ttyS0
crw-rw---- 1 root dialout 4, 65 2010-07-31 02:54 ttyS1
crw-rw---- 1 root dialout 4, 66 2010-07-31 02:54 ttyS2
crw-rw---- 1 root dialout 4, 67 2010-07-31 02:54 ttyS3
crw-rw-rw- 1 root root 1, 9 2010-07-31 02:54 urandom
drwxr-xr-x 2 root root 60 2010-07-31 00:32 usb
crw-rw---- 1 root root 252, 0 2010-07-31 02:54 usbmon0
crw-rw---- 1 root root 252, 1 2010-07-31 02:54 usbmon1
crw-rw---- 1 root root 252, 2 2010-07-31 02:54 usbmon2
crw-rw---- 1 root root 252, 3 2010-07-31 02:54 usbmon3
crw-rw---- 1 root root 252, 4 2010-07-31 02:54 usbmon4
crw-rw---- 1 root root 252, 5 2010-07-31 02:54 usbmon5
crw-rw---- 1 root root 252, 6 2010-07-31 02:54 usbmon6
crw-rw---- 1 root root 252, 7 2010-07-31 02:54 usbmon7
crw-rw---- 1 root root 252, 8 2010-07-31 02:54 usbmon8
crw-rw---- 1 root tty 7, 0 2010-07-31 02:54 vcs
crw-rw---- 1 root tty 7, 1 2010-07-31 02:54 vcs1
crw-rw---- 1 root tty 7, 2 2010-07-31 02:54 vcs2
crw-rw---- 1 root tty 7, 3 2010-07-31 02:54 vcs3
crw-rw---- 1 root tty 7, 4 2010-07-31 02:54 vcs4
crw-rw---- 1 root tty 7, 5 2010-07-31 02:54 vcs5
crw-rw---- 1 root tty 7, 6 2010-07-31 02:54 vcs6
crw-rw---- 1 root tty 7, 7 2010-07-31 02:54 vcs7
crw-rw---- 1 root tty 7, 128 2010-07-31 02:54 vcsa
crw-rw---- 1 root tty 7, 129 2010-07-31 02:54 vcsa1
crw-rw---- 1 root tty 7, 130 2010-07-31 02:54 vcsa2
crw-rw---- 1 root tty 7, 131 2010-07-31 02:54 vcsa3
crw-rw---- 1 root tty 7, 132 2010-07-31 02:54 vcsa4
crw-rw---- 1 root tty 7, 133 2010-07-31 02:54 vcsa5
crw-rw---- 1 root tty 7, 134 2010-07-31 02:54 vcsa6
crw-rw---- 1 root tty 7, 135 2010-07-31 02:54 vcsa7
crw-rw---- 1 root root 10, 63 2010-07-31 02:54 vga_arbiter
crw-rw-rw- 1 root root 1, 5 2010-07-31 02:54 zero
===========================================
2010/7/30 Serge E. Hallyn <serge.hallyn at canonical.com>:
> Quoting Osvaldo Filho (arquivostcf at gmail.com):
>> root at srvltsp01:/home/lxc/lucid64# lxc-start -n lucid64
>> init: lxc pre-start process (2) terminated with status 32
>
> strace -f -ooutout lxc-start -n lucid64
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: outout
Type: application/octet-stream
Size: 76941 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20100731/7d214f5a/attachment.obj>
More information about the lxc-users
mailing list