Bug#796638: [Debian-ha-maintainers] Bug#796638: Patches

2016-07-07 Thread Valentin Vidic
On Wed, Jul 06, 2016 at 04:53:05PM +0200, Christian Hofstaedtler wrote:
> Yes, but that is still better than not working at all.

Ok, I'll try to create a service file for the o2cb cluster stack
that is not too complicated.

The pacemaker cluster stack does not need the service files as
it starts controld and ocfs2 filesystem from resource scripts.

-- 
Valentin



Bug#796638: [Debian-ha-maintainers] Bug#796638: Patches

2016-07-06 Thread Christian Hofstaedtler
* Valentin Vidic  [160706 16:07]:
> On Fri, Jul 01, 2016 at 05:43:14PM +0200, Christian Hofstaedtler wrote:
> > SuSE has patches to add systemd support to ocfs2:
> > 
> > https://build.opensuse.org/package/view_file/openSUSE:Factory/ocfs2-tools/0004-add-systemd-support.patch?expand=1
> > https://build.opensuse.org/package/view_file/openSUSE:Factory/ocfs2-tools/0008-ocfs2-tools-add-systemd-support-fix.patch?expand=1
> > https://build.opensuse.org/package/view_file/openSUSE:Factory/ocfs2-tools/0009-o2cb-fix-systemd-o2cb.service-failure.patch?expand=1
> > 
> > Please consider adding them to the package.
> 
> Thanks for the info, but it seems they are just calling the existing
> init scripts from the service file.

Yes, but that is still better than not working at all.

-- 
 ,''`.  Christian Hofstaedtler 
: :' :  Debian Developer
`. `'   7D1A CFFA D9E0 806C 9C4C  D392 5C13 D6DB 9305 2E03
  `-



Bug#796638: [Debian-ha-maintainers] Bug#796638: Patches

2016-07-06 Thread Valentin Vidic
On Fri, Jul 01, 2016 at 05:43:14PM +0200, Christian Hofstaedtler wrote:
> SuSE has patches to add systemd support to ocfs2:
> 
> https://build.opensuse.org/package/view_file/openSUSE:Factory/ocfs2-tools/0004-add-systemd-support.patch?expand=1
> https://build.opensuse.org/package/view_file/openSUSE:Factory/ocfs2-tools/0008-ocfs2-tools-add-systemd-support-fix.patch?expand=1
> https://build.opensuse.org/package/view_file/openSUSE:Factory/ocfs2-tools/0009-o2cb-fix-systemd-o2cb.service-failure.patch?expand=1
> 
> Please consider adding them to the package.

Thanks for the info, but it seems they are just calling the existing
init scripts from the service file.  For example:

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/sbin/o2cb.init enable
ExecStop=/sbin/o2cb.init disable
ExecRestart=/sbin/o2cb.init restart

-- 
Valentin