Public bug reported: I noticed that my system was going into standby at odd times, when it should have been staying on. I make use of the DiskMonitor plugin that I authored some time back.
I investigated and found that the InputMonitor doesn't seem to be loading/parsing correctly at init time (see attached log file '*.broke'). At least, it doesn't list as 'starting' in in the debug log with DEBUG=3 set. Since the DiskMonitor loads after the InputMonitor, it too is not getting loaded properly. I found that if I change the order of the config stanzas in the config file and put the DiskMonitor above the InputMonitor, it loads properly and works as expected. I'm guessing that something is going wrong with the parsing/loading of the InputMonitor options and so the DiskMonitor options do not get reached in the config file. I will attach 3 files. The first powernap.config.diff contains the differences between the default config file and my working config file that allows DiskMonitor to load and work properly. The second powernap.log.broke shows the DEBUG=3 output of /var/log/powernap.log when I load with DiskMonitor as the last config stanza. Note that neither the InputMonitor or DiskMonitor stanza is being loaded. The final powernap.log.works shows the DEBUG=3 output of /var/log/powernap.log when I load using the config file as described by powernap.config.diff above. In this run I have simply moved the DiskMonitor stanza above the InputMonitor stanza. Note that the DiskMonitor plugin now loads. Note also that the InputMonitor stanza still does not load. ** Affects: powernap (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/899927 Title: powernap 2.15-0ubuntu2 InputMonitor not working also breaks DiskMonitor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/899927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs