Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136187 - app-admin/sysklogd-1.4.2 version reported by syslogd and klogd is 1.4.1
Summary: app-admin/sysklogd-1.4.2 version reported by syslogd and klogd is 1.4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-09 06:18 UTC by Gilles Espinasse
Modified: 2006-12-31 01:48 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 Gilles Espinasse 2006-06-09 06:18:18 UTC
I understand versionning is complicated by the fact that no updated release is delivered by package developpers.
But should not ebuild version accord to package version?

emerge --search sysklogd
Searching...
[ Results for search key : sysklogd ]
[ Applications found : 1 ]

*  app-admin/sysklogd
      Latest version available: 1.4.1-r11
      Latest version installed: 1.4.2
      Size of downloaded files: 79 kB
      Homepage:    http://www.infodrom.org/projects/sysklogd/
      Description: Standard log daemons
      License:     BSD

syslogd -v
syslogd 1.4.1
klogd -v
klogd 1.4.1

owl or LSF packagees mostly have the same problem (I look only at patches and don't try to run). 
They use syklogd-1.4.1.tar.gz and many sysklogd-1.4.2-*.diff but none of them change version.h to 1.4.2
In cvs.infodrom.org version.h is still
#define VERSION "1.4"
#define PATCHLEVEL "1"
If one claim to have 1.4.2, version.h should be updated

Following patch should help

cvs diff: Diffing .
Index: version.h
===================================================================
RCS file: /var/cvs/infodrom/sysklogd/version.h,v
retrieving revision 1.4
diff -u -r1.4 version.h
--- version.h   11 Mar 2001 19:40:10 -0000      1.4
+++ version.h   9 Jun 2006 13:14:31 -0000
@@ -1,2 +1,2 @@
 #define VERSION "1.4"
-#define PATCHLEVEL "1"
+#define PATCHLEVEL "2"


As a note, I attempt to run syslogd with -u syslog following settings made in owl sysklogd.specs but it fail for me to restart with
kill -HUP `cat /var/run/syslogd.pid`
Comment 1 Gilles Espinasse 2006-06-12 13:28:41 UTC
I solve my problem to use syslogd as syslogd user with -u syslogd option

Add log files in syslogd group is not enough.
To reopen /dev/tty device after -HUP, it is necessary to add syslogd user to tty group 
Every thing look to work, I test log to a remote server or locally, changing the remote log address.
Comment 2 SpanKY gentoo-dev 2006-12-31 01:48:07 UTC
fixed in cvs