Comment 28 for bug 306464

Revision history for this message
In , Stephanos (stephanos-redhat-bugs) wrote :

There are still problems

[stef@testing ~]$ /usr/sbin/bgnome-console -c /etc/bacula/bgnome-console.conf
04-Aug 00:04 bgnome-console: ERROR TERMINATION at parse_conf.c:829
Config error: Cannot open config file "/etc/bacula/bgnome-console.conf": Permission denied

[stef@testing ~]$ /usr/sbin/wxconsole -c /etc/bacula/bwxconsole.conf
bash: /usr/sbin/wxconsole: No such file or directory

[stef@testing ~]$ /usr/sbin/bacula-tray-monitor -c /etc/bacula/tray-monitor.conf
04-Aug 00:16 tray-monitor: ERROR TERMINATION at parse_conf.c:829
Config error: Cannot open config file "/etc/bacula/tray-monitor.conf": Permission denied

You don't need absolute paths pointing to /usr/sbin in desktop files. If you want to use them then at least use /usr/bin since there are the symlinks to consolehelper.

Also please change the contents of the /etc/security/console.apps files

[stef@testing ~]$ cat /etc/security/console.apps/wxconsole [Desktop Entry]
Name=Bacula WX Console
Comment=Bacula Director Console
Icon=/usr/share/pixmaps/wxwin16x16.xpm
Exec=/usr/bin/bwx-console -c /etc/bacula/bwx-console.conf
Terminal=false
Type=Application
Encoding=UTF-8
X-Desktop-File-Install-Version=0.3
Categories=System;Application;Utility;X-Red-Hat-Base;
[stef@testing ~]$

[stef@testing ~]$ cat /etc/security/console.apps/bat
[Desktop Entry]
Name=Bacula Administration Tool
Comment=Bacula Director Console
Icon=/usr/share/pixmaps/bat_icon.png
Exec=/usr/bin/bat -c /etc/bacula/bat.conf
Terminal=false
Type=Application
Encoding=UTF-8
StartupNotify=true
X-Desktop-File-Install-Version=0.3
Categories=System;Application;Utility;X-Red-Hat-Base;
[stef@testing ~]$

[stef@testing ~]$ cat /etc/security/console.apps/bacula-tray-monitor
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Bacula Monitor
GenericName=Bacula Tray Monitor
Comment=Monitor your Bacula Backup server
Exec=/usr/bin/bacula-tray-monitor -c /etc/bacula/tray-monitor.conf
Icon=bacula-tray-monitor.xpm
Terminal=false
Type=Application
Categories=System;Application;Utility
[stef@testing ~]$

the above are not the same as the other files in that directory
i.e.
[stef@testing ~]$ cat /etc/security/console.apps/bgnome-console
USER=root
PROGRAM=/usr/sbin/bgnome-console
SESSION=true
[stef@testing ~]$