Package: util-vserver
Version: 0.30.211-3
Severity: normal
When I make a change to my .bashrc file, I type . ~/.bashrc to
re-source it. Since installing vserver, this has been producing error
messages.
Here's a trace (from 'set -x') showing the relevant lines:
------------------------------------------------------------------------
+ . /home/chris/.bashrc
++ '[' -f /etc/bash_completion ']'
++ . /etc/bash_completion
+++ '[' '(' -f /etc/bash_completion.d/vserver -o -h
/etc/bash_completion.d/vserver ')' -a -r /etc/bash_completion.d/vserver ']'
+++ . /etc/bash_completion.d/vserver
++++ . /usr/lib/util-vserver/functions
+++++ _VS_NEWLINE='
'
bash: _VS_NEWLINE: readonly variable
+++++ declare -r '_VS_NEWLINE=
'
bash: declare: _VS_NEWLINE: readonly variable
+++++ declare -r VS_ALLVSERVERS_ARGS=all,marked,unmarked,stopped,running
bash: declare: VS_ALLVSERVERS_ARGS: readonly variable
------------------------------------------------------------------------
"declare -r" makes the variables readonly, and I don't see any way to
reverse it (despite 'man bash' telling me that 'declare +r' should
reverse that, it doesn't seem to).
This isn't a serious problem, but it would be nice if I didn't see
those 3 error messages each time I re-source my .bashrc.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-vserver-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
Versions of packages util-vserver depends on:
ii debconf 1.5.9 Debian configuration management sy
ii iproute 20061002-2 Professional tools to control the
ii libbeecrypt6 4.1.2-6 open source C library of cryptogra
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii make 3.81-3 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.17-3 The GNU assembler, linker and bina
ii debootstrap 0.3.3.1 Bootstrap a basic Debian system
-- 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]