Bacula-users

Re: [Bacula-users] init.d files missing after upgrading on openSUSE

2012-12-16 07:04:55
Subject: Re: [Bacula-users] init.d files missing after upgrading on openSUSE
From: Bruno Friedmann <bruno AT ioda-net DOT ch>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 16 Dec 2012 13:02:14 +0100
On Sunday 16 December 2012 11.28:57 Silver Salonen wrote:
> On 2012-12-16 09:05, Bruno Friedmann wrote:
> >>
> >> Hi.
> >>
> >> Some time ago Bacula 5.2.12 came into Archiving:/Backup repository 
> >> of openSUSE 12.2, but now there are no Bacula files in /etc/init.d.
> >>
> >> There is also nothing about Bacula in "service --status-all". How 
> >> can I start my FD now?
> >>
> >> --
> >> Silver
> >>
> >
> >
> > Simply by reading the changelog ( this help sometime to understand
> > what's going on).
> > on 12.1 there's the double problem of systemV & systemd. Due to some
> > changes in the way obs works.
> > I've to drop the systemV init script, and only keep systemd. But
> > unfortunately the /sbin/service script is unable to support
> > the /usr/sinb/rcXXXX way under 12.1 ( work under 12.2 )
> >
> > Once installed you could just work with systemd systemctl command or
> > chkconfig, all work fine.
> > If you really want to keep sysinitV ( be carefull this is dropped in
> > next openSUSE version ) you can simply extract the script
> > from the 11.4 packages
> 
> Well, I also have the problem that there are no any Bacula services in 
> systemd, systemctl or chkconfig commands (eg. "chkconfig -l"). There is 
> /usr/sbin/rcbacula-fd though..
> 
> --
> Silver
> 

No systemd services ? ugh sorry I can't believe it.
Just check : 
rpm -ql bacula-fd 

/etc/bacula
/etc/bacula/bacula-fd.conf
/etc/sysconfig/SuSEfirewall2.d/services/bacula-fd
/lib/systemd/system/bacula-fd.service
/usr/lib64/bacula/bpipe-fd.so
/usr/sbin/bacula-fd
/usr/sbin/rcbacula-fd
/usr/share/man/man8/bacula-fd.8.gz
/var/lib/bacula

What's true is by default the .service is not enabled after install, well like 
any services on an openSUSE distribution.

Once your setup is done, enable the service by running 
systemctl enable bacula-(fd,sd,dir).service

and start them by systemctl start bacula-(fd,sd,dir).service

Beware, from previous version 5.2.6 the pid directory is now again 
/var/run/bacula 
adapt your configuration according.

-- 
Bruno Friedmann 
Ioda-Net Sàrl www.ioda-net.ch
 
openSUSE Member & Ambassador
GPG KEY : D5C9B751C4653227
irc: tigerfoot

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users