When using the newhidups driver from Network UPS Tools, the shutdown command requires /proc/bus/usb to be mounted rw. However, when doing an automatic shutdown, the ups-command is called last, after all filesystems are unmounted/remounted-ro. An ugly fix is to add mount -n -o remount,rw /proc/bus/usb in the ups_kill_power() function. A more elegant solution (which might be flawed, since I'm no expert at this) is to exclude /proc, /proc/bus/usb, /sys and other virtual filesystems from the ro-remount. I don't think there is any disadvantage in having these mounted RW at shutdown, since they can't get corrupted... Reproducible: Always Steps to Reproduce: 1. 2. 3.
i think it's time we split the ups cruft out of baselayout and into an addon
(In reply to comment #1) > i think it's time we split the ups cruft out of baselayout and into an addon Would be nice In the meantime, baselayout-1.13.0_alpha8 won't remount /proc/bus/usb read-only.
Fixed in baselayout-1.13.0_alpha8 However, I can't test it, so any feedback is welcome :)