On 28.07.2016 23:39, Tomasz Pala wrote:

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...
you could as well fix the script to always replace /dev/ipmi0 if /dev is static

--
glen

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to