-
Notifications
You must be signed in to change notification settings - Fork 19
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
6.1 & 6.2: t/29unreadable.t tests fail when run as root #27
Comments
Module::Pluggable added checks for unreadable files in v6.1 and v6.2. Those tests fail when installed as root, which may happen in a docker file, such as under github actions. While we have no explicit dependency on Module::Pluggable, our dependencies do, such as Config::Any. This is a bit of a crutch until Module::Plugable is patched. Upstream issue: simonwistow/Module-Pluggable#27
Module::Pluggable added checks for unreadable files in v6.1 and v6.2. Those tests fail when installed as root, which may happen in a docker file, such as under github actions. While we have no explicit dependency on Module::Pluggable, our dependencies do, such as Config::Any. This is a bit of a crutch until Module::Plugable is patched. Upstream issue: simonwistow/Module-Pluggable#27
Module::Pluggable added checks for unreadable files in v6.1 and v6.2. Those tests fail when installed as root, which may happen in a docker file, such as under github actions. While we have no explicit dependency on Module::Pluggable, our dependencies do, such as Config::Any. This is a bit of a crutch until Module::Plugable is patched. Upstream issue: simonwistow/Module-Pluggable#27
@simonwistow anything we can do to help resolve this ? |
For cross reference https://rt.cpan.org/Public/Bug/Display.html?id=156367 |
Installing in Docker as root we can run into an issue with installing the dependency for Email::Send (Module::Pluggable) Issue described here: simonwistow/Module-Pluggable#27 Release-note: Fix installation issue in docker containers. Signed-off-by: blake <[email protected]> Signed-off-by: Jane Sandberg <[email protected]>
Installing in Docker as root we can run into an issue with installing the dependency for Email::Send (Module::Pluggable) Issue described here: simonwistow/Module-Pluggable#27 Release-note: Fix installation issue in docker containers. Signed-off-by: blake <[email protected]> Signed-off-by: Jane Sandberg <[email protected]>
Installing in Docker as root we can run into an issue with installing the dependency for Email::Send (Module::Pluggable) Issue described here: simonwistow/Module-Pluggable#27 Release-note: Fix installation issue in docker containers. Signed-off-by: blake <[email protected]> Signed-off-by: Jane Sandberg <[email protected]>
Installing in Docker as root we can run into an issue with installing the dependency for Email::Send (Module::Pluggable) Issue described here: simonwistow/Module-Pluggable#27 Release-note: Fix installation issue in docker containers. Signed-off-by: blake <[email protected]> Signed-off-by: Jane Sandberg <[email protected]>
@simonwistow It would be very kind to have PR #28 merged and a new version published on cpan. Thank you in advance. |
@simonwistow any update on this? |
@simonwistow pls :') |
I would also like to express my hope that this PR can be merged. I'm adding: RUN cpanm Module::Pluggable::Object --force ... as a workaround in my Dockerfile in the meantime, but it feels dirty to force a test |
would be nice to see this fixed. |
It's not uncommon to have perl modules installed by root in docker images, especially for one-off, quick tasks. Doing so causes the unreadable files tests to fail in releases 6.1 and 6.2.
eg
docker run --rm -ti perl:5.38 bash -c 'cpanm Module::Pluggable; cat /root/.cpanm/work/*/build.log'
and the root user can read the write-only files:
The text was updated successfully, but these errors were encountered: