[DRBD-user] Re: dpkg --purge drdb (unconfigured) failed

Lars l.g.e at web.de
Sun May 2 13:14:27 CEST 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


/ 2004-05-02 00:42:34 -0400
\ Jon Thomas (Stoker) Stokkeland:
> Likely related to that the package (/etc/drbd.conf) had not been
> configured at all, likely looking for daemon to stop or something before
> package removal and purge..
> 
> dpkg (dselect) said:
> 
> 
> Removing drbd ...
> drbd: pre-parsed needs update, parsing /etc/drbd.conf
> ............................................................
> ............................................................
> ......................................................
> 
>   last token read from </etc/drbd.conf> was
>  174: }
>       ^
> resource 'drbd0': This host (shane) not mentioned.
>   stopped at /etc/init.d/drbd (parse_resource_section) line 795.
> 
>   CVSID Id: drbd,v 1.55 2004/03/04 07:38:18 lars Exp 
>   BASH_VERSINFO (2 05a 0 1 release i386-pc-linux-gnu)
> 
>   If you feel this script is buggy, please report to
>   Lars Ellenberg <l.g.e at web.de>, drbd-user at lists.linbit.com
> 
> dpkg: error processing drbd (--purge):
>  subprocess pre-removal script returned error exit status 255
> 

Thanks for feedback.  I'm not the debian packager.
But this is a known problem, and has been fixed already,
There even are fixed pakages out there. 

http://packages.debian.org/changelogs/pool/main/d/drbd/drbd_0.6.12-3/changelog
,--
|drbd (0.6.12-3) unstable; urgency=low
|  
|  * After discussing with upstream
[ thats me; strange..., never thought about me as "upstream" so far ;-) ]
|	, tweak /etc/init.d/drbd script so the
|    stop target works if the module is not loaded.  (Closes: Bug#243417)
|  * Put the drbd script in the /etc/ha.d/resource.d directory.  (Closes:
|  * Bug#245219)
|  
| -- David Krovich <dkrovich at csee.wvu.edu>  Thu, 22 Apr 2004 18:12:47 -0400
`--

for details, have a look at
http://thread.gmane.org/gmane.comp.linux.drbd/6259
where the correct fix can be found in the second message,
http://article.gmane.org/gmane.linux.network.drbd/6266


	Lars Ellenberg



More information about the drbd-user mailing list