extraneous directory created by init script

Bug #65122 reported by PetyrRahl
4
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The bacula-fd init script has the following

create_var_run_dir()
{
        if [ ! -d /var/run/bacula/ ]; then
                mkdir -p 0755 /var/run/bacula/
                chown bacula:daemon /var/run/bacula/
        fi
}

which creates the directory 0755 at the root. I believe the script is suppose to read

create_var_run_dir()
{
        if [ ! -d /var/run/bacula/ ]; then
                mkdir -p -m 0755 /var/run/bacula/
                chown bacula:daemon /var/run/bacula/
        fi
}

Revision history for this message
Steve Kowalik (stevenk) wrote :

bacula (1.38.11-7ubuntu6) feisty; urgency=low

  * Add gnome-session to the bacula-traymonitor Recommends.
  * Fix the bacula-fd init script to create the directory properly.
    (LP: #65122)
  * Correct src/dird/bacula-dir.conf.in to pass the correct arguments
    to "/etc/bacula/scripts/make_catalog_backup. (LP: #68725)

 -- Steve Kowalik <email address hidden> Thu, 1 Feb 2007 20:18:32 +1100

Changed in bacula:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.