[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Two hard-to-find problems



-----BEGIN PGP SIGNED MESSAGE-----

On 7 Mar 1998, Ben Gertzfield wrote:

> Zed> The first (and most major) is that upon a reboot
> Zed> (e.g. shutdown - -r now) the filesystems are NOT being
> Zed> correctly unmounted.  This happens whether or not file-rc is
> Zed> installed.  I was able to get a partial fix on this by adding
> 
> One of my friends has also started running into this problem.
> 
> I believe it's caused by saying 'n' to upgrading some /etc/init.d/
> script, but I don't know which.

    Well, I *seem* to have found a solution.  The problem isn't being
caused by saying 'n', since I had made no changes to those files and
as a result always said 'y'.  As a doublecheck, I reinstalled
sysvinit, and it didn't even ask me about them.  The symlinks in rc2.d
were however totally hosed, and looking in rc[345].d I noticed that
the others weren't affected.  My guess is that there's a problem with
some of the upgrade scripts dealing with the currently-used rc.x
directory.  Also, file-rc is dangerous (though in this case, it
brought me to the solution), in that doing something with it can cause
it to leave all the symlinks behind even after it's been installed,
and thus have both the /etc/runlevel.conf and the symlinks
directories.  If that happens, and you attempt to purge it, it'll nuke
your current rc.x symlinks on the way out when it gets confused.  I'd
file a grave bug report against it, except that I can't reproduce the
problem and I don't know what I did to get it to do that.  Should I
file the bug anyway?  Having something like this lurking around, even
if it's only invoked by doing something boneheaded (which is entirely
possible in my case) might not be good to have in a "stable" release,
since it can effectively nuke your system (not unmounting or killing
processes on a reboot is not a good thing).  Problem is, if I do this,
file-rc will completely disappear, since I'm not giving the maintainer
any time to fix the problem before code freeze :|

    The upside of having my /etc/rc2.d directory completely toasted is
that when I did a cp -a of /etc/rc3.d into /etc/rc2.d and rebooted,
the system worked just fine.  

=============================================================================
Zed Pobre  <zcp@po.cwru.edu>  |  PGP key on servers, fingerprint on finger
=============================================================================


-----BEGIN PGP SIGNATURE-----
Version: 5.0
Charset: noconv

iQEVAwUBNQZRxNwPDK/EqFJbAQHk6gf9FD8hUenwNcgvVja34oEV8YPA60ViVd3r
bHqILw4gglcr1DIESBVpGT4PZ5yk5dL7+FTnqdv4//wCya13WMjdx35KsObz/iyy
yjnXc5wLSbGSvgckxj6nMa86wvrKxU8QozKmfQ5VTpVIQg5gn922eEmdGM3k+3sW
cGUjJLeiWeHk2h+02txqDR1+kHwPByjf/evBfLvdfRRwa/Jce9c9nWv9G9BCyZdR
OYiqQxogGt/51y2fnYXseOyan0WW1CSmRW//daAn0UQBthHfk7BTTrNI1qg7GXxb
C7xLNJke1y1l2c1kg0i0iLuPeC7h1qb9eZ0PwnImAxdVamrcyW2D8A==
=BfbG
-----END PGP SIGNATURE-----


--
E-mail the word "unsubscribe" to debian-devel-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to listmaster@debian.org .


Reply to: