[lxc-users] Error installing lxcfs > rc8

Serge Hallyn serge.hallyn at ubuntu.com
Mon Apr 18 14:34:05 UTC 2016


Ok, is this still happening?  I should be able to reproduce this
on any system which has unmounted lvs?  Does it happen if you
do the upgrade when not logged into the desktop?  (I.e. logged
in on console or over ssh)

Quoting Antonio Tovar (antovar at gmail.com):
> The version installed is:
> 
> 2.0.0~rc8-0ubuntu1~ubuntu15.10.1~ppa1    amd64
> 
> it's trying to upgrade to:
> 
> 2.0.0-0ubuntu2~ubuntu15.10.1~ppa1
> 
> I installed lxd following the the instructions of this page:
> 
> https://linuxcontainers.org/lxd/getting-started-cli
> 
> so I did:
> 
> add-apt-repository ppa:ubuntu-lxc/lxd-stable
> 
> This is the content of /var/log/apt/term.log:
> 
> Log started: 2016-04-07  22:29:35
> (Reading database ... 348848 files and directories currently installed.)
> Preparing to unpack
> .../lxc1_2.0.0~rc15-0ubuntu1~ubuntu15.10.1~ppa1_amd64.deb ...
> Unpacking lxc1 (2.0.0~rc15-0ubuntu1~ubuntu15.10.1~ppa1) over
> (2.0.0~rc12-0ubuntu1~ubuntu15.10.1~ppa1) ...
> Preparing to unpack
> .../python3-lxc_2.0.0~rc15-0ubuntu1~ubuntu15.10.1~ppa1_amd64.deb ...
> Unpacking python3-lxc (2.0.0~rc15-0ubuntu1~ubuntu15.10.1~ppa1) over
> (2.0.0~rc12-0ubuntu1~ubuntu15.10.1~ppa1) ...
> Preparing to unpack
> .../liblxc1_2.0.0~rc15-0ubuntu1~ubuntu15.10.1~ppa1_amd64.deb ...
> Unpacking liblxc1 (2.0.0~rc15-0ubuntu1~ubuntu15.10.1~ppa1) over
> (2.0.0~rc12-0ubuntu1~ubuntu15.10.1~ppa1) ...
> Preparing to unpack
> .../lxc-common_2.0.0~rc15-0ubuntu1~ubuntu15.10.1~ppa1_amd64.deb ...
> Unpacking lxc-common (2.0.0~rc15-0ubuntu1~ubuntu15.10.1~ppa1) over
> (2.0.0~rc12-0ubuntu1~ubuntu15.10.1~ppa1) ...
> Preparing to unpack .../lxcfs_2.0.0-0ubuntu2~ubuntu15.10.1~ppa1_amd64.deb
> ...
> Unpacking lxcfs (2.0.0-0ubuntu2~ubuntu15.10.1~ppa1) over
> (2.0.0~rc8-0ubuntu1~ubuntu15.10.1~ppa1) ...
> Preparing to unpack .../lxd_2.0.0~rc9-0ubuntu2~ubuntu15.10.1~ppa1_amd64.deb
> ...
> Unpacking lxd (2.0.0~rc9-0ubuntu2~ubuntu15.10.1~ppa1) over
> (2.0.0~rc5-0ubuntu1~ubuntu15.10.1~ppa1) ...
> Preparing to unpack
> .../libpam-cgfs_2.0.0-0ubuntu2~ubuntu15.10.1~ppa1_amd64.deb ...
> Unpacking libpam-cgfs (2.0.0-0ubuntu2~ubuntu15.10.1~ppa1) over
> (2.0.0~rc8-0ubuntu1~ubuntu15.10.1~ppa1) ...
> Preparing to unpack
> .../lxc-templates_2.0.0~rc15-0ubuntu1~ubuntu15.10.1~ppa1_amd64.deb ...
> Unpacking lxc-templates (2.0.0~rc15-0ubuntu1~ubuntu15.10.1~ppa1) over
> (2.0.0~rc12-0ubuntu1~ubuntu15.10.1~ppa1) ...
> Preparing to unpack
> .../lxd-client_2.0.0~rc9-0ubuntu2~ubuntu15.10.1~ppa1_amd64.deb ...
> Unpacking lxd-client (2.0.0~rc9-0ubuntu2~ubuntu15.10.1~ppa1) over
> (2.0.0~rc5-0ubuntu1~ubuntu15.10.1~ppa1) ...
> Preparing to unpack
> .../lxd-tools_2.0.0~rc9-0ubuntu2~ubuntu15.10.1~ppa1_amd64.deb ...
> Unpacking lxd-tools (2.0.0~rc9-0ubuntu2~ubuntu15.10.1~ppa1) over
> (2.0.0~rc5-0ubuntu1~ubuntu15.10.1~ppa1) ...
> Preparing to unpack .../lxc_2.0.0~rc15-0ubuntu1~ubuntu15.10.1~ppa1_all.deb
> ...
> Unpacking lxc (2.0.0~rc15-0ubuntu1~ubuntu15.10.1~ppa1) over
> (2.0.0~rc12-0ubuntu1~ubuntu15.10.1~ppa1) ...
> Processing triggers for ureadahead (0.100.0-19) ...
> ureadahead will be reprofiled on next reboot
> Processing triggers for man-db (2.7.4-1) ...
> Processing triggers for systemd (225-1ubuntu9.1) ...
> Setting up lxcfs (2.0.0-0ubuntu2~ubuntu15.10.1~ppa1) ...
> 
> lxc is installed also because I was using lxc until I heard of lxd.
> 
> 
> As I said, it was the same when trying to upgrade to rc9 version.
> 
> 
> Thanks.
> 
> ---------- Mensaje reenviado ----------
> > From: Serge Hallyn <serge.hallyn at ubuntu.com>
> > To: LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
> > Cc:
> > Date: Wed, 6 Apr 2016 23:24:35 +0000
> > Subject: Re: [lxc-users] Error installing lxcfs > rc8
> > Quoting Antonio Tovar (antovar at gmail.com):
> > > Hello,
> > >
> > > I have problems upgrading from lxcfs RC8 to RC9 or v2.
> > >
> > > When upgrading, the installer shows the message:
> > >
> > > Setting up lxcfs (...~ppa1) ...
> > >
> > > and then every filesystem is mounted and the installer freezes.
> > >
> > > I have three fs's which usually are not mounted, so three Thunar windows
> > > appear suddenly.
> > >
> > > Last time, I had an usb memory plugged and it was mounted too.
> > >
> > > In syslog I see lines about mounting all the fs's, but there are also
> > these
> > > lines:
> >
> > Can you please show precisely which package version you are
> > installing (and form which ppa), and show the contents of
> > /var/log/apt/term.log ?
> >
> > > Apr  1 15:18:55 pc1 systemd-udevd[371]: seq 3564
> > > '/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4
> > > :0:0:0/block/sdc/sdc1' is taking a long time
> > > Apr  1 15:18:55 pc1 systemd[1]: systemd-udevd.service: Got notification
> > > message from PID 371, but reception
> > >  only permitted for main PID 5447
> > > Apr  1 15:20:15 pc1 systemd[1]: message repeated 2 times: [
> > > systemd-udevd.service: Got notification message
> > >  from PID 371, but reception only permitted for main PID 5447]
> > > Apr  1 15:20:54 pc1 systemd-udevd[5447]: seq 3564
> > > '/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/
> > > 4:0:0:0/block/sdc/sdc1' killed
> > >
> > > The problem is that /dev/sdc1 is the boot/root partition. It is an LVM
> > > volume from which linux booted, so it is already mounted but It's like if
> > > the installer can't see it mounted.
> > >
> > > Then, If I execute "sudo lvs" the command does not return, it freezes. So
> > > the installer is somehow blocking the partition.
> > >
> > > I have a snapshot of the root filesystem too, I don't know if that is a
> > > problem, because grub also get confused and try to insert an option to
> > boot
> > > from that snapshot.
> > >
> > > Of course, I always restore the snapshot after every failed upgrade.
> > >
> > > The system es Xubuntu 15.10
> > >

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list