[Pkg-openldap-devel] Bug#419560: closed by Matthijs Möhlmann <matthijs at cacholong.nl> (Re: Upgrade problems.)

Ola Lundqvist opal at debian.org
Fri Apr 23 05:18:45 UTC 2010


It is probably safe to close this one now.

// Ola

On Thu, Apr 22, 2010 at 09:33:14PM +0000, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the slapd package:
> 
> #419560: Upgrade problems.
> 
> It has been closed by Matthijs Möhlmann <matthijs at cacholong.nl>.
> 
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Matthijs Möhlmann <matthijs at cacholong.nl> by
> replying to this email.
> 
> 
> -- 
> 419560: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=419560
> Debian Bug Tracking System
> Contact owner at bugs.debian.org with problems

> X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
> 	(2008-06-10) on busoni.debian.org
> X-Spam-Level: 
> X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 111; neutral, 37; spammy,
> 	0. spammytokens: hammytokens:0.000-+--v1410, 0.000-+--v1.4.10,
> 	0.000-+--sk:ieyeare, 0.000-+--sk:iEYEARE,
> 	0.000-+--HX-Enigmail-Version:0.95.0
> X-Spam-Status: No, score=-7.7 required=4.0 tests=BAYES_00,FVGT_m_MULTI_ODD,
> 	IMPRONONCABLE_2,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,PGPSIGNATURE,SPF_P
> 	ASS
> 	autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
> X-Virus-Scanned: Debian amavisd-new at ironhorse.hellinga-webservice.nl
> X-CRM114-Status: UNSURE ( -2.44 )
> From: Matthijs Möhlmann <matthijs at cacholong.nl>
> To: 419560-done at bugs.debian.org
> Subject: Re: Upgrade problems.
> X-Enigmail-Version: 0.95.0
> X-Greylist: delayed 343 seconds by postgrey-1.31 at busoni; Thu, 22 Apr 2010
> 	21:31:27 UTC
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> Since some version slapd is doing the recovery itself when a unclean
> shutdown is discovered so I think it's good to close this report.
> 
> The other issues are not reproducible anymore and Sarge is gone for a
> long time now.
> 
> Regards,
> 
> Matthijs Mohlmann
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkvQvsQACgkQ2n1ROIkXqbD/BwCgi37Myng4KNlsqBGUgTOal5U/
> /cUAoJUo8m314rTZnB2j2WUDlD7uuyjD
> =YFZv
> -----END PGP SIGNATURE-----
> 

> From: Ola Lundqvist <ola at opalsys.net>
> To: submit at bugs.debian.org
> Subject: Upgrade problems.
> Reply-To: ola at opalsys.net
> X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
> 	(1.212-2003-09-23-exp) on rietz.debian.org
> X-Spam-Level: 
> X-Spam-Status: No, hits=-9.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
> 	autolearn=ham version=2.60-bugs.debian.org_2005_01_02
> 
> Package: slapd
> Severity: normal
> Version: 2.3.30-5
> 
> Hi
> 
> I know that this is not a very good bugreport as I did the upgrade
> yesterday and I write this report from today. However I think it
> could be good to know that there are problems while upgrading.
> 
> I started with a sarge system and upgraded to etch. I do not know
> exactly know which other programs I upgrade at the same time but
> I do not think it was that many, as I selectively upgraded a few
> and slapd was one of the services in the middle.
> 
> This is what I remember:
> 1) I get information that the new user that slapd will run as is
>    openldap.
> 2) On upgrade it can not start slapd as the user do not exist and
>    the upgrade of that package exit.
> 3) The upgrade continue, and now the user is created it chowns
>    a number of files and do convert from old data to the new.
> 4) But the start of slapd do not work well and the upgrade
>    of the package terminates.
> 5) All other packages are now upgraded but slapd have problem.
> 6) I try again but slapd have problem and as it aborts
>    with problem the upgrade is not working.
> 7) The problem seem to be that the backup of the old data files
>    exist and therefore it aborts. So move away that directory
>    and try again. I had fiddled around with the startup parameters
>    of slapd at the same time so it can restart properly. I do not
>    remember anymore what the reason whas that slapd did not start.
>    Non existing ipv6 support maybe, I do not remember.
> 8) Now the upgrade go though.
> 9) I reset the parameters to the values I want and now the
>    slapd process did not start.
> 10) I now find out that the ldap data directory contain files with
>    root.root permission, and that is the reason why it do not start.
> 11) I chown all those files and whee I have a working slapd.
> 
> So my conclusion is that the upgrade path is not perfect from sarge
> to etch.
> 
> I think the main problem is that I have to manually remove the
> data backup directory. I think it should exit silently and not with
> an error.
> 
> The first problem is probably because the -g openldap -u openldap is
> triggered before the user has been created. I do not really know
> how to avoid that.
> 
> However you are probably better to determine what the real problem is.
> 
> I assume that you can reproduce this way:
> * Install sarge version of slapd
> * Remove the openldap user and group.
> * Upgrade slapd.
> 
> Regards,
> 
> // Ola
> 
> -- 
>  --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
> /  ola at opalsys.net                   Annebergsslingan 37        \
> |  opal at debian.org                   654 65 KARLSTAD            |
> |  http://opalsys.net/               Mobile: +46 (0)70-332 1551 |
> \  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
>  ---------------------------------------------------------------
> 


-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal at debian.org                     Annebergsslingan 37      \
|  ola at inguza.com                      654 65 KARLSTAD          |
|  http://inguza.com/                  +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------





More information about the Pkg-openldap-devel mailing list