Opened 3 months ago

Closed 3 months ago

#5509 closed enhancement (fixed)

sysklogd-2.5.2 (new upstream)

Reported by: Xi Ruoyao Owned by: lfs-book
Priority: normal Milestone: 12.2
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description (last modified by Xi Ruoyao)

New major version.

New upstream: https://github.com/troglobit/sysklogd

Gentoo has switched to it for a long time.

Change History (4)

comment:1 by Xi Ruoyao, 3 months ago

Description: modified (diff)

comment:3 by Joe Locash, 3 months ago

From https://github.com/troglobit/sysklogd:

"Note: the project name remains sysklogd, which was a combination of the names of the two main daemons, syslogd and klogd. However, since v2.0 klogd no longer exists, kernel logging is now native to syslogd."

Since klogd was removed, the init script for sysklogd needs to be updated to reflect the removal. This should do it:

diff -Nuarp lfs-git.orig/bootscripts/lfs/init.d/sysklogd lfs-git/bootscripts/lfs/init.d/sysklogd
--- lfs-git.orig/bootscripts/lfs/init.d/sysklogd	2023-05-01 17:33:16.333233489 -0400
+++ lfs-git/bootscripts/lfs/init.d/sysklogd	2024-06-28 17:23:06.250812952 -0400
@@ -34,17 +34,9 @@ case "${1}" in
       parms=${SYSKLOGD_PARMS-'-m 0'}
       start_daemon /sbin/syslogd $parms
       evaluate_retval
-
-      log_info_msg "Starting kernel log daemon..."
-      start_daemon /sbin/klogd
-      evaluate_retval
       ;;
 
    stop)
-      log_info_msg "Stopping kernel log daemon..."
-      killproc /sbin/klogd
-      evaluate_retval
-
       log_info_msg "Stopping system log daemon..."
       killproc /sbin/syslogd
       evaluate_retval

comment:4 by Bruce Dubbs, 3 months ago

Resolution: fixed
Status: newclosed

Fixed at commit e91edadd00.

Note: See TracTickets for help on using tickets.