Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bluefin-cli container returns zsh: permission denied: /var/spool/mail/$USER randomly #108

Open
johnrellim opened this issue Jun 11, 2024 · 1 comment

Comments

@johnrellim
Copy link

johnrellim commented Jun 11, 2024

Describe the bug

When using the bluefin-cli container, it will randomly return zsh: permission denied: /var/spool/mail/$USER (username replaced with variable by me) in addition to whatever command was executed.

What did you expect to happen?

The command to be executed without extra output.

Output of rpm-ostree status

State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:40
                   Digest: sha256:873c7cbda1b9fd92f502dc621bfbe806bb56b4c6a7bd54400a23fd4b01d0cba1
                  Version: 40.20240611.0 (2024-06-11T20:27:57Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:40
                   Digest: sha256:a6603d0a788b9735a14c86896dd9a3ddc389a7c82ba4372bd02dc9c46ee7f14d
                  Version: 40.20240605.0 (2024-06-05T19:49:09Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:40
                   Digest: sha256:70341ff0c83bfbfda1e1fd87ef0a1ab97f39647c5ff77087dc79faa47f520824
                  Version: 40.20240423.0 (2024-04-23T16:59:16Z)
                   Pinned: yes
zsh: permission denied: /var/spool/mail/jrellim

Output of groups

jrellim nobody nobody nobody nobody nobody

Extra information or context

This only happens in the bluefin-cli container. The host, ubuntu, and fedora containers all operate as expected.

The specific command does not matter, I've had it return this on everything from cd to ls to the rpm-ostree status command located in this issue.

<bluefin> # whoami
jrellim
zsh: permission denied: /var/spool/mail/jrellim

This has lasted throughout multiple container updates, OS updates, and re-downloading of the bluefin-cli container. It seems to happen at regular intervals, almost like something is attempting to access that location in the background. I don't have any mail programs installed, or anything I am aware of that would want to access that location.

@m2Giles
Copy link
Member

m2Giles commented Jun 15, 2024

Check what is being sourced by your zsh startup files.

This looks like an issue with a module trying to show if you have any mail in your prompt.

Zsh is definitely the shell (that we ship) that we have the least amount of coverage on right now.

@castrojo castrojo transferred this issue from ublue-os/bluefin Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants