Displaying 20 results from an estimated 23 matches for "oldroot".
2013 Sep 06
3
Re: Problems with user namespaces
...flineh users ] busybox
└── [offlineh users ] busybox-static_1.17.1-8_amd64.deb
It works just fine as root and these folders gets created:
busybox
├── [offlineh users ] busybox
├── [offlineh users ] busybox-static_1.17.1-8_amd64.deb
├── [root root ] dev
├── [root root ] .oldroot
├── [root root ] proc
└── [root root ] sys
When i start it with idmap with clean rootfs(dev proc sys and .oldroot
deleted) i get this error, and it is a little bit different now:
error: Failed to create domain from helloworld.xml
error: internal error: guest failed to start: 2013-...
2013 Sep 09
2
Re: Problems with user namespaces
...7.1-8_amd64.deb
> >
> > It works just fine as root and these folders gets created:
> > busybox
> > ├── [offlineh users ] busybox
> > ├── [offlineh users ] busybox-static_1.17.1-8_amd64.deb
> > ├── [root root ] dev
> > ├── [root root ] .oldroot
> > ├── [root root ] proc
> > └── [root root ] sys
> >
> > When i start it with idmap with clean rootfs(dev proc sys and .oldroot
> deleted) i get this error, and it is a little bit different now:
> > error: Failed to create domain from helloworld.x...
2013 Jul 09
2
[PATCH 2/2] LXC: hostdev: parent directroy for hostdev atomically
...lock;
- if (def->source.caps.u.storage.block == NULL) {
+ if (dev == NULL) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
_("Missing storage host block path"));
goto cleanup;
}
- if (virAsprintf(&src, "/.oldroot/%s", def->source.caps.u.storage.block) < 0) {
+ if (virAsprintf(&src, "/.oldroot/%s", dev) < 0) {
virReportOOMError();
goto cleanup;
}
@@ -1591,19 +1592,25 @@ static int lxcContainerSetupHostdevCapsStorage(virDomainDefPtr vmDef ATTRIBUTE_U...
2011 Dec 08
1
read-only rootfs for lxc containers
...nternal error guest failed to start: PATH=/bin:/sbin TERM=linux
LIBVIRT_LXC_UUID=38320e75-1ba0-d85a-6138-532a3a66f13d
LIBVIRT_LXC_NAME=hw /bin/bash
2011-12-08 15:31:41.945: 1: info : libvirt version: 0.9.7
2011-12-08 15:31:41.945: 1: error : lxcContainerPivotRoot:345 : Failed
to create /mnt/vmroot/.oldroot: Read-only file system
2011-12-08 15:31:41.945: 2666: info : libvirt version: 0.9.7
2011-12-08 15:31:41.945: 2666: error : lxcControllerRun:1210 : error
receiving signal from container: Input/output error
XML: http://pastebin.com/Q0p5irBH
Cheers,
-C-
2013 Sep 09
0
Re: Problems with user namespaces
...ineh users ] busybox-static_1.17.1-8_amd64.deb
>
> It works just fine as root and these folders gets created:
> busybox
> ├── [offlineh users ] busybox
> ├── [offlineh users ] busybox-static_1.17.1-8_amd64.deb
> ├── [root root ] dev
> ├── [root root ] .oldroot
> ├── [root root ] proc
> └── [root root ] sys
>
> When i start it with idmap with clean rootfs(dev proc sys and .oldroot deleted) i get this error, and it is a little bit different now:
> error: Failed to create domain from helloworld.xml
> error: internal error...
2013 Sep 09
0
Re: Problems with user namespaces
...;
>> > It works just fine as root and these folders gets created:
>> > busybox
>> > ├── [offlineh users ] busybox
>> > ├── [offlineh users ] busybox-static_1.17.1-8_amd64.deb
>> > ├── [root root ] dev
>> > ├── [root root ] .oldroot
>> > ├── [root root ] proc
>> > └── [root root ] sys
>> >
>> > When i start it with idmap with clean rootfs(dev proc sys and .oldroot
>> deleted) i get this error, and it is a little bit different now:
>> > error: Failed to create...
2013 Sep 05
2
Problems with user namespaces
...priv=0x7fc8a60e91f0 conn=(nil)
sep 05 19:08:52 laptop libvirtd[1542]: name=lxc:///
sep 05 19:08:57 laptop libvirtd[1542]: Cannot recv data: Connection reset
by peer
sep 05 19:08:58 laptop libvirtd[1542]: internal error: guest failed to
start: 2013-09-05 19:08:57.781+0000: 19036: debug
Looks like .oldroot, dev, proc and sys gets created with mapped
permissions(499:100), but container fails to start.
Any help or direction how to get this working would be appriciated,
Thanks, Jaka Hudoklin!
2013 May 14
1
Unable to start LXC on Gentoo w/ libvirt 1.0.4 or 1.0.5. 1.0.3 works
...erfaces are not bridged to
any physical NIC. They exist only inside my host's kernel. I have
extensive iptables rules to filter traffic between my network segments
(physical + virtual).
TL;DR: this was burried in a log file: " error :
lxcContainerMountFSDevPTS:808 : Failed to mount
/.oldroot//var/run/libvirt/lxc/dwj-lnx-dev.devpts on /dev/pts: No such file
or directory". But that directory DOES exist in the container:
ostara ~ # ls -ld /vm/lxc/dwj-lnx-dev/dev/pts/
drwxr-xr-x 2 root root 4096 Apr 27 2011 /vm/lxc/dwj-lnx-dev/dev/pts/
If I revert to libvirt-1.0.3-r2, I can bo...
2018 Mar 28
1
virt-install --connect lxc:///
...LXC
otherwise, please restart your installation.
root@blade1:~# ls -al /home/lxcuser/LXC
total 24
drwxr-xr-x 6 root root 4096 Mar 28 16:09 .
drwxr-xr-x+ 7 lxcuser lxcuser 4096 Mar 28 13:20 ..
drwxr-xr-x 2 root root 4096 Mar 28 16:09 dev
drwxr-xr-x 2 root root 4096 Mar 28 16:09 .oldroot
drwxr-xr-x 2 root root 4096 Mar 28 16:09 proc
drwxr-xr-x 2 root root 4096 Mar 28 16:09 sys
2013 Jul 08
4
Re: Permission problem with /dev/net/tun
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Daniel,
On 07/08/2013 11:41 AM, Daniel P. Berrange wrote:
>> the symptom my libvirt LXC container suffers from is:
>> root@depot:/dev/net# ls -la total 0 drwxr-xr-x 2 root root 40
>> Jun 29 16:26 . drwxr-xr-x 5 root root 480 Jun 29 16:26 ..
>> root@depot:/dev/net# mknod tun c 10 200 mknod: `tun': Operation
>>
2018 Apr 10
0
unprivileged container has wrong owners inside in /proc/ and /sys
...65535 6 Nov 5 2016 home
lrwxrwxrwx 1 65535 65535 7 Mar 2 2017 lib -> usr/lib
lrwxrwxrwx 1 65535 65535 9 Mar 2 2017 lib64 -> usr/lib64
drwxr-xr-x 2 65535 65535 6 Nov 5 2016 media
drwxr-xr-x 2 65535 65535 6 Nov 5 2016 mnt
drwxr-xr-x 2 65535 65535 6 Apr 9 18:55 .oldroot
drwxr-xr-x 3 65535 65535 24 Mar 2 2017 opt
dr-xr-xr-x 2 65535 65535 6 Nov 5 2016 proc
dr-xr-x--- 4 65535 65535 172 Apr 9 18:57 root
drwxr-xr-x 13 65535 65535 178 Mar 30 18:03 run
lrwxrwxrwx 1 65535 65535 8 Mar 2 2017 sbin -> usr/sbin
drwxr-xr-x 2 65535 65535 21 Mar 30 18:...
2018 Mar 28
0
virt-install --connect lxc:///
...ystem \ /home/lxcuser/LXC,/ --init /bin/sh
WARNING No operating system detected, VM performance may suffer. Specify an OS with --os-variant for optimal results.
Starting install...
ERROR internal error: guest failed to start: Failure in libvirt_lxc startup: Failed to create /home/lxcuser/LXC/.oldroot: Invalid argument
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect lxc:/// start test_LXC
otherwise, please restart your installation.
What is wrong with this?
2011 Mar 11
1
run-init in tmpfs
...trying to boot a full linux system from ram.
Therefore I provide a kernel and initrd from a tftp server.
The full rootfs is provided through a nfs-server and is at time a
cpio-archive. That archive shall be copied to the local client and
mounted in a tmpfs partition. After that, I want replace the oldroot bei
the root within the tmpfs partition.
Therefore I do the following:
The PXE client boots the kernel (2.6.38-rc6) successfully and a shell
within the initrd is spawned in the "early user space".
After that I type the following:
ifconfig eth0 ip-address
mkdir /mnt
mkdir /newroot
mount...
2012 Oct 24
0
Failed to query file context on : No data available
...-> boot/initrd.img-3.0.0-12-virtual
drwxr-xr-x 4 root root 4096 Oct 24 20:43 lib
lrwxrwxrwx 1 root root 11 Oct 24 20:43 linuxrc -> bin/busybox
drwx------ 2 root root 4096 Oct 24 20:43 lost+found
drwxr-xr-x 2 root root 4096 Oct 24 20:43 mnt
drwxr-xr-x 2 root root 4096 Oct 24 20:43 .oldroot
drwxr-xr-x 2 root root 4096 Oct 24 20:43 old-root
drwxr-xr-x 2 root root 4096 Oct 24 20:43 opt
drwxr-xr-x 2 root root 4096 Oct 24 20:43 proc
drwx------ 2 root root 4096 Oct 24 20:43 root
drwxr-xr-x 2 root root 4096 Oct 24 20:43 run
drwxr-xr-x 2 root root 4096 Oct 24 20:43 sbin
drwxr-xr-...
2013 Feb 08
1
libvirt v1.0.2 fails to boot LXC container, but v1.0.0 works
...container_uuid=fbcd8c3a-9939-12b4-727d-5d3526bc448f
LIBVIRT_LXC_UUID=fbcd8c3a-9939-12b4-727d-5d3526bc448f
LIBVIRT_LXC_NAME=dwj-lnx-dev /sbin/init
2013-02-08 18:09:28.402+0000: 1: info : libvirt version: 1.0.2
2013-02-08 18:09:28.402+0000: 1: error : lxcContainerMountProcFuse:616
: Failed to mount /.oldroot//var/run/libvirt/lxc/dwj-lnx-dev/meminfo
on /proc/meminfo: No such file or directory
2013-02-08 18:09:28.402+0000: 23867: info : libvirt version: 1.0.2
2013-02-08 18:09:28.402+0000: 23867: error : virLXCControllerRun:1468
: error receiving signal from container: Input/output error
2013-02-08 18:09:...
2013 Sep 06
0
Re: Problems with user namespaces
...=(nil)
> sep 05 19:08:52 laptop libvirtd[1542]: name=lxc:///
> sep 05 19:08:57 laptop libvirtd[1542]: Cannot recv data: Connection reset by peer
> sep 05 19:08:58 laptop libvirtd[1542]: internal error: guest failed to start: 2013-09-05 19:08:57.781+0000: 19036: debug
>
> Looks like .oldroot, dev, proc and sys gets created with mapped permissions(499:100), but container fails to start.
>
Please enable debug mode, I need more information.
http://libvirt.org/logging.html
Thansk
2003 Nov 28
1
problems when exec()ing /sbin/init from an initramfs
...boatloads of messages from /sbin/hotplug & udev]
bash-2.05b# mount /udev/xscsi/pci20.01.1-1/target2/lun0/part2 /newroot/
bash-2.05b# umount /sys
bash-2.05b# umount /proc
bash-2.05b# rm -rf /newroot/udev/*
bash-2.05b# cp -a /udev/* /newroot/udev/
bash-2.05b# cd newroot/
bash-2.05b# pivot_root . oldroot
bash-2.05b# exec /usr/sbin/chroot . /sbin/init <dev/console >dev/console 2>&1
INIT: version 2.85 booting
+ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ DAEMON=/sbin/bootlogd
+ NAME=bootlogd
+ DESC=Bootlog daemon
+ PIDFILE=/var/run/bootlogd.pid
+ test -f /sbin/boo...
2004 Jun 14
2
I need help rsyncing Local Disks
Recently I've found out about rsync and wanted to use this to mirror local
disks on one of my servers. I first ran Ghost for Linux to get the exact
clone I was looking for, and now I'm ready to setup rsync to keep my drives
mirrored on a continual basis. Here's my setup:
1 Seagate 4.6GB SCSI on /dev/sda, mounted like this:
/dev/sda1 ==> /boot - 101M
/dev/sda2 ==> swap - 269M
2017 Apr 20
2
understanding --idmap for containers (v2.5.0)
Hello,
I'm testing containers on a host machine without selinux so I'm trying use the idmap feature, but I must be missing something because all that I get is a readonly container for the root user.
# virsh version --daemon
Compiled against library: libvirt 2.5.0
Using library: libvirt 2.5.0
Using API: QEMU 2.5.0
Running hypervisor: QEMU 2.8.1
Running against daemon: 2.5.0
# virsh
2001 Nov 23
3
core dumped messages from tune2fs
...hda4 7482 5925 1176 84% /usr10
/dev/hdb1 6304 2958 3021 50% /usr6
/dev/hdb2 3153 1860 1129 63% /usr
/dev/hdb3 3160 2408 589 81% /usr8
/dev/hdc1 2016 212 1701 12% /oldroot
/dev/hdc2 4032 3542 284 93% /usr5
/dev/hdc3 4032 3464 363 91% /usr2
/dev/hdc4 18771 13193 4625 75% /usr4
tried redoing the one where I got the core dump message
[root@joker /root]# tune2fs -j /dev/hda4
tune2fs 1.25 (...