Bug 30515 - не создаётся каталог данных для ipmiutil
: не создаётся каталог данных для ipmiutil
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/ipmiutil)
: unstable
: all Linux
: P3 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2014-11-27 15:59 by
Modified: 2014-11-27 19:24 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2014-11-27 15:59:52
Команда `ipmiutil sel -w` сохраняет индекс в каталоге /var/lib/ipmiutil
Этот каталог не создаётся ни при установке пакета, ни самим ipmiutil, в
результате возникает ошибка:

ipmiutil ver 2.83
isel: version 2.83
-- BMC version 2.14, IPMI version 2.0 
SEL Ver 0 Support 03, Size = 512 records (Used=4, Free=508)
StartWriting: cannot open /var/lib/ipmiutil/sel.idx
RecId Date/Time_______ SEV Src_ Evt_Type___ Sens# Evt_detail - Trig [Evt_data]
0001 03/27/14 06:44:30 MIN BMC  Platform Security #51 Chassis Intrusion 6f [f0
ff ff]
0002 03/27/14 16:15:50 MIN BMC  Platform Security #51 Chassis Intrusion 6f [f0
ff ff]
0003 03/27/14 17:52:22 MIN BMC  Platform Security #51 Chassis Intrusion 6f [f0
ff ff]
0004 01/01/70 05:00:35 MIN BMC  Platform Security #51 Chassis Intrusion 6f [f0
ff ff]
StopWriting: cannot open /var/lib/ipmiutil/sel.idx
ipmiutil sel, completed successfully

Вполне достаточно в скрипт установки пакета вставить
mkdir /var/lib/ipmiutil
или
install -d -m700 /var/lib/ipmiutil
------- Comment #1 From 2014-11-27 18:06:55 -------
Резонно.
------- Comment #2 From 2014-11-27 19:24:21 -------
ipmiutil-2.8.3-alt2 -> sisyphus:

* Thu Nov 27 2014 Michael Shigorin <mike@altlinux> 2.8.3-alt2
- added /var/lib/ipmiutil (closes: #30515)