Bug 45932 - Pvestatd does not start when specifying table in ipv4 route
Summary: Pvestatd does not start when specifying table in ipv4 route
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: pve-common (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Andrew Vasilyev
QA Contact: qa-sisyphus
URL:
Keywords:
: 45931 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-21 19:18 MSK by Тимoфей Смирнoв
Modified: 2023-11-15 19:27 MSK (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Тимoфей Смирнoв 2023-04-21 19:18:28 MSK
Specifying anything other than default via in ipv*route causes pvestatd to throw an error and not boot:
Etcnet reader: /etc/net/ifaces/vmbr0/ipv4route: unrecognized line "classified" table "classified" via "classified" at /usr/share/perl5/PVE/INotifyEtcnetOverride.pm line 614, <$fh> line 2.
Compilation failed in require at /usr/bin/pvestatd line 6.
BEGIN failed--compilation aborted at /usr/bin/pvestatd line 6

A temporary solution to ignore such entries and use comments:
/usr/share/perl5/PVE/INotifyEtcnetOverride.pm

#<----->} else {
#<----->    die  "Etcnet reader: $path: unrecognized line $line";
Comment 1 Тимoфей Смирнoв 2023-04-21 19:18:57 MSK
pve-manager-7.2.11-alt5.x86_64
Comment 2 Evgeny Shesteperov 2023-05-01 11:18:58 MSK
*** Bug 45931 has been marked as a duplicate of this bug. ***
Comment 3 Evgeny Shesteperov 2023-05-18 21:05:42 MSK
Текущая версия в Sisyphus: 7.4.3-alt4

Также воспроизводится в P10.
Comment 4 Vitaly Lipatov 2023-05-19 14:21:40 MSK
Пример проблемной строки:
default table promtest via 81.23.19.18
Comment 5 Andrew Vasilyev 2023-05-26 18:01:00 MSK
  Проверьте с заданием #321941
Comment 6 Egor S. Orlov 2023-11-12 01:08:47 MSK
Задание #321941 помогло исправить ошибку запуска PVE-шных служб при наличии статического маршрута в ipv4route
Comment 7 Repository Robot 2023-11-15 01:02:48 MSK
pve-common-7.4.1-alt2 -> sisyphus:

 Fri May 26 2023 Andrew A. Vasilyev <andy@altlinux> 7.4.1-alt2
 - etcnet: skip unrecognized route line (ALT #45932)