Your message dated Thu, 02 Mar 2006 13:47:09 -0800 with message-id <[EMAIL PROTECTED]> and subject line Bug#339400: fixed in coreutils 5.94-1 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: coreutils Version: 5.93-5 bug#339400 was closed prematurely... > > notice that tail -f works fine when the file is not marked append only... > > now don't ask me why O_NONBLOCK is denied on append only files... but it > > is... > > I take it that there is no bug in the tail program, then. there is absolutely a bug in the tail program... this was not a problem in 5.2.1-2.1 because the older version doesn't foolishly try to force O_NONBLOCK on a regular file. the patch below fixes this problem. append-only files are still readable -- they just can't be written anywhere except at the end. append-only are the ideal log file -- especially if they're being written by a non-root user... for example, if a non-root user is compromised they still can't modify log files to erase their tracks -- they have to make it to root first and remove the append-only attribute. considering tail -f worked on append-only files prior to 5.93 i consider this to be a necessary fix... -dean p.s. i've reported this upstream, and i think the kernel is in error as well, so i'm reporting it there too. --- coreutils-5.93/src/tail.c.orig 2005-11-02 05:18:47.000000000 -0800 +++ coreutils-5.93/src/tail.c 2005-11-15 17:58:55.852102952 -0800 @@ -1020,7 +1020,8 @@ int new_flags = old_flags | (blocking ? 0 : O_NONBLOCK); if (old_flags < 0 || (new_flags != old_flags - && fcntl (fd, F_SETFL, new_flags) == -1)) + && fcntl (fd, F_SETFL, new_flags) == -1 + && (!S_ISREG(f[i].mode) || errno != EPERM))) error (EXIT_FAILURE, errno, _("%s: cannot change nonblocking mode"), name); f[i].blocking = blocking;
--- End Message ---
--- Begin Message ---Source: coreutils Source-Version: 5.94-1 We believe that the bug you reported is fixed in the latest version of coreutils, which is due to be installed in the Debian FTP archive: coreutils_5.94-1.diff.gz to pool/main/c/coreutils/coreutils_5.94-1.diff.gz coreutils_5.94-1.dsc to pool/main/c/coreutils/coreutils_5.94-1.dsc coreutils_5.94-1_i386.deb to pool/main/c/coreutils/coreutils_5.94-1_i386.deb coreutils_5.94.orig.tar.gz to pool/main/c/coreutils/coreutils_5.94.orig.tar.gz fileutils_5.94-1_all.deb to pool/main/c/coreutils/fileutils_5.94-1_all.deb shellutils_5.94-1_all.deb to pool/main/c/coreutils/shellutils_5.94-1_all.deb textutils_5.94-1_all.deb to pool/main/c/coreutils/textutils_5.94-1_all.deb 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 [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Stone <[EMAIL PROTECTED]> (supplier of updated coreutils 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 [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Wed, 15 Feb 2006 14:11:23 -0500 Source: coreutils Binary: shellutils coreutils fileutils textutils Architecture: source all i386 Version: 5.94-1 Distribution: unstable Urgency: low Maintainer: Michael Stone <[EMAIL PROTECTED]> Changed-By: Michael Stone <[EMAIL PROTECTED]> Description: coreutils - The GNU core utilities fileutils - The GNU file management utilities (transitional package) shellutils - The GNU shell programming utilities (transitional package) textutils - The GNU text file processing utilities (transitional package) Closes: 273781 332779 339136 339400 340119 340364 341785 341912 349530 Changes: coreutils (5.94-1) unstable; urgency=low . * New upstream version (Closes: #349530, #273781, #332779, #341912) - upstream has reverted the behavior for stat --format and added a new --printf option with the new behavior (Closes: #339136) - tail -f works on append-only files again (Closes: #339400) - tail -c 3 works again (Closes: #340364) - tail -0f work for multiple files (but use -n 0 -f instead) (Closes: #341785) * [99_dircolors-shell] dircolors test doesn't depend on the shell * Fix md5sum diversion problems with a hacksaw (Closes: #340119) Files: 0a1c33188081eaf460526f8481900474 949 utils required coreutils_5.94-1.dsc d52952c9a3b9481e8d284436c8860d8e 5035124 utils required coreutils_5.94.orig.tar.gz 92436854c34ceff4f41e2c51f2ae4f7a 43360 utils required coreutils_5.94-1.diff.gz 4485f089f14cbf934ea5f6a4a63c125f 9780 oldlibs extra textutils_5.94-1_all.deb d43f2a752dba50ee485d96927e621b6b 9772 oldlibs extra fileutils_5.94-1_all.deb 85634843a0a13975fcc688676fa20900 9772 oldlibs extra shellutils_5.94-1_all.deb 7c1ca4a954c57211e5df605876a5fe54 3026702 utils required coreutils_5.94-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iQCVAwUBRAdRRw0hVr09l8FJAQLcYAQA1ZCPgzOMWdvropQvfGQhFmsPbejAoI2L AjJNwvFatwCZSn3cRctfUtqAoIb5VIYt699/HtDFDba3nBMlsIdpsvVlrD4IiPHb Ch53wVo8PtFGavbFNPwouWlV1b5ozBZHToOXSoqoJe63uh5oCc2EBlnafqL2Xcqt JIAUcj/K8Hg= =9Lls -----END PGP SIGNATURE-----
--- End Message ---

