Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65520 - syslog-ng conditional dependency gives strange message
Summary: syslog-ng conditional dependency gives strange message
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-27 05:25 UTC by Christophe Garault
Modified: 2004-09-28 20:04 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 Christophe Garault 2004-09-27 05:25:55 UTC
Hi,

this seems related to bug 60487. I've emerged syslog-ng 1.6.5 and since that, every time rc-update is called, I get this message:

 * Caching service dependencies...
xargs: Le param
Comment 1 Christophe Garault 2004-09-27 05:25:55 UTC
Hi,

this seems related to bug 60487. I've emerged syslog-ng 1.6.5 and since that, every time rc-update is called, I get this message:

 * Caching service dependencies...
xargs: Le paramètre double n'est pas repérable par apostrophe.

Now, if I remove or comment out the line containing the sed command, the message disappear. The message could be translated by something like:

xargs: double parameter can't be spotted by (single|double) quote.

--
Christophe Garault


Reproducible: Always
Steps to Reproduce:
1. emerge syslog-ng-1.6.5
2. run rc-update add somedaemon default
3. see message

Actual Results:  
Following message is displayed:
 * Caching service dependencies...
xargs: Le paramètre double n'est pas repérable par apostrophe.


Expected Results:  
No xargs message

Since emerge info doesn't give usefull information for this bug, here is the
content of my syslog-ng.conf file:

options {
        long_hostnames(off);
        sync(0);
        log_msg_size(8192);
        use_time_recvd(yes);
        keep_hostname(yes);
        chain_hostnames(no);
        create_dirs (no);
        time_reopen (10);
        use_dns(yes);
        use_fqdn(no);

        # The default action of syslog-ng 1.6.0 is to log a STATS line
        # to the file every 10 minutes.  That's pretty ugly after a while.
        # Change it to every 12 hours so you get a nice daily update of
        # how many messages syslog-ng missed (0).
        stats(43200);
};

source src { unix-stream("/dev/log"); internal(); udp(); pipe("/proc/kmsg"
log_prefix("kernel: ")); };

#28/08/2004 Ajout des logs du routeur
#source s_udp { udp(); };

#destination d_routeur { file("/var/log/routeur.log"); };
destination messages { file("/var/log/messages"); };


destination d_pgsql {
        pipe("/tmp/pgsql.pipe"
                template("INSERT INTO public.logs (Log_Host, Log_Facility,
Log_Priority, Log_Tag, Log_Date,
                          Log_Time, Log_Program, Log_Message) VALUES ( '$HOST',
'$FACILITY', '$PRIORITY', '$TAG',
                          '$YEAR-$MONTH-$DAY', '$HOUR:$MIN:$SEC', '$PROGRAM',
'$MSG' );\n"
                         )
                template-escape(yes)
            );
};


# By default messages are logged to tty12...
destination console_all { file("/dev/tty12"); };

# ...if you intend to use /dev/console for programs like xconsole
# you can comment out the destination line above that references /dev/tty12
# and uncomment the line below.
#destination console_all { file("/dev/console"); };

log { source(src); destination(messages); };
log { source(src); destination(console_all); };
log { source(src); destination(d_pgsql); };

#log { source(s_udp); destination(d_routeur); };
Comment 2 SpanKY gentoo-dev 2004-09-27 19:52:29 UTC
you neglected to provide `emerge info`

also what version of gawk/xargs do you have ?
Comment 3 Christophe Garault 2004-09-28 01:37:11 UTC
Spanky here they are, hope this help:

marge root # xargs --version
Comment 4 Christophe Garault 2004-09-28 01:37:11 UTC
Spanky here they are, hope this help:

marge root # xargs --version
«xargs» de GNU version 4.1.20

marge root # gawk --version
GNU Awk 3.1.3

marge root # emerge info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.4.27)
=================================================================
System uname: 2.4.27 i686 AMD Duron(tm)
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -funroll-loops -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share
/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/c
onfig/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -funroll-loops -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/ http://gentoo.mirror.sdv.fr http://212.219.247.12/sites/www.ibiblio.org/g
entoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.rxd.hu http://212.219.247.10/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dfx 3dnow Xaw3d aalib acl adns aim apache2 audiofile avi berkdb bindist bitmap-fonts bonobo caps crypt cscope cups
 curl directfb divx4linux doc encode ethereal fastcgi fbcon fdftk flac flash foomaticdb freetds gd gdbm ggi gif gnome gp
m gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap imlib innodb jabber java jikes jpeg junit kde kerberos krb4 lcms
 ldap lesstif libg++ libgda libwww mad maildir mbox mcal md5sum mikmod mmx motif mozilla mpeg mpi msn mysql ncurses nls
nocd oci8 odbc oggvorbis opengl oscar pam pdflib perl pg-hier pg-intdatetime pg-vacuumdelay png postgres ppds prelude py
thon qt quicktime readline ruby samba sasl sdl slang slp snmp socks5 speex spell sqlite sse ssl svga tcltk tcpd tetex th
eora tiff truetype unicode usb vhosts wmf wxwindows x86 xface xml2 xprint xv xvid yahoo zeo zlib"
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-09-28 19:22:46 UTC
I see what's wrong here. I'll work on fixing it
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2004-09-28 20:04:38 UTC
Fixed, bumped, and committed with permission from Mr_Bones_...

Thanks for reporting the problem.