1. Do we think that adding the polkit stuff should be part of the "of-install squeezeplay" script, or is it part of upstream Squeezeplay, or something else? Would be good to get that upstream somewhere, but point me in the right direction if I should take that elsewhere!
2. Unrelated observation: I noticed that /tmp was mounted from /dev/sda2 - feels like that should just be tmpfs instead? I can confirm that this seems to work fine (I picked 8M although that's certainly way too much, only using 28K currently)
Code: Select all
# /etc/fstab
tmpfs /tmp tmpfs noatime,size=8M 0 0
Code: Select all
root@openframe:/tmp# du -h -d 0 /tmp
28K /tmp
3. Also, I'm glad (?) to report that all the other problems I had seemed to be caused by random filesystem corruption for whatever reason. Clues were all here:
viewtopic.php?t=5045&start=20
viewtopic.php?p=32683
I got into a messy bootloop recently, and a swift fsck sorted that out.
So that got me thinking - does it really make sense for the fstab to have the remount-ro flag but NOT have the pass=1 set (which would enable filesystem to be automatically fsck'd , as I understand it)? I'm not a Linux sysadmin so I don't really know what the downsides might be, it just seems like a good option to automatically fsck, rather than mount readonly and then get in a confusing slightly-unusable state. Thoughts?
Other thoughts - how many files are actually written to
in practice, apart from the /tmp and /var/log stuff? The main culprits seem to be the stuff in userpath/settings:
Code: Select all
root@openframe:/home/squeezeplay/.squeezeplay/userpath/settings# ls
AlarmSnooze.lua NowPlaying.lua SetupAppletInstaller.lua SlimDiscovery.lua
ChooseMusicSource.lua OpenFrameBacklight.lua SetupDateTime.lua
CustomizeHomeMenu.lua Playback.lua SetupLanguage.lua
DesktopJive.lua ScreenSavers.lua SetupWelcome.lua
It feels a bit like a bug that NowPlaying.lua is updated every few seconds with content that isn't actually changing. Fixing this (upsteam in Squeezeplay?) sounds like a good thing to look into. Happy to try, if you think that makes sense. (
Update: https://github.com/ralph-irving/squeezeplay/issues/18)