ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] lxc Ошибка сегментирования
@ 2018-12-10  9:17 Максим Васюк
  2018-12-10 10:09 ` Максим Васюк
  0 siblings, 1 reply; 2+ messages in thread
From: Максим Васюк @ 2018-12-10  9:17 UTC (permalink / raw)
  To: sysadmins

Привет, Всем!

p8
# uname -r
4.14.80-un-def-alt0.M80P.1
Проблема воспроизводится также и на std-def

# lxc-start -n test_01
# lxc-ls -f
Ошибка сегментирования

# lxc-info -n test_01
Ошибка сегментирования

# lxc-stop -n test_01
Ошибка сегментирования

# tail /var/log/messages 
...
Dec 10 16:00:50 sh03 kernel: [  389.271645] lxc-ls[2760]: segfault at 0 ip 00007fee430733a6 sp 00007fff446988c8 error 4 in libc-2.23.so[7fee42ff5000+199000]
Dec 10 16:06:05 sh03 kernel: [  704.537843] lxc-info[2773]: segfault at 0 ip 00007ff5562443a6 sp 00007ffde227dc78 error 4 in libc-2.23.so[7ff5561c6000+199000]
Dec 10 16:06:49 sh03 kernel: [  748.340195] lxc-stop[2774]: segfault at 0 ip 00007fa052de13a6 sp 00007ffd6c0dcbc8 error 4 in libc-2.23.so[7fa052d63000+199000]

# ps xa | grep lxc
 2728 ?        Ss     0:00 /usr/lib/lxc/lxc-monitord /var/lib/lxc 5
 2730 ?        Ss     0:00 [lxc monitor] /var/lib/lxc test_01
 2748 ?        S      0:00 [lxc monitor] /var/lib/lxc test_01

Контейнер создавал вот так:
# lxc-create -t lxc-altlinux -n test_01

Всё штатно. Создал только мост через openvswtch заранее.

# cat /var/lib/lxc/test_01/config | grep -v '#'

lxc.network.type = veth
lxc.network.link = br_rpm_pub
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:c0:68:29
lxc.rootfs = /var/lib/lxc/test_01/rootfs
lxc.rootfs.backend = dir
lxc.utsname = test_01
lxc.tty = 4
lxc.pts = 1024
lxc.cap.drop = sys_module mac_admin mac_override sys_time

lxc.cgroup.devices.deny = a
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
lxc.cgroup.devices.allow = c 5:1 rwm
lxc.cgroup.devices.allow = c 5:0 rwm
lxc.cgroup.devices.allow = c 4:0 rwm
lxc.cgroup.devices.allow = c 4:1 rwm
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 1:8 rwm
lxc.cgroup.devices.allow = c 136:* rwm
lxc.cgroup.devices.allow = c 5:2 rwm
lxc.cgroup.devices.allow = c 10:135 rwm

lxc.mount.auto = cgroup:mixed proc:mixed sys:mixed


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-10 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-10  9:17 [Sysadmins] lxc Ошибка сегментирования Максим Васюк
2018-12-10 10:09 ` Максим Васюк

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git