Opened 10 years ago

Closed 10 years ago

#3516 closed task (invalid)

No need to create log files anymore

Reported by: Chris Staub Owned by: lfs-book@…
Priority: normal Milestone: 7.6-systemd
Component: Book Version: systemd
Severity: normal Keywords:


On the page that describes creating various files and symlinks just after chrooting, there are instructions to create several files in /var/log. These are no longer needed as systemd creates /var/log/{btmp,wtmp} itself, and doesn't use lastlog at all.

Attachments (1)

createfiles.patch (2.2 KB ) - added by Chris Staub 10 years ago.

Download all attachments as: .zip

Change History (4)

by Chris Staub, 10 years ago

Attachment: createfiles.patch added

comment:1 by Armin, 10 years ago

Neither of them are init system specific files. lastlog is still being used here, and it doesn't hurt that all of them are created during the build process.

comment:2 by bdubbs@…, 10 years ago

Milestone: 7.67.6-systemd

comment:3 by Armin, 10 years ago

Resolution: invalid
Status: newclosed

For the time being, I'd like to close this ticket. The files are indeed created at the boot, but it doesn't hurt that they are created before that. I'd like to stay as close to main lfs branch as possible.

Note: See TracTickets for help on using tickets.