Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150727 - less-394 cannot follow output from things parsed in lesspipe
Summary: less-394 cannot follow output from things parsed in lesspipe
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 150256
Blocks:
  Show dependency tree
 
Reported: 2006-10-10 03:57 UTC by Graham Murray
Modified: 2006-11-05 01:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Murray 2006-10-10 03:57:26 UTC
Having upgraded to glibc-2.5 and run 'emerge -e system', once less-394 had been rebuilt for some files it would not list past the point which was end-of-file at the point it was invoked. This is using 'F' to 'follow' or using 'G' after more data has been written to the file. With other files it works as before. It seems to be consistent as to which files it misbehaves - for example 'less /var/log/emerge.log' will not list anything past the eof at time of invokation, but 'less /var/log/mail' works as expected. 

I have seen this identical behaviour (ie it does not work with /var/log/emerge.log but does with /var/log/mail) on 2 different systems, both ~x86.

 emerge --info
Portage 2.1.2_pre2-r7 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 10 Oct 2006 05:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fno-omit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O2 -pipe -fno-omit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.du.se/pub/os/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.mirror.solnet.ch"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 arts avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups curl dbus dlloader doc dri dvd dvdr eds elibc_glibc emacs emboss encode esd examples expat fam firefox fortran gdbm gif gmp gnome gnutls gpm gstreamer gtk hal idn imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jpeg kde kdehiddenvisibility kernel_linux ldap libg++ linguas_en_GB mad mikmod mono mp3 mpeg ncurses nls nptl nptlonly nsplugin offensive ogg opengl oss pam pcre pdflib perl png postgres ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sse2 ssl tcl tcltk tcpd threads tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_r128 video_cards_vesa vorbis win32codecs x86 xface xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2006-10-12 17:47:24 UTC
has nothing to do with glibc-2.5

the problem is that anything that is manipulated in LESSPIPE cannot be followed and lesspipe.sh was updated to simply do `cat` on .log, .txt, and .conf files
Comment 2 SpanKY gentoo-dev 2006-11-05 01:11:45 UTC
fixed in cvs by reverting changes for Bug 150256