← Back to issue list

snap-based programs complain about locale, permission

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1982401
Type
issue
State
open
Author
~mardy
Labels
Created
Updated
Closed

Current evaluation

Snap-based programs (Chromium, Firefox) report locale and .bashrc permission errors when executed. Issue is 1505 days old with no maintainer engagement, labels, or comments.

Suggested action: needs triage

Reason: The issue has no labels, no maintainer comments, and no assignee, indicating it has not been triaged. Despite being 1505 days old, there's no evidence it has been resolved or is no longer relevant. The issue concerns snapd behavior when running snap packages, which may require clarification on whether this belongs in the snapcraft repository or should be redirected to snapd.

Impact: 55 Quick Win: 35.75 Staleness: 85 Complexity: 35 Confidence: 65 Support Request: 25

Issue body

This is a followup to Launchpad Bug#1959845, with more information about the bug. I am running Ubuntu 22.04 LTS on x86-64 with current patches. I have snapd 2.55.5+22.04. When I run the shell command "chromium --version" and attempt to debug the resulting situation a bit, I see the following: $ chromium --version /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) /bin/bash: /home/eggert/.bashrc: Permission denied Chromium 103.0.5060.114 snap $ echo $SHELL /bin/bash $ ls -l $HOME/.bashrc -r--r--r-- 1 eggert eggert 420 Apr 25 2002 /home/eggert/.bashrc $ env | grep en_US LC_ALL=en_US.utf8 $ locale LANG=C LANGUAGE= LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL=en_US.utf8 $ locale -a | grep en_US en_US.iso885915 en_US.utf8 $ LC_ALL=C chromium --version /bin/bash: /home/eggert/.bashrc: Permission denied Chromium 103.0.5060.114 snap As you can see, I get some bogus diagnostics about the locale and the .bashrc permissions. My locale is fine - though evidently snap packages can't use it. I do have a .bashrc file. This file is not executable and it shouldn't be executable as it's not intended to be a standalone command. It has worked just fine for decades, when I log in via Bash or run Bash in the usual way. I reported a similar problem with Firefox in Launchpad Bug#1959845, and the response was "this is a bug with the snap packaging of Firefox, not with snapd. Please file a bug with Mozilla upstream". Although I did so here: https://bugzilla.mozilla.org/show_bug.cgi?id=1753320 their response was that it wasn't a Firefox bug. And now that I see a similar problem with Chromium it appears that this is a snapd issue, not an issue with individual programs.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 55
Quick Win: 35.75
Staleness: 85
Complexity: 35
Confidence: 65
Support Request: 25
needs triage Snap-based programs (Chromium, Firefox) report locale and .bashrc permission errors when executed. Issue is 1505 days old with no maintainer engagement, labels, or comments.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 45
Confidence: 85
Support Request: 20
close stale User reports snap-based programs trigger bash locale and .bashrc permission warnings. Unlabelled, no maintainer comments, inactive for ~4 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 60
Confidence: 80
Support Request: 10
close stale Snap-based programs trigger bash warnings about locale and .bashrc permissions. The report is unlabelled, has zero maintainer comments, and has been inactive for over four years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 60
Confidence: 85
Support Request: 15
needs triage Reports snapd spawning bash with incorrect locale and false permission denied warnings for .bashrc when running snap packages. Untriaged, no maintainer comments, over 3 years old.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 55
Confidence: 70
Support Request: 15
needs triage Unlabelled issue reporting snapd runtime warnings about locale and .bashrc permissions when running snap packages. No maintainer response or comments in over three years, requiring initial assessment to verify current reproducibility.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.