Opened 3 weeks ago

Closed 3 weeks ago

#5615 closed enhancement (fixed)

sysvinit-3.12

Reported by: Bruce Dubbs Owned by: lfs-book
Priority: normal Milestone: 12.3
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (2)

comment:1 by Bruce Dubbs, 3 weeks ago

sysvinit (3.12)

  • There were instances of the ctime() function being called in multiple files without checking the return value (can be NULL) and without checking the length of the returned information. While there _should_ never be a case where ctime() fails assuming success and length of returned string isn't ideal (or future-proof). We now check the return value of ctime() in bootlogd, dowall, last, logsave, and shutdown. Where no valid value is returned we supply a dummy value (usually a space in place of the expected time stamp). We also no longer assume returned string is at least 11-16 characters.

  • Re-commit flexible Makefile for GoboLinux.

  • Make sure pty.h and sys/sysmacros.h are included when building bootlogd on systems with glibc.

  • Fixed typos and syntax in manual page for init.8. Edits provided by : Bjarni Ingi Gislason.

  • Allow setting of location of the /usr directory in src/Makefile. This is handled by the usrdir variable.

  • Make sure src/Makefile uses sysconfdir (/etc by default) when installing configuration files.

  • Fix typos and syntax in pidof manual page.

comment:2 by Bruce Dubbs, 3 weeks ago

Resolution: fixed
Status: newclosed

Fixed at commit 7a01f6150f.

Note: See TracTickets for help on using tickets.