[Gluster-devel] glusterfs-3.4.0alpha3 released (rpm upgrade problems)
Niels de Vos
ndevos at redhat.com
Sun Apr 21 09:21:18 UTC 2013
On Sun, Apr 21, 2013 at 08:26:02AM +0100, Nux! wrote:
> On 17.04.2013 17:10, jenkins at build.gluster.org wrote:
> >RPM: http://bits.gluster.org/pub/gluster/glusterfs/3.4.0alpha3/
> >
> >SRC:
> >http://bits.gluster.org/pub/gluster/glusterfs/src/glusterfs-3.4.0alpha3.tar.gz
> >
> >This release is made off jenkins-release-31
>
> And rpm upgrade killed glusterd (3.4 git) and output this:
>
> [root at 2216 3.4.0alpha3]# rpm -Uvh
> glusterfs-3.4.0alpha3-1.el6.x86_64.rpm
> glusterfs-fuse-3.4.0alpha3-1.el6.x86_64.rpm
> glusterfs-server-3.4.0alpha3-1.el6.x86_64.rpm
...
> error: %preun(glusterfs-server-3.4git-1.el6.nux.x86_64) scriptlet
> failed, exit status 1
>
> Let me know if/what logs are needed to make sense of things.
Looks like you updated glusterfs-3.4git-1.el6.nux to
glusterfs-3.4.0alpha3-1.el6. The pre-uninstall script from
glusterfs-server-3.4git-1.el6.nux.x86_64 exited with an error. It seems
that you have build that version yourself, so you will need to verify
the scriptlet of that RPM. You can print the scriptlet if you still have
the rpm itself with a command like this:
$ rpm -q --qf '%{PREUN}\n' -p glusterfs-server-3.4git-1.el6.nux.x86_64.rpm
>From a package that I build from git, I would suspect that the following
command fails:
/sbin/service glusterd condrestart
The extras/init.d/glusterd-Redhat(.in) does not accept the condrestart
action. The Fedora package seems to carry its own init-script which does
include support for condrestart. The .spec from Fedora has been merged
into the glusterfs project, but obviously some dependencies (like
changes to the init-script) have been missed.
I've filed this as https://bugzilla.redhat.com/show_bug.cgi?id=954149
Cheers,
Niels
More information about the Gluster-devel
mailing list