Bug 37738 - Перестал учитывать /etc/multitail.conf
Summary: Перестал учитывать /etc/multitail.conf
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: multitail (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Ilya Mashkin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-09 08:43 MSK by Evgenii Terechkov
Modified: 2020-01-13 06:11 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)