Bug 45455 - при включенном режим debug создается файл /var/run/dovecot/journald
Summary: при включенном режим debug создается файл /var/run/dovecot/journald
Status: CLOSED WORKSFORME
Alias: None
Product: Branch p10
Classification: Unclassified
Component: dovecot (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: qa-team@altlinux.org
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-02 08:24 MSK by Generic
Modified: 2023-03-02 11:22 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 Generic 2023-03-02 08:24:37 MSK
Нашел небольшой баг в dovecot на Alt server P10. Когда я включил режим debug в файле 
/etc/dovecot/dovecot.conf
, то вместо того, чтобы увидеть отладочные данные через 
journald -u dovecot -f

я нашел отдельный файл journald в том месте где находится сама программа с отладочной информацией в 
/var/run/dovecot

Это было неожиданно!
dovecot --version
2.3.19.1 (9b53102964)
Comment 1 Generic 2023-03-02 08:25:42 MSK
Debug я включил добавлением в /etc/dovecot/dovecot.conf следующих строк:

# For debug
mail_debug = yes
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
auth_verbose_passwords = plain
Comment 2 Alexander Makeenkov 2023-03-02 11:22:09 MSK
Не удаётся воспроизвести:

# rpm -q dovecot
dovecot-2.3.19.1-alt2.x86_64

# grep -E "_debug|_verbose" /etc/dovecot/dovecot.conf
mail_debug = yes
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
auth_verbose_passwords = plain

# ls /var/run/dovecot | grep -c journal
0

# l /var/run/dovecot/journald
ls: невозможно получить доступ к '/var/run/dovecot/journald': Нет такого файла или каталога