From: "Максим Васюк" <vasukma@yandex.ru>
To: sysadmins@lists.altlinux.org
Subject: [Sysadmins] lxc Ошибка сегментирования
Date: Mon, 10 Dec 2018 17:17:56 +0800
Message-ID: <14035111544433476@sas2-2074c606c35d.qloud-c.yandex.net> (raw)
Привет, Всем!
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
next reply other threads:[~2018-12-10 9:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-10 9:17 Максим Васюк [this message]
2018-12-10 10:09 ` Максим Васюк
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14035111544433476@sas2-2074c606c35d.qloud-c.yandex.net \
--to=vasukma@yandex.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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