On Sat, 2012-01-07 at 21:00:59 +0100, Mats Erik Andersson wrote: > lördag den 7 januari 2012 klockan 20:32 skrev Guillem Jover detta: > > logger is part of bsdutils, an «Essential: yes» package, providing > > inetutils-logger would imply the package has to divert the always > > installed logger executable. The command line options would need to > > be compatible (at least from utils-linux ??? inetutils). > > Would not a diversion be avoided with: > > package: inetutils-logger > > executable: /usr/bin/inetutils-logger > > This is my suggestion, like you did with "/usr/bin/inetutils-traceroute". > My hope is to have the tool from bsdutils present alongside the specialized > "inetutils-logger" for uncommon purposes.
Oh, sure, but then logger (in contrast to traceroute) is a tool mostly used by scripts so renaming it seems to make it lose some (or most) of its appeal. And IMO the incompatible command line is still an issue. But then there does not seem to be much of a standard anyway, as seen from the FreeBSD logger command line interface. > > I guess you mean IPv6 when you say INET? That's certainly a nice > > feature, but I'm not sure all the previous drawbacks outweight it. > > The logger from bsdutils uses only UNIX sockets, whereas inetutils-logger > is able so sent messages directed to IPv4 and IPv6 INET sockets, hence my > phrasing "INET socket", in addition message passing to host local UNIX > sockets. Well I see bsdutils' logger supporting IPv4 UDP and TCP connections, in addition to Unix sockets, witness its --socket, --udp, --server and --port options. > > There's also the options of adding IPv6 support (which would be > > trivial) to util-linux's logger. > > My util-linux-2.19.1 does not supply anything similar to logger(1), > and I would like to see a new tool available on all platforms. Sorry, I was referring to util-linux as a source package, not its binary counterpart. bsdutils is produced from that source package. You can find logger on util-linux/misc-utils/logger.c. Also util-linux is built on all Debian architectures, regardless of what its name might indicate. regards, guillem -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

