[packages/ipmitool] do not suggest some crafted script when there are contemporary and generic module loaders

Tomasz Pala gotar at polanet.pl
Thu Jul 28 22:39:36 CEST 2016


On Thu, Jul 28, 2016 at 14:08:35 +0200, Arkadiusz Miśkiewicz wrote:

>> Local IPMI handling is *required* for watchdog only,
> 
> ipmievd is another local user.

Can be remote as well: -H. As it's more reliable to handle BMC from
separate machine than the monitored one. OTOH /dev/watchdog must be
handled from within the same system, and it is by PID=1 (systemd).


And take a look at this ipmi.init - it creates static device node (in
non-devfs systems) with RANDOM (not permanently assigned in kernel) major!

if [ ! -c /dev/ipmi0 ] && [ $RETVAL -eq 0 ]; then
	major=$(awk '/ ipmidev$/{print $1}' /proc/devices)
	/bin/mknod -m 0600 /dev/ipmi0 c $major 0 || RETVAL=1

who knows what device would become available at /dev/ipmi0 at next
reboot... (unless cleaned in rc.sysinit). This package should be banned,

I'm considering C: ipmi-init somewhere, but I'm not sure where to put it...

-- 
Tomasz Pala <gotar at pld-linux.org>


More information about the pld-devel-en mailing list