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

Bug#355134: marked as done (non-standard exit codes in fsck)



Your message dated Sat, 22 Feb 2014 15:27:00 +0000
with message-id <E1WHETk-0000ed-Nm@franck.debian.org>
and subject line Bug#355134: fixed in ufsutils 10.0-2
has caused the Debian Bug report #355134,
regarding non-standard exit codes in fsck
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 owner@bugs.debian.org
immediately.)


-- 
355134: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355134
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ufsutils
Severity: normal

Hi!

It seems that exit codes in fsck.ufs don't follow the de-facto standard that
GNU/Linux fsck utils use.  The main problem with this is that when exit code 2
should be used to tell init that the kernel should be rebooted, it isn't and the
kernel keeps running often causing crashes or fs corruption.

>From e2fsck(8):

       The  exit  code  returned  by e2fsck is the sum of the following condi-
       tions:
            0    - No errors
            1    - File system errors corrected
            2    - File system errors corrected, system should
                   be rebooted
            4    - File system errors left uncorrected
            8    - Operational error
            16   - Usage or syntax error
            32   - E2fsck canceled by user request
            128  - Shared library error

>From fsck.reiserfs(8):

EXIT CODES
       reiserfsck uses the following exit codes:
          0 - No errors.
          1 - File system errors corrected.
          2 - Reboot is needed.
          4 - File system fatal errors left uncorrected,
              reiserfsck --rebuild-tree needs to be launched.
          6 - File system fixable errors left uncorrected,
              reiserfsck --fix-fixable needs to be launched.
          8 - Operational error.
          16 - Usage or syntax error.

The least common denominator of these would be:

          0 - No errors.
          1 - File system errors corrected.
          2 - Reboot is needed.
          4 - File system fatal errors left uncorrected.
          8 - Operational error.
          16 - Usage or syntax error.

Out of which I think at least 0 (keep booting), 1 (maybe reboot?), 2 (reboot)
and 4 (switch to single) are critical.

-- 
Robert Millan


--- End Message ---
--- Begin Message ---
Source: ufsutils
Source-Version: 10.0-2

We believe that the bug you reported is fixed in the latest version of
ufsutils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 355134@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robert Millan <rmh@debian.org> (supplier of updated ufsutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 22 Feb 2014 14:02:36 +0100
Source: ufsutils
Binary: ufsutils ufsutils-udeb
Architecture: source kfreebsd-amd64
Version: 10.0-2
Distribution: experimental
Urgency: low
Maintainer: GNU/kFreeBSD Maintainers <debian-bsd@lists.debian.org>
Changed-By: Robert Millan <rmh@debian.org>
Description: 
 ufsutils   - UFS filesystems utilities
 ufsutils-udeb - stripped-down versions of ufsutils, for debian-installer (udeb)
Closes: 355134 737580
Changes: 
 ufsutils (10.0-2) experimental; urgency=low
 .
   * 05_wipe_otherfs.patch: Handle DIOCGMEDIASIZE failure gracefully.
     (Closes: #737580)
   * Fix fsck.ufs exit codes. (Closes: #355134)
   * Silence "operator gid" warning.
Checksums-Sha1: 
 a6e1c6da40f23d305720e030d3bef0affa53fc9f 1456 ufsutils_10.0-2.dsc
 e9f080e65235c976f015f8169db6857299091730 10325 ufsutils_10.0-2.debian.tar.gz
 bcf718a71c16bab7fb115cdf537457ace053c541 149752 ufsutils_10.0-2_kfreebsd-amd64.deb
 aa242d500ca811323f85d9f58c4c2fa88281a3e9 91836 ufsutils-udeb_10.0-2_kfreebsd-amd64.udeb
Checksums-Sha256: 
 86e7beccfe2ca610cdf5c9e840a2453c0d2126b456ae2a976a2435b9224266ff 1456 ufsutils_10.0-2.dsc
 2261ce1adbc4b6a54799f2296ed1d68bc0ff569218ce28fb4c54d6c2d1b5914c 10325 ufsutils_10.0-2.debian.tar.gz
 853b93fc964f1fc8fe77a557d8ff6c74643d17a70294981b38d1b761d18a59d9 149752 ufsutils_10.0-2_kfreebsd-amd64.deb
 3ac206938221ed22d3873783b201da31d2220cecd855b1ad12a126571c093fba 91836 ufsutils-udeb_10.0-2_kfreebsd-amd64.udeb
Files: 
 9ff4c14c9c70e7e9fa6bab670f58be9e 1456 utils optional ufsutils_10.0-2.dsc
 c3150abc2e06405c3bc236b3563f09ae 10325 utils optional ufsutils_10.0-2.debian.tar.gz
 f25a24a35ee3e63a9d99061a824f31c0 149752 utils optional ufsutils_10.0-2_kfreebsd-amd64.deb
 f6b48ff754a92d70089764eac644140c 91836 debian-installer optional ufsutils-udeb_10.0-2_kfreebsd-amd64.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/kFreeBSD)

iEYEARECAAYFAlMIurEACgkQC19io6rUCv+BMQCdGjWt6Kc2xkS77vuJvSFcrNRU
2gcAni5B5iQ3nVdKd+b9efSknoamwBVa
=QjSS
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: