Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#9461 - aufs bug - pacman crashes system
Attached to Project:
Arch Linux
Opened by Michael Towers (gradgrind) - Monday, 04 February 2008, 06:40 GMT
Last edited by Simo Leone (neotuli) - Saturday, 17 May 2008, 09:05 GMT
Opened by Michael Towers (gradgrind) - Monday, 04 February 2008, 06:40 GMT
Last edited by Simo Leone (neotuli) - Saturday, 17 May 2008, 09:05 GMT
|
DetailsDescription:
Recent changes to pacman have uncovered a nasty bug in aufs. Additional info: * package version(s) aufs-20071017-6 (with pacman-3.1.1) Steps to reproduce: Running pacman -Sy(u) within an aufs union (i.e. in general a 'live' system) causes a system crash. Steps to fix: Use current aufs, it has now been fixed (CVS as of 20080204) |
This task depends upon
Closed by Simo Leone (neotuli)
Saturday, 17 May 2008, 09:05 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed upstream
Saturday, 17 May 2008, 09:05 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed upstream
Do these help?
pkgname=aufs
pkgver=20080311
pkgrel=1
_kernver='2.6.24-ARCH'
pkgdesc="Another Unionfs Implementation that supports NFS branches"
arch=('i686' 'x86_64')
url="http://aufs.sourceforge.net/"
license=('GPL2')
depends=('kernel26>=2.6.24.3-3' 'aufs-utils')
install=$pkgname.install
options=(!makeflags)
_cvsr=":pserver:anonymous:@aufs.cvs.sourceforge.net:/cvsroot/aufs"
_cvsmod="aufs"
build() {
msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
cvs -d$_cvsr checkout -D $pkgver $_cvsmod
msg "CVS checkout done or server timeout"
msg "Starting make..."
rm -rf $startdir/src/$_cvsmod-build
cp -r $startdir/src/$_cvsmod $startdir/src/$_cvsmod-build
cd $startdir/src/$_cvsmod-build
sed -i 's|.*CONFIG_AUFS_SHWH =.*|CONFIG_AUFS_SHWH = y|' \
local.mk || return 1
# configure for NFS by:
# 1) configure local.mk to use FILP and LHASH
sed -i 's|CONFIG_AUFS_PUT_FILP_PATCH =|CONFIG_AUFS_PUT_FILP_PATCH = y|' \
local.mk || return 1
sed -i 's|CONFIG_AUFS_LHASH_PATCH =|CONFIG_AUFS_LHASH_PATCH = y|' \
local.mk || return 1
# 2) configure local.mk NOT to use FAKE_DM
sed -i 's|CONFIG_AUFS_FAKE_DM = y|CONFIG_AUFS_FAKE_DM = |' \
local.mk || return 1
# For kernel patch splice-2.6.23.patch - important for loopback fs mounts
sed -i 's|CONFIG_AUFS_SPLICE_PATCH =|CONFIG_AUFS_SPLICE_PATCH = y|' \
local.mk || return 1
# build
make KDIR=/usr/src/linux-$_kernver/ -f local.mk || return 1
# install
install -D -m644 fs/aufs/aufs.ko \
$startdir/pkg/lib/modules/$_kernver/fs/aufs/aufs.ko || return 1
# tweak the install script for the right kernel version
sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
$startdir/$pkgname.install || return 1
}