Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 385071

Summary: app-admin/syslog-ng: init.d restart fails
Product: Gentoo Linux Reporter: Alexey Shvetsov <alexxy>
Component: Current packagesAssignee: Mr. Bones. (RETIRED) <mr_bones_>
Status: RESOLVED WORKSFORME    
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /etc/syslog-ng/syslog-ng.conf
/etc/conf.d/syslog-ng
/etc/init.d/syslog-ng

Description Alexey Shvetsov archtester gentoo-dev 2011-09-30 10:47:48 UTC
omrb ~ # /etc/init.d/syslog-ng restart 
 * Stopping syslog-ng ...
 * start-stop-daemon: no pid found in `/var/run/syslog-ng.pid'                                                                                                                [ ok ]
WARNING: the match() filter without the use of the value() option is deprecated and hinders performance, please update your configuration;
 * Starting syslog-ng ...
WARNING: the match() filter without the use of the value() option is deprecated and hinders performance, please update your configuration;
syslog-ng: Error creating pid file; file='/var/run/syslog-ng.pid', error='Permission denied'                   

so syslog-ng was started but init script failed


Portage 2.2.0_alpha60 (hardened/linux/amd64, gcc-4.5.3, glibc-2.13-r4, 3.0.3-hardened x86_64)
=================================================================
System uname: Linux-3.0.3-hardened-x86_64-Intel-R-_Core-TM-_i3_CPU_540_@_3.07GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 30 Sep 2011 10:00:01 +0000
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo aidecoe betagarden
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -mfpmath=sse -msse4"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -mfpmath=sse -msse4"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=native -mtune=native -mfpmath=sse -msse4"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/aidecoe /var/lib/layman/betagarden"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 audit bash-completion berkdb bzip2 caps cli cracklib crypt curl cxx device-mapper dri gdbm git gpm hardened iconv iproute2 ipv6 ithreads justify ldap logrotate lzma milter mmx mudflap multilib mysql ncurses netlink nls nptl nptlonly openmp pam pax_kernel pcre perl plugins pppd python readline resolvconf session spell sse sse2 ssl subversion sysfs syslog tcpd threads unicode urandom vhosts vim vim-pager vim-syntax xattr xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog apache bind cpu cpufreq disk entropy hddtemp iptables logfile mysql netlink network ntpd protocols sensors tail unixsock" DRACUT_MODULES="crypt lvm syslog caps" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="account chaos condition delude dhcpmac fuzzy geoip iface ipmark ipp2p ipset ipv4options length2 logmark lscan pknock psd quota2 rawnat steal sysrq tarpit tee checksum echo gradm"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2011-10-03 02:27:32 UTC
# /etc/init.d/syslog-ng restart
 * Caching service dependencies ...                                                                                                                                                               [ ok ]
 * Stopping syslog-ng ...                                                                                                                                                                         [ ok ]
 * Starting syslog-ng ...                                                                                                                                                                         [ ok ]


Works fine for me.  Attach your config files and the init.d script you're using please.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2011-10-04 22:43:14 UTC
reopen with that info please.
Comment 3 Alexey Shvetsov archtester gentoo-dev 2011-10-07 20:51:46 UTC
Created attachment 289115 [details]
/etc/syslog-ng/syslog-ng.conf
Comment 4 Alexey Shvetsov archtester gentoo-dev 2011-10-07 20:51:58 UTC
Created attachment 289117 [details]
/etc/conf.d/syslog-ng
Comment 5 Alexey Shvetsov archtester gentoo-dev 2011-10-07 20:52:08 UTC
Created attachment 289119 [details]
/etc/init.d/syslog-ng
Comment 6 Alexey Shvetsov archtester gentoo-dev 2012-03-12 21:02:39 UTC
Well. I cannot reproduce this anymore so may be we can close it?
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2012-03-13 02:18:18 UTC
ok, please reopen if you have more information.