After releasing a minor update for mc-installer
, successfully testing for a couple of days, the snap now fails to load.
I strongly suspect that the issue is with the minecraft-launcher
binary as the logs seem to indicate that $SNAP_USER_DATA
is being blacklisted. See logs here.
Here’s the snippet that leads me to believe it’s the binary to blame:
[Info: 2021-03-03 19:46:38.213901315: NetQueue.cpp(154)] NetQueue: Setting up.
[Info: 2021-03-03 19:46:38.214018215: mainLinux.cpp(160)] Running launcher bootstrap (version 887)
[Error: 2021-03-03 19:46:38.216427967: Settings.cpp(40)] Failed to open configuration file: Permission denied
[Debug: 2021-03-03 19:46:38.216997706: SentryAPI.cpp(314)] The string '/home/james/snap/mc-installer/538' was added to the logging blacklist
[Debug: 2021-03-03 19:46:38.217012414: SentryAPI.cpp(314)] The string '///home/james/snap/mc-installer/538' was added to the logging blacklist
[Debug: 2021-03-03 19:46:38.217024687: SentryAPI.cpp(314)] The string '/home/james' was added to the logging blacklist
[Debug: 2021-03-03 19:46:38.217036259: SentryAPI.cpp(314)] The string '///home/james' was added to the logging blacklist
[Debug: 2021-03-03 19:46:38.217049383: SentryAPI.cpp(314)] The string '/home/james/.minecraft' was added to the logging blacklist
[Debug: 2021-03-03 19:46:38.217061235: SentryAPI.cpp(314)] The string '///home/james/.minecraft' was added to the logging blacklist
[Debug: 2021-03-03 19:46:38.217073879: SentryAPI.cpp(314)] The string '/home/james/.minecraft/runtime' was added to the logging blacklist
[Debug: 2021-03-03 19:46:38.217086853: SentryAPI.cpp(314)] The string '///home/james/.minecraft/runtime' was added to the logging blacklist
[Debug: 2021-03-03 19:46:38.217102363: SentryAPI.cpp(314)] The string '/tmp' was added to the logging blacklist
[Debug: 2021-03-03 19:46:38.217114425: SentryAPI.cpp(314)] The string '///tmp' was added to the logging blacklist
Then:
Info: 2021-03-03 19:46:38.444403363: PistonUpdate.cpp(632)] Target path: .../.minecraft/launcher
Failed to iterate over the /home/james/.minecraft/launcher directory: Permission denied
Again, this snap has been working for some time, with the same path $SNAP_USER_DATA/minecraft-launcher/./minecraft-launcher
I’ve tried a few changes to the launch
script used by the snap, but no joy.
Here’s a link to my repo.
I’m actually concerned that I can’t resolve this and the snap will be retired. Hopefully, someone smarter than me can help.
TIA!