Release Notes:
4.83 January 18, 2010
Converted Solaris 10 and above ZFS support to use the CTF
debugger library, libctf. Code was supplied by Robert
Byrnes <Robert.Byrnes@deshaw.com>.
Corrected a typo in the testing of the LINUX_HASSELINUX
environment variable in the Configure script. The error
was reported by Mike Frysinger <vapier@gentoo.org>.
At Mike's request made Configure script accept LSOF_RANLIB
(ranlib command), LSOF_CFGF (additional configuration flags)
and LSOF_CFGL (additional library specifications) from the
environment.
Enabled complilation of Solaris 10 lsof after a recent Sun
patch which changed the PC file system's structure. Peter
Vernam <pvernam@draper.com> reported the problem and helped
with the fix.
Made the sort of configuration CFLAGS in the CkTestDB
script impervious to locale settings.
Ported to Solaris 11, using a test system kindly provided
by David Day <dday76@gmail.com>.
Adjusted to the disappearance of <nfs/rpcv2.h> in FreeBSD
8.0-BETA1.
Changed Solaris node type lookup to a hashed method and
added some ability for it to handle duplicate vnodeop names
in /dev/ksyms.
Updated for FreeBSD 9.0-CURRENT. Andrzej Tobola
<ato@iem.pw.edu.pl> provided a test system. Extends the
fix to FreeBSD 6.0 and above via a Configure test and a
compile-time definition. The need for the extension was
reported by Erik Trulsson <ertr1013@student.uu.se>>
Made corrections to FAQ typographical errors, suggested
by Josh Soref <timeless@gmail.com>.
Added __UCLIBC__ test to Linux dlsof.h so lsof would compile
on an Intel ARM XScale processor. The addition was provided
by Doug Kehn <rdkehn@yahoo.com>.
Added test for <utmpx.h> to FreeBSD configuration. Improved
its use in lsof.h. The changes were supplied by Martin Wilke
<miwi@FreeBSD.org>.
4.82 March 25, 2009
Corrected an over-zealous exclusion test that caused
lsof to report nothing when it was given no arguments
and built with HASSECURITY and HASNOSOCKSECURITY enabled.
Joshua Kinard <kumba@gentoo.org> reported the bug and
supplied information for reproducing it.
Based on a report from Dan Trinkle <trinkle@cs.purdue.edu>
corrected use of <sys/utsname.h> for 32 bit Solaris 10
and above compilations. Simultaneously eliminated a
casting complaint in arg.c and updated Configure to use
the appropriate 64 bit compilation option (-xarch=v9 or
-m64) with the Solaris Sun C compiler.
Updated for FreeBSD 7.1-PRERELEASE with information
supplied by Larry Rosenman <ler@lerctr.org>.
Updated the Darwin libproc sources with changes from
Allan Nathanson <ajn@apple.com>. Tested them on a iMac
mini, provided by Apple Inc. Allan also provided man
page corrections.
Updated the FreeBSD Makefile to use the ${MAKE} variable
for ZFS dnode2.c module compilation, based on a suggestion
from Alexis Ballier <aballier@gentoo.org>.
Improved the Solaris VxFS library location test, based on a
suggestion from Jason Fortezzo <fortezza@mechanicalism.net>.
Jason tested the change.
Updated Solaris 10 ZFS support for ZFS version 4 and ZFS
pool version 10, using a test system kindly provided by
Vladislav Nespor <vladislav.nespor@id.ethz.ch>. Renata
Maria Dart <renata@slac.stanford.edu> tested on ZFS
version 4, verifying that the update works there, too.
(ZFS pool version 10 is apparently the ZFS version shipped
with the 10/08 update to Solaris. The original ZFS
support targeted ZFS version 3.)
I still consider ZFS support in Solaris lsof a hack,
because it depends on a znode structure definition that
I developed using dbx. Sun is remiss in not distributing
the ZFS header files used to build the distributed kernel.
Because of the znode structure definition hack, I can't
guarantee that lsof ZFS support will work for any other
versions of ZFS.
Solaris 10: adjusted to a change in the way devices are
stored in the kernel; fixed a problem in zone handling;
and added rudimentary sharedfs support. Carson Gaspar
<carson@taltos.org> reported the device number problem,
provided a test system, and tested the changes. Peter
Vines <psv2b@eservices.virginia.edu> reported the zone
handling problem and tested the fix.
Adapted to FreeBSD 8.0-CURRENT changes in device number
computation. Problem was reported by Erwin Lansing
<erwin@FreeBSD.org>. Larry Rosenman <ler@lerctr.org>
provided a test system.
Corrected Solaris Configure test for appropriate VxFS
library when using gcc to compile lsof.
Updated for loss of KAME IPv6 FreeBSD accommodations.
Adapted to FreeBSD 7.2. Made Configure script recognized
FreeBSD 6.3.
4.81 October 21, 2008
Updated the Darwin libproc sources with changes from
Allan Nathanson <ajn@apple.com>. Tested them on a iMac
mini, provided by Apple Inc.
Changed dummy declarations in library source files to
eliminate complaints about unused variables and empty
object files. This change may not work on dialects I
can no longer test; it has been tested on some versions
of AIX, Darwin, FreeBSD, Linux and Solaris.
At the request of Hal Brooks <hal@uga.edu> added support
for Linux /proc/net/packet files. Hal tested it.
Added socket file only performance enhancements to Linux
and PSTAT-based HPUX lsof.
Added htonl call around improper usage of INADDR_LOOPBACK;
report from an Apple engineer forwarded by Allan Nathanson
<ajn@apple.com>.
Adjusted for FreeBSD-8.0 change in device number handling.
The adjustment should work for FreeBSD 5 and above, should
the 8.0 change be propagated downward. The problem was
reported by Pav Lucistnik <pav@FreeBSD.org>. An updated
test system was provided by Erwin Lansing <erwin@FreeBSD.org>.
Reduced AIX support to version 5.3, since test systems with
older versions are no longer available to me.
At the request of Marjo F. Mercado <mmercado@xceedium.com>
and Phil Shin <pshin@xceedium.com> applied some speed
improvements to lsof, particularly when the files of
interest are /Internet files -- i.e., selected with lsof's
-i" option. Added a two new options to assist the
improvements: 1) "-c^<command>" to tell lsof to exclude the
named command(s); and 2) "-stcp|ud>:[^]state' to tell lsof
to include in its reporting or exclude ('^') from its
reporting Internet files in the named states (e.g., LISTEN,
^CLOSE_WAIT, IDLE, etc.) For the most part these changes
apply only to AIX, Darwin, FreeBSD, PSTAT-based HP-UX, Linux
and Solaris, since those are the only places I could test
them. They are controlled by the HASTCPUDPSTATE definition
in each dialect's machine.h header file. Marjo and Phil
provided HP-UX 11.23 and 11.31 test systems.
Fixed a stat(2) problem on HP-UX 11.31 while testing the
speed improvements.
Adjusted for kernel header file changes in FreeBSD
8.0-CURRENT. Larry Rosenman <ler@lerctr.org> provided
a test system.
Added a warning for Solaris systems where VxFS node info
can't be obtained from the VxFS utility library. The
warning was requested by Tom Matthews <Tom.MATTHEWS@rbs.com>.
Corrected mishandling of file system path name arguments
that have trailing slashes, except, of course, the root
file system, "/". Allan Nathanson <ajn@apple.com> reported
the bug.
4.80 May 12, 2008
Updated for a FreeBSD 7.0 and above byte level locking
change. The problem was reported by Conrad J. Sabatier
<conrads@cox.net>, who helped test the update. Wesley
Shields <wxs@FreeBSD.org> provided an 8.0-CURRENT test
system.
Propagated the FreeBSD 7.0 and above locking changes to
FreeBSD 6.x, based on a report from Edwin Groothuis
<edwin@FreeBSD.org>.
Added warnings for unsupported dialects or versions.
Added Linux support for the UDPLITE protocol. Eric
Dumazet <dada1@cosmosbay.com> supplied a patch.
Added a missing quote to the Configure script's
FreeBSD stanza.
Added a usage.o rule to the HP-UX PSTAT-based
Makefile. I mistakenly deleted the rule at revision
4.79. The missing rule was reported by Kawaljeet Kaur
<kawaljeet.malviya@gmail.com> who tested the corrected
Makefile.
4.79 April 15, 2008
**************** IMPORTANT NOTE ******************
* *
* Lsof support has been reduced to the following *
* dialects: AIX, FreeBSD, Linux and Solaris, and *
* only in selected versions of those dialects. *
* The selected versions are listed in this file *
* and in other lsof documentation. *
* *
* I have made this move because of retirement *
* and because I no longer have many test systems *
* available to me. *
* *
* Vic Abell *
* *
**************************************************
Fixed a Solaris VXFS permission problem when accessing
the VXFS inode offsets. The bug was reported by
Gregory A. Ivanov <ivga@mts.ru>. Gregory tested the
fix.
Moved an #include <string.h> later in FreeBSD dlsof.h
to enable compilation on recent FreeBSD releases. The
change was supplied by Roy Marples <uberlord@gentoo.org>.
Improved Linux /proc file stream reading speed by applying
an expanded version of a patch from Eric Dumazet
<dada1@cosmosbay.com> that allocates a page size buffer
to each stream. Improved TCP, TCP6, UDP and UDP6 hashing
by determining the hash bucket count from the /proc/net
sockstat and sockstat6 files. The improvement was
suggested by Eric and he provided sample code. Eric also
tested both improvements.
Modified Configure script to build lsof on FreeBSD
6.2. Tested it on a system provided by Larry Rosenman
<ler@lerctr.org>.
Fixed a Linux maps file processing bug that prevented path
names from having an embedded colon. James Lingard
<jchl@arastra.com> reported the bug and helped with its
fix.
Based on reports from Eric Dumazet and Samuel Thibault
<samuel.thibault@ens-lyon.org> added support for the
Linux 2.6.22 kernel's /proc/<PID>/fdinfo files -- i.e.,
file offset and flags. Samuel Thibault provided a test
system.
Fixed a Linux UNIX socket memory leak, reported by
Philip Shin <pshin@xceedium.com>. Phillip supplied the
fix.
With generous assistance from HP added support for an HP-UX
11.23 patch that makes TLI/XTI socket address information
available.
Fixed a header file problem for FreeBSD 6.2 on the Alpha
architecture. The problem was reported by Pekka Honkanen
<phonkane@cc.hut.fi>. Pekka tested the fix.
Based on a report and using suggested fixes from Karel Zak
<kzak@redhat.com>, made these changes to Linux lsof: corrected
a getpidcon() error message; insured that inode numbers are
handled correctly for their unsigned long long type; and
improved SELinux handling. At the request of Alon Bar-Lev
<alonbl@gentoo.org> added the LINUX_HASSELINUX environment
variable to enable or inhibit SElinux support unconditionally.
Updated Configure for FreeBSD 8.0-CURRENT and tested lsof on
AMD64 there.
Added a patch provided by Oles Hnatkevych
<don_oles@able.com.ua> for FreeBSD systems where the root
file system is on a CD9660 device.
Added compensation for the disappearance of FMARK and FDEFER
from the FreeBSD 8.0-CURRENT <sys/file.h>.
Updated FreeBSD lsof with ZFS support. Larry Rosenman
<ler@lerctr.org>, Erwin Lansing <erwin@FreeBSD.org>, Wesley
Shields <wxs@atarininja.org> and Dmitry Morozovsky
<marck@rinet.ru> provided test systems.
Fixed a socket file identification problem reported by
Pavol Rusnak <stick@gk2.sk>. Pavol also reported the
cause of the problem.
Added the ability to format the repeat mode marker line
with strftime(3), where the dialect supports the
localtime(3) and strftime(3) C library functions. The
addition was suggested by Mike Depot <mdepot@comcast.net>,
who also tested it. The addition required creating a new
main lsof source module, util.c, that contains functions
whose compilation conflicts with the general header file
tree defined by lsof.h and dlsof.h.
Based on reports from Andrei V. Lavreniyuk
<andy.lavr@reactor-xg.kiev.ua> and Pav Lucistnik
<pav@FreeBSD.org> updated the FreeBSD 7.0 and above
file lock handling to use new locking structures. The
update requires a terrible hack to get a definition for
the lock owner structure from a kernel source module
into a local lsof header file.
- Add lmgr_is_locked() function to test if a thread own a mutex
- Remove comment field added in last patch
- Check if sql backend is thread-safe
- Fix cancel crash reported by Stephen Thompson
- fix grant_postgresql_privileges doesn t grant permissions on jobhisto_jobid_seq
- Add lock position info to volume manager
- Permits to use lock manager with file/line from outside
- Replace ASSERT in block.c with fail Job
- Use uint32_t for max_concurrent_jobs
- Use file and line for rwlock and lmgr in db_lock()
- Add File and Line info to rw_lock for lmgr
- Fix database locking calling db_lock and returning from function without
calling db_unlock.
- Add missing db_unlock to bvfs_update_cache.
- Allow users to build bat without static QT if desired.
- Fix for qt mkspecs location on Fedora 12.
- Another fix for OpenSSLv1
- Add -lrt to Solaris links
- Fix tls.c for OpenSSLv1
- Fix plugin load not to stop if one plugin bad -- pointed out by James
- Remove --without-qwt from configure statement.
- Fix bug in bvfs_update function, should work much better now
- Lets not generate the ingres code automatically when the .sc or .sh files
changes as it seems these files get outdated on some systems and then this
rule kicks in on systems that don't have the esqlcc ingres compiler installed.
- Fix CentOS detection in regression get-os script
- Create subroutines to add exclusion for plugins
- This adds sql debugging to these classes that Eric wrote.
- This is a 1/2 fix of the issue. It allows for the sorting of the two non
graphic columns, but still does not allow for sorting the graphic columns.
The issue is with last. By setting the sort value, you are setting the value
on the last. To experiment with what I mean, use the set background that I
have commented out in this commit.
- Fix OpenSSL 1.x problem in crypto.c on Fedora 12
- Display AllowCompress warning message only if compression used in FileSet
- Added comment on dbi backend needing a recent version of libdbi from CVS as
the version currently released 0.8.3 wont work for compiling the code.
- Add Warning check to SQL
- Fix readline to use TERM_LIB found for conio
- Move bacula shared objects in separate bacula-libs package.
- Fix for termcap lib on suse.
- Fix for shared objects name convention change.
- Remove mandrive and suse bacula.spec from configure
- Fix compile link flags for gigaslam
- Add missing defines for gccver.
etcutils is a package that provides standalone utilities to manipulate some
of the configuration files in /etc in a programmatic manner. Some of these
files can be seen as databases and, as such, they should have tools to
update them.
The utilities provided by etcutils are designed to permit their integration
into packaging systems. Once integrated, packages can use these tools to
automatically modify these system-wide configuration files without having
to care about portability issues. Of course, these utilities provide a
command-line interface that resembles that of other standard tools, and
thus their manual usage is also possible.
The following utilities are provided:
* services(8): Add, list, remove and check the presence of entries in the
services(5) database.
* shells(8): Add, list, remove and check the presence of entries in the
shells(5) database.
D-Bus Python Bindings 0.83.1 (2010-02-18)
=========================================
Fixes:
* fd.o #21172: avoid some deprecation warnings in Python 2.6
* fd.o #15013: add dbus.lowlevel.MESSAGE_TYPE_SIGNAL etc., for those who care
about message types at a low level
* When removing signal matches, clean up internal state, avoiding a memory
leak in long-lived Python processes that connect to signals from arbitrarily
many object paths (fd.o #17551, thanks to Marco Pesenti Gritti)
* When setting the sender of a message, allow it to be org.freedesktop.DBus
so you can implement a D-Bus daemon in pure Python (patch from Huang Peng)
All:
- New autoconf test checks whether fnmatch() has a working FNM_IGNORECASE
- New autoconf test for strlcat() wcslcat() strnlen() wcsnlen()
Libschily:
- Schily fnmatch() now supports FNM_IGNORECASE
- New files strlcat.c wcslcat.c strnlen.c wcsnlen.c
Libfind:
- libfind bumped to version 1.5
- New file libfind/find_tok.h to separate the token names from the rest of the implementation.
- Moved token definitions from find.c to find_tok.h
- The primary -perm now implements a new feature:
-perm +mode will evaluate as true if any of the bits set in mode are set in the
permission bits fro a file.
- A bug with -exec introduced with using vfork() instead of fork() was fixed.
The replacement of the string "{}" now works correctly again even if the location
of the path in memory was changed during a realloc().
- New primary operators:
-amin deprecated - only for GNU find compatibility
-cmin deprecated - only for GNU find compatibility
-mmin deprecated - only for GNU find compatibility
-empty TRUE zero sized plain file or empty directory
-execdir program [argument ...] \\;
-fls file list files similar to 'ls -ilds' into 'file' (always TRUE)
-fprint file print file names line separated into 'file' (always TRUE)
-fprint0 file print file names nul separated into 'file' (always TRUE)
-fprintnnl file print file names space separated into 'file' (always TRUE)
-ilname glob TRUE if symlink name matches shell glob
-ilpat pattern TRUE if symlink name matches pattern
-iname glob TRUE if path component matches shell glob
-ipat pattern TRUE if path component matches pattern
-ipath glob TRUE if full path matches shell glob
-ippat pattern TRUE if full path matches pattern
-okdir program [argument ...] \\;
-print0 print file names nul separated to stdout (always TRUE)
-executable TRUE if file is executable by real user id of process
-readable TRUE if file is readable by real user id of process
-writable TRUE if file is writable by real user id of process
Mkisofs (Maintained/enhanced by J
- Do no longer archive the output file if it is part of the archives directory
tree.
- New option -data-change-warn allows to prevent mkisofs from aborting when
a file changes size.
-data-change-warn is implemented via errctl="WARN|GROW|SHRINK *"
- Print a hint to the option -data-change-warn if a shrunk/grown file is detected.
- Print a hint to the option -no-limit-pathtables in case that there are more
than 65535 parent directories in the target filesystem.
- Print hints on using -joliet-long or on avoiding -J in case that there are
file names that do not fit into 64 chars.
using pkg options lsof-more-secure and lsof-less-secure-sockets.
Also change the way the option are applied, the same way that the Customize
script does and it works on all supported dialects.
bcollect is a tool for backing up remote hosts to local directories. It
can keep a defined number of copies for specific backup intervals to
give you a backlog of available backups for restoring data.
bcollect keeps its backups directly accessible as files and directories
so you can search through them and access files with regular tools and
just copy files back as needed.
In order to save space, bcollect uses hardlinks between different
instances of the same backed-up host so multiple backups don't take up
the same space multiple times. Only files which are actually different
between two backups actually occupy space. If the file has not been
changed, a reference will be created to the original file.
is automatically done by the installation scripts by creating the directory
inside sysconfdir (where it belongs).
Other than removing an unecessary directory creation, this prevents leaving
a directory behind upon package removal.
Bump PKGREVISION.
header dpmsstr.h. AFAICT through manual inspection of the code, none
of the symbols nor constants provided by the header still present in
xsrc are used.
Packages Collection.
It is often a pain to write a server program that supports graceful
restarts, with no resource leaks. The Perl 5 module Server::Starter,
solves the problem by splitting the task into two. One is start_server,
a script provided as a part of the module, which works as a superdaemon
that binds to one or more TCP ports, and repeatedly spawns the
server program that actually handles the incomming commenctions.
The spawned server programs under Server::Starter call accept(2)
and handle the requests.
Synced the netbsd support patch from xsrc HEAD, with a minor tweak:
Now we first try to map memory in the newfangled /dev/pciN way.
If that fails, then we fall back to /dev/mem.
We need to do this to deal with netbsd-5 and earlier.
Add NetBSD/sparc64 to the list of supported platforms.
Upstream changes:
0.11.0:
Add pci_device_get_parent_bridge()
I/O port access routines
Fix pci_device_open_io() to actually return something useful
Fix I/O handle array allocator to work for devices past the first
libpciaccess 0.11.0
.gitignore: use common defaults with custom section # 24239
Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
Deploy the new XORG_DEFAULT_OPTIONS #24242
INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
0.10.9:
vgaarb: check pci_sys exists before initing vga arb
shutup stupid gcc warning, strtok_r ignores the first parameter
Free return value from scandir instead of leaking it.
vgaarb: check for fd before close it
vgaarb: fix newbie typo
All:
- Added support for DragonFly/x86_64
- Support for "pcc" on Solaris x86 was added as a first step.
The C-Compiler "pcc" http://pcc.ludd.ltu.se/ is based on the
Portable C-Comppiler from AT&T from the late 1970s. It is
under BSDl and thus offers compilation with a really free
build environment.
Note that due to a pcc bug, the autoconf results for
Large File support are incorrect. Unless you edit the file
incs/i386-sunos5-pcc/xconfig.h and manually correct the
file to contain this:
#define _FILE_OFFSET_BITS 64 /* # of bits in off_t if settable */
You will not get working large file support.
Support for more Operating system will follow after the issues
in the compiler have been resolved.
Libfind:
- Fixed a bug in libfind/walk.c (calling strcatl() with last parameter 0
instead of (char *)0)
Cdrecord:
- Fixed a bug with INDEX 00 support for CUE files from
ExactAudioCopy
- Cdrecord no longer tries to close a session on a BD-RE media.
This is not supported in the recent MMC Standard and most drives
return a SCSI error when attempting to close such a session.