Package: bacula-wxconsole
Version: 1.36.2-2sarge1

In file-selection mode the parsing of "dir" output seems to assume fixed 
byte-position of filenames instead of word/field number.

When switching to restore mode console shows the directory content like this.
============
cwd is: /
$ unmark *
218938 files unmarked.
$ cd "/"
cwd is: /
$ dir
drwxr-xr-x  21 root     root        4096  2006-02-09 15:54:43  /
drwxr-xr-x   2 root     root        4096  2006-06-20 13:41:45  /bin/
drwxr-xr-x   3 root     root        4096  2006-03-20 10:59:21  /boot/
lrwxrwxrwx   1 root     root          11  2005-12-30 16:29:29  /cdrom
drwxr-xr-x  14 root     root       13380  2006-07-24 08:02:41  /dev/
drwxr-xr-x  117 root     root        8192  2006-07-24 13:18:33  /etc/
drwxrwsr-x   5 root     staff       4096  2006-03-14 22:12:27  /home/
drwxr-xr-x   2 root     root        4096  2005-12-30 16:30:14  /initrd/
lrwxrwxrwx   1 root     root          28  2006-02-09 15:54:43  /initrd.img
lrwxrwxrwx   1 root     root          28  2006-01-02 22:03:25  /initrd.img.old
drwxr-xr-x  15 root     root        8192  2006-06-20 13:54:51  /lib/
drwxr-xr-x   2 root     root       49152  2005-12-30 16:29:16  /lost+found/
drwxr-xr-x   8 root     root        4096  2006-07-11 16:21:17  /media/
drwxr-xr-x   2 root     root        4096  2005-12-30 16:30:04  /mnt/
drwxr-xr-x   2 root     root        4096  2005-12-30 16:30:14  /opt/
drwxr-xr-x  24 root     root        4096  2006-07-06 16:30:13  /root/
drwxr-xr-x   2 root     root        4096  2006-06-20 13:54:06  /sbin/
drwxr-xr-x   2 root     root        4096  2005-12-30 16:30:14  /srv/
drwxr-xr-x  10 root     root           0  2006-07-24 09:51:11  /sys/
drwxr-xr-x  13 root     root        4096  2006-01-19 16:58:08  /usr/
drwxr-xr-x  15 root     root        4096  2006-03-20 13:56:37  /var/
lrwxrwxrwx   1 root     root          25  2006-02-09 15:54:43  /vmlinuz
lrwxrwxrwx   1 root     root          21  2006-02-09 15:54:43  /vmlinuz.old
============

The link count of "/etc/" breaks the nice formating and clicking on 
"etc" to expand it in the tree widget produces the following:

============
$ cd " /etc/"
Invalid path given.
cwd is: /
$ dir
drwxr-xr-x  21 root     root        4096  2006-02-09 15:54:43  /
drwxr-xr-x   2 root     root        4096  2006-06-20 13:41:45  /bin/
drwxr-xr-x   3 root     root        4096  2006-03-20 10:59:21  /boot/
lrwxrwxrwx   1 root     root          11  2005-12-30 16:29:29  /cdrom
drwxr-xr-x  14 root     root       13380  2006-07-24 08:02:41  /dev/
drwxr-xr-x  117 root     root        8192  2006-07-24 13:18:33  /etc/
drwxrwsr-x   5 root     staff       4096  2006-03-14 22:12:27  /home/
drwxr-xr-x   2 root     root        4096  2005-12-30 16:30:14  /initrd/
lrwxrwxrwx   1 root     root          28  2006-02-09 15:54:43  /initrd.img
lrwxrwxrwx   1 root     root          28  2006-01-02 22:03:25  /initrd.img.old
drwxr-xr-x  15 root     root        8192  2006-06-20 13:54:51  /lib/
drwxr-xr-x   2 root     root       49152  2005-12-30 16:29:16  /lost+found/
drwxr-xr-x   8 root     root        4096  2006-07-11 16:21:17  /media/
drwxr-xr-x   2 root     root        4096  2005-12-30 16:30:04  /mnt/
drwxr-xr-x   2 root     root        4096  2005-12-30 16:30:14  /opt/
drwxr-xr-x  24 root     root        4096  2006-07-06 16:30:13  /root/
drwxr-xr-x   2 root     root        4096  2006-06-20 13:54:06  /sbin/
drwxr-xr-x   2 root     root        4096  2005-12-30 16:30:14  /srv/
drwxr-xr-x  10 root     root           0  2006-07-24 09:51:11  /sys/
drwxr-xr-x  13 root     root        4096  2006-01-19 16:58:08  /usr/
drwxr-xr-x  15 root     root        4096  2006-03-20 13:56:37  /var/
lrwxrwxrwx   1 root     root          25  2006-02-09 15:54:43  /vmlinuz
lrwxrwxrwx   1 root     root          21  2006-02-09 15:54:43  /vmlinuz.old
============

As you can see the cd command gets a wrong parameter. 

A further bug is that the output of a "cd" command doesn't get parsed and 
compared to the 
supplied parameter.

Instead a simple "dir" command is issued and the output is presented as the 
content of "/etc"
In the above example this means that I can infinetly recurse into the "etc" 
directory since
I never realy leave / :-)

The same problem probably gets triggered any (or a combination) of the 
following:

- long usernames
- long groupnames
- big files 


Changing into other directories seems to work fine.

============
cd "/boot/"
cwd is: /boot/
$ dir
-rw-r--r--   1 root     root      542191  2005-12-30 16:01:58  
/boot/System.map-2.4.27-2-386
-rw-r--r--   1 root     root      862526  2005-12-30 16:52:49  
/boot/System.map-2.6.12-1-686
-rw-r--r--   1 root     root      659945  2006-01-03 13:56:19  
/boot/System.map-2.6.14.5
-rw-r--r--   1 root     root      680667  2006-03-20 10:56:16  
/boot/System.map-2.6.15-1-686
-rw-r--r--   1 root     root       44853  2005-12-30 16:01:58  
/boot/config-2.4.27-2-386
-rw-r--r--   1 root     root       61109  2005-12-30 16:52:49  
/boot/config-2.6.12-1-686
-rw-r--r--   1 root     root       52480  2006-01-03 13:56:19  
/boot/config-2.6.14.5
-rw-r--r--   1 root     root       65416  2006-03-20 10:56:16  
/boot/config-2.6.15-1-686
drwxr-xr-x   2 root     root        4096  2006-03-20 10:59:21  /boot/grub/
-rw-r--r--   1 root     root     1335296  2005-12-30 16:04:30  
/boot/initrd.img-2.4.27-2-386
-rw-r--r--   1 root     root     1576960  2005-12-30 16:52:57  
/boot/initrd.img-2.6.12-1-686
-rw-r--r--   1 root     root     4729236  2006-06-20 13:57:20  
/boot/initrd.img-2.6.15-1-686
-rw-r--r--   1 root     root      816736  2005-12-30 16:01:58  
/boot/vmlinuz-2.4.27-2-386
-rw-r--r--   1 root     root     1292638  2005-12-30 16:52:49  
/boot/vmlinuz-2.6.12-1-686
-rw-r--r--   1 root     root     1373816  2006-01-03 13:56:19  
/boot/vmlinuz-2.6.14.5
-rw-r--r--   1 root     root     1147143  2006-03-20 10:56:16  
/boot/vmlinuz-2.6.15-1-686
$ 
============

cheers
-henrik

PS: Other relevant packages:

$ dpkg --list "*bacula*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                                 Version                              
Description
+++-====================================-====================================-========================================================================================
ii  bacula                               1.36.2-2sarge1                       
Network backup, recovery and verification (Meta-package)
pn  bacula-client                        <none>                               
(no description available)
ii  bacula-common                        1.36.2-2sarge1                       
Network backup, recovery and verification (Common Support files)
ii  bacula-console                       1.36.2-2sarge1                       
Network backup, recovery and verification (Mgmt. Console)
pn  bacula-console-gnome                 <none>                               
(no description available)
un  bacula-director                      <none>                               
(no description available)
ii  bacula-director-common               1.36.2-2sarge1                       
Network backup, recovery and verification (Director common files)
pn  bacula-director-mysql                <none>                               
(no description available)
ii  bacula-director-pgsql                1.36.2-2sarge1                       
Network backup, recovery and verification (Director daemon)
rc  bacula-director-sqlite               1.36.2-2sarge1                       
Network backup, recovery and verification (Director daemon)
ii  bacula-doc                           1.36.2-2sarge1                       
Network backup, recovery and verification - Documentation
ii  bacula-fd                            1.36.2-2sarge1                       
Network backup, recovery and verification (Filer daemon)
ii  bacula-sd                            1.36.2-2sarge1                       
Network backup, recovery and verification (Storage daemon)
pn  bacula-server                        <none>                               
(no description available)
ii  bacula-wxconsole                     1.36.2-2sarge1                       
Network backup, recovery and verification (Console, wxWin version)




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

Reply via email to