Package: util-vserver
Version: 0.30.210-3
Followup-For: Bug #360885

The script fails after

...
+ '[' -e /proc/self/vinfo ']'
+ showattr -d /
+ awk '{print $1}'
+ grep -q B

because grep returns 1 on mismatch and this terminates the script
because of the 'set -e' at the beginning.

The following should work:

if showattr -d / | awk '{print $1'} | grep -q B
then
  setattr ...
fi


I can still construct a case where the barrier flag is not removed from
the root / : if the updated package is installed while running a
non-vserver kernel. This is a probably very rare condition and I can't
think about a good fix for this.


Andreas

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable'), (30, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-vserver-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages util-vserver depends on:
ii  debconf                  1.4.72          Debian configuration management sy
ii  iproute                  20051007-3      Professional tools to control the 
ii  libbeecrypt6             4.1.2-4         open source C library of cryptogra
ii  libc6                    2.3.6-3         GNU C Library: Shared libraries an
ii  make                     3.80+3.81.rc2-1 The GNU version of the "make" util
ii  net-tools                1.60-17         The NET-3 networking toolkit

Versions of packages util-vserver recommends:
ii  binutils             2.16.1cvs20060117-1 The GNU assembler, linker and bina

-- debconf information:
  util-vserver/postrm_remove_vserver_configs: false
* util-vserver/start_on_boot: true
  util-vserver/prerm_stop_running_vservers: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to