Re: Gluster 7.0 (CentOS7) issue with hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 29, 2019 at 4:49 PM Strahil Nikolov <hunter86_bg@xxxxxxxxx> 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@ovirt1 post]# pwd
/var/lib/glusterd/hooks/1/start/post
[root@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@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@ovirt1 post]# rpm -qf S30samba-start.sh
glusterfs-server-7.0-1.el7.x86_64
[root@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
________

Community Meeting Calendar:

APAC Schedule -
Every 2nd and 4th Tuesday at 11:30 AM IST
Bridge: https://bluejeans.com/441850968

NA/EMEA Schedule -
Every 1st and 3rd Tuesday at 01:00 PM EDT
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux