[Gluster-users] Gluster 7.0 (CentOS7) issue with hooks
Kaleb Keithley
kkeithle at redhat.com
Mon Dec 30 13:26:02 UTC 2019
On Sun, Dec 29, 2019 at 4:49 PM Strahil Nikolov <hunter86_bg at yahoo.com>
wrote:
> Hello Community,
>
> After upgrading from Gluster v6.6 to 7.0 I have noticed that some gluster
> hooks are wrongly named.
>
> For example:
> [root at ovirt1 post]# pwd
> /var/lib/glusterd/hooks/1/start/post
> [root at ovirt1 post]# ll
> total 12
> -rwxr-xr-x. 1 root root 2334 Oct 16 13:57 D29CTDBsetup.sh
> -rwxr-xr-x. 1 root root 4137 Oct 16 13:57 D30samba-start.sh
> [root at ovirt1 post]# rpm -qf D30samba-start.sh
> file /var/lib/glusterd/hooks/1/start/post/D30samba-start.sh is not owned
> by any package
> [root at ovirt1 post]# rpm -qf S30samba-start.sh
> glusterfs-server-7.0-1.el7.x86_64
> [root at ovirt1 post]# mv D30samba-start.sh S30samba-start.sh
>
> Can you reproduce the issue ?
>
I can't. The CentOS (and Fedora) glusterfs-server-7.0 rpm contains (`rpm
-qlp glusterfs-server`):
...
/var/lib/glusterd/hooks/1/start/post/S30samba-start.sh
...
The RPM .spec file used to build has:
%attr(0755,-,-)
%{_sharedstatedir}/glusterd/hooks/1/start/post/S30samba-start.sh
In the -release-7 branch of the source the Makefile.am has
S30samba-start.sh
And in the tree the file itself is named: S30samba-start.sh
Also on my C7 box, `rpm -qf
/var/lib/glusterd/hooks/1/start/post/S30samba-start.sh` gives
glusterfs-server-7.0-1.el7.x86_64
I can't imagine how you managed to get a file named D30samba-start.sh on
your system.
--
Kaleb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20191230/eb62e919/attachment.html>
More information about the Gluster-users
mailing list