Quoting Thierry (mys...@cynetek.com):
> Le 05/11/2012 23:36, Serge Hallyn a écrit :
> > Quoting Thierry (mys...@cynetek.com):
> >> Le 05/11/2012 22:25, Serge Hallyn a écrit :
> >>> Quoting Thierry (mys...@cynetek.com):
> >>>>       lxc-start 1352149909.205 DEBUG    lxc_conf - trying to mount 
> >>>> '/dev/vg1/debian-dev'->'/usr/lib/lxc/rootfs' with fstype '# 
> >>>> /etc/filesystems'
> >>>>       lxc-start 1352149909.205 DEBUG    lxc_conf - mount failed with 
> >>>> error: No such device
> >>> (And a bunch more)  Does /dev/vg1/debian-dev exist on the host?
> >>>
> >>> -serge
> >>>
> >> yes. This device /dev/vg1/debian-dev is idem for config working and
> >> config not working.
> > Heh, sorry, I see :)  Bogus fstype.  I'm shuttling between too many things.
> >
> > Anyway I'm guessing the answer is in the kernel-hardened patches.  Can you
> > find anything in the audit logs?
> 
> Hello,
> 
> I'm testing with gentoo-sources kernel ( not patching with grsecurity)
> and lxc-console not working.
> 
> tigra linux # zcat /proc/config.gz |grep -i 3.6.2
> # Linux/x86_64 3.6.2-gentoo Kernel Configuration
> 
> tigra ~ # lxc-console -n debian-dev
> 
> Type <Ctrl+a q> to exit the console
> 
> Not prompt for logging.
> 
> >
> > When you log in over ssh (when using devices.deny = a), what does
> > 'ls -l /dev/tty?
> root@debian-dev:~# ls -l /dev/tty*
> crw-rw-rw- 1 root root 5, 0 Nov  1 16:41 /dev/tty
> crw-rw-rw- 1 root root 4, 0 Nov  6 17:47 /dev/tty0
> crw--w---- 1 root tty  3, 1 Nov  6 15:28 /dev/tty1
> crw--w---- 1 root tty  3, 2 Nov  6 15:28 /dev/tty2
> crw--w---- 1 root tty  3, 3 Nov  6 15:28 /dev/tty3
> crw--w---- 1 root tty  3, 4 Nov  6 15:28 /dev/tty4
> 
> >  /dev/console' show? 
> 
> root@debian-dev:~# ls -l /dev/console
> crw------- 1 root tty 3, 5 Nov  6 15:28 /dev/console

That's wrong.  What do they look like in the good case?

is devtmpfs mounted in the container?

I don't know why /dev/ttyN would NOT be overmounted in this
case.

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to