Bug#670585: "ok hat location is writable"
Dmitry Bogatov
KAction at debian.org
Wed May 8 05:38:43 BST 2019
[2019-05-06 07:33] Tito <farmatito at tiscali.it>
> [ Dmitry Bogatov ]
> > - log_success_msg "Done checking file systems.
> > -A log is being saved in ${FSCK_LOGFILE} if that location is writable."
> > + log_success_msg 'Done checking file systems'
> > + log_success_msg "Log is being saved in ${FSCK_LOGFILE} if that location is writable"
> > fi
> > fi
> Hi,
> maybe something like:
>
> if test -w ${FSCK_LOGFILE} ; then
> log_success_msg "Log is saved in ${FSCK_LOGFILE}
> else
> log_success_msg "Cannot save log in ${FSCK_LOGFILE}
> fi
Thank you, Tito. But I am not sure this is correct:
As I understand the whole point of "logsave" is that if directory of
logfile (/var/log/fsck) does not exist, "logsave" will wait till it
appears.
So, by the time we are logging this message, ${FSCK_LOGFILE} may not
exists yet, but its future content is hanging somewhere in memory of
"logsave" process.
Problem is that I do not understand, when /var/log/fsck exist for sure.
Collegues, I need help with evaluating proposed change.
--
Note, that I send and fetch email in batch, once every 24 hours.
If matter is urgent, try https://t.me/kaction
--
More information about the Debian-init-diversity
mailing list