Bug 37738

Summary: Перестал учитывать /etc/multitail.conf
Product: Sisyphus Reporter: Evgenii Terechkov <evg>
Component: multitailAssignee: Ilya Mashkin <oddity>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: oddity
Version: unstable   
Hardware: all   
OS: Linux   

Description Evgenii Terechkov 2020-01-09 08:43:51 MSK
После обновления с 6.4.2-alt1@1449699952 до 6.5.0-alt1:sisyphus+243938.100.1.1@1578522132 стал игнорироваться /etc/multitail.conf. Трассировка показывает:

=8<=====================================================================
#strace -e trace=%file multitail /var/log/message

openat(AT_FDCWD, "/usr/local/etc/multitail.conf", O_RDONLY) = -1 ENOENT (Нет такого файла или каталога)
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/root/.multitailrc", O_RDONLY) = -1 ENOENT (Нет такого файла или каталога)
stat("/var/log/messages", {st_mode=S_IFREG|0640, st_size=115714, ...}) = 0
stat("/var/spool/mail/root", 0x4451a0)  = -1 ENOENT (Нет такого файла или каталога)
Could not determine size of file '/var/spool/mail/root' (which is supposed to be your mailfile): mail-check is disabled.
You can prevent this message by adding the line 'check_mail:0' in /usr/local/etc/multitail.conf or in .multitailrc in your home-directory.

Press enter to continue...
=8<=====================================================================

Ручное указание --config /etc/multitail.conf помогает (check_mail выключается).
Comment 1 Repository Robot 2020-01-10 01:09:32 MSK
multitail-6.5.0-alt2 -> sisyphus:

 Fri Jan 10 2020 Ilya Mashkin <oddity@altlinux.ru> 6.5.0-alt2
 - Try to find/to not ignoring multitail.conf file (Closes: #37738)