Your message dated Sun, 29 Apr 2012 17:49:17 +0100
with message-id <[email protected]>
and subject line Re: Bug#623098: initscripts: doesn't handle downgrading (dpkg: 
warning: unable to delete old directory '/run': Device or resource busy)
has caused the Debian Bug report #623098,
regarding initscripts: doesn't handle downgrading (dpkg: warning: unable to 
delete old directory '/run': Device or resource busy)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
623098: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623098
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: initscripts
Version: 2.88dsf-13.4
Severity: wishlist

Hi,

I installed initscripts from experimental.  All seems fine (and fairly
sane; thanks!), but I haven't rebooted and I'm a bit of afraid to
since there is no sign udev is fixed yet.  So time to downgrade:

 # cupt install initscripts/sid
 Parsing Found/Fixed information... Done
 dpkg: warning: downgrading initscripts from 2.88dsf-13.4 to 2.88dsf-13.2.
 (Reading database ... 141278 files and directories currently installed.)
 Preparing to replace initscripts 2.88dsf-13.4 (using 
.../initscripts_2.88dsf-13.2_amd64.deb) ...
 Unpacking replacement initscripts ...
 dpkg: warning: unable to delete old directory '/run': Device or resource busy
 Setting up initscripts (2.88dsf-13.2) ...
 Installing new version of config file /etc/init.d/bootmisc.sh ...
 Installing new version of config file /etc/init.d/checkfs.sh ...
 [...]

Indeed, /run still exists.

Especially during this time of experimentation, it would be nice (but
certainly not required) if prerm + postrm made sure allow "upgrades"
back to the pre-/run state worked gracefully.



--- End Message ---
--- Begin Message ---
On Sat, Apr 30, 2011 at 10:22:13PM -0500, Jonathan Nieder wrote:
> Jonathan Nieder wrote:
> 
> >  # cupt install initscripts/sid
> >  Parsing Found/Fixed information... Done
> >  dpkg: warning: downgrading initscripts from 2.88dsf-13.4 to 2.88dsf-13.2.
> >  (Reading database ... 141278 files and directories currently installed.)
> >  Preparing to replace initscripts 2.88dsf-13.4 (using 
> > .../initscripts_2.88dsf-13.2_amd64.deb) ...
> >  Unpacking replacement initscripts ...
> >  dpkg: warning: unable to delete old directory '/run': Device or resource 
> > busy
> 
> It turns out this was mostly cosmetic --- upon reboot, /run was gone
> (phew!).
> 
> Of course, in an ideal world, the bind mount would be removed at prerm
> time.  Is that possible to do?  If not, is it possible to print a
> message with advice?

Given that /run is now mandatory and downgrades are not supported,
I'm not sure it's worth the effort.  Also, this is a common problem
for all packages which try to remove a directory which is also a
mountpoint.

We can't remove the bindmount because it's only a bindmount
transiently until reboot, after which it's a tmpfs.  And that tmpfs
is a protected mount, i.e. it's not umounted since it contains
critical stuff for e.g. networked filesystems so we can't umount it
since it could potentially break the operation of the rootfs.



Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.


--- End Message ---
_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sysvinit-devel

Reply via email to