Bug#393596: (cyrus-common-2.2: Parts of old installation still active) WARNING

Ross Boylan ross at biostat.ucsf.edu
Tue Oct 17 20:09:55 UTC 2006


On Tue, 2006-10-17 at 16:55 -0300, Henrique de Moraes Holschuh wrote:
> On Tue, 17 Oct 2006, Ross Boylan wrote:
> > On Tue, 2006-10-17 at 00:53 +0000, Ross Boylan wrote:
> > > > WORK-AROUND
> > > > dpkg --purge cyrus21-common
> > > > seems to have worked for me. 
> > > 
> > > NO--DON'T LISTEN TO THAT!  It rendered cyrus inoperable.
> > > /var/run/cyrus and /var/run/cyrus/socket got zapped, although the former
> > > remained in the dpkg-statoverride database.
> 
> Restarting cyrus is all it takes to recreate /var/run/*, or at least it
> should be.
Cyrus refused to restart until I made the changes indicated in the
earlier message.  As shown further down in my earlier message, I got

# invoke-rc.d cyrus2.2 restart
Stopping Cyrus IMAPd: cyrmaster.
Waiting for complete shutdown....
Starting Cyrus IMAPd: /etc/init.d/cyrus2.2: You are missing a
dpkg-statoverride on /var/run/cyrus.  Add it.
invoke-rc.d: initscript cyrus2.2, action "restart" failed.

I think that was triggered by this section of the init script:
	dir=`dpkg-statoverride --list /var/run/cyrus` \
		|| missingstatoverride /var/run/cyrus






More information about the Pkg-Cyrus-imapd-Debian-devel mailing list