I maintained a snap named tube-converter. There is a huge update in that app.
The application now shows a greeting on the start screen that changes depending on the time of day (code, screenshot), which requires knowing the current time.
This needs to read the /usr/share/zoneinfo-icu/44/le/timezoneTypes.res
I got this suggestion from the snappy-debug
Kindly allow this, as this makes the app more presentable and appearing to the users.
Check in a local build how the actual directory structure is in the dir you cd to, then add code to your override (ls and/or find whose output will end up in the log) to compare it to the remote build…
The local build is perfectly fine and snap produced by that process is in completely working condition. But the snapcraft remote-build also doesn’t works.
But point to be noted that the github workflow also runs perfectly fine.
@soumyaDghoshsystem-files should not be required for access to such timezone files - these are generally provided by the base abstraction in AppArmor - I notice that zoneinfo-icu is missing from the base abstraction so I have filed a MR with the upstream AppArmor project to get this added. https://gitlab.com/apparmor/apparmor/-/merge_requests/1007 - if this does get merged then we can look at adding something similar to snapd so this is granted for all snaps.
@soumyaDghosh I see @alexmurray merge request has been merged so I am removing this request from our review queue. If you have any further question, feel free to write here again and we will be happy to help.