You are not logged in.

#1 2014-03-10 23:50:26

ant32
Member
Registered: 2013-03-23
Posts: 24

Unable to build packages in a clean chroot after updating Systemd.

I am using a server from http://www.digitalocean.com/ till now to build packages. The backages are being built in a clean chroot. I have started getting the following error. I already tried adding it to kernel options in /boot/syslinux/syslinux.cfg but I don't think it uses that file to boot since they are using there own kernel to boot.

Failed to reset audit login UID. This probably means that your kernel is too
old and you have audit enabled. Note that the auditing subsystem is known to
be incompatible with containers on old kernels. Please make sure to upgrade
your kernel or to off auditing with 'audit=0' on the kernel command line before
using systemd-nspawn. Sleeping for 5s... (Invalid argument)
mknod() for /dev/console failed: Operation not permitted

==> ERROR: Build failed, check /build/chroot/mingw/build

Offline

#2 2014-03-14 12:59:17

xyproto
Package Maintainer (PM)
From: Oslo
Registered: 2011-01-11
Posts: 43
Website

Re: Unable to build packages in a clean chroot after updating Systemd.

Hi,

I get the same error on a linode server.

My guess is that using a different kernel might help. I'll let you know if it solves the problem here.

Offline

#3 2014-03-14 14:27:17

xyproto
Package Maintainer (PM)
From: Oslo
Registered: 2011-01-11
Posts: 43
Website

Re: Unable to build packages in a clean chroot after updating Systemd.

Found a solution for Linode.

I was already using the pv-grub way of booting: https://www.linode.com/wiki/index.php/PV-GRUB

Here's what I did:

1. Installed the linux-linode kernel from AUR
2. Renamed the kernel in /boot and updated /boot/grub/menu.lst as described here: https://library.linode.com/custom-insta … the-kernel
3. Made sure that the only "rootflags" option in menu.list is "nobarrier"
4. Made sure to select the pv-grub kernel in the linode dashboard
5. Rebooted the node

Tah-dah, building packages in a chroot works again (and it's the latest and greatest kernel version).

Offline

#4 2014-03-14 14:35:07

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Unable to build packages in a clean chroot after updating Systemd.

There's a way to load custom kernels on Digital Ocean, using kexec:

https://digitalocean.uservoice.com/foru … bootloader-

You can find instructions for Arch in the comments on the above link.

Offline

#5 2014-03-14 15:50:47

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Unable to build packages in a clean chroot after updating Systemd.

audit got accidentally enabled in our 3.13 build. Does everything work when you add 'audit=0' to the command line?

Offline

Board footer

Powered by FluxBB