Page MenuHomeDevCentral

Allow to run arc commands as root
ClosedPublic

Authored by dereckson on Sep 29 2020, 01:50.
Tags
None
Referenced Files
F23750588: D2343.diff
Fri, Feb 6, 10:49
F23742057: D2343.diff
Fri, Feb 6, 09:12
F23725422: D2343.diff
Fri, Feb 6, 06:09
F23695658: D2343.diff
Fri, Feb 6, 02:52
Unknown Object (File)
Wed, Feb 4, 19:32
Unknown Object (File)
Wed, Feb 4, 14:10
Unknown Object (File)
Mon, Feb 2, 01:17
Unknown Object (File)
Sun, Feb 1, 07:53
Subscribers
None

Details

Summary

By allowing to run arc commands as user, the /root as home use case
has been forgotten. Root should use standard image and legacy wirings.

This is a follow-up for 4d419de04afb.

Test Plan

arc shell and sudo arc shell with and without image built on Dwellers.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningroles/paas-docker/devel/files/arc.sh:78SC2046SHELLCHECK
Adviceroles/paas-docker/devel/files/arc.sh:71SC2086SHELLCHECK
Adviceroles/paas-docker/devel/files/arc.sh:73SC2086SHELLCHECK
Unit
No Test Coverage
Branch
main
Build Status
Buildable 3642
Build 3891: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Sep 29 2020, 01:51
This revision was landed with ongoing or failed builds.Sep 29 2020, 01:51
This revision was automatically updated to reflect the committed changes.

A last modification in user Dockerfile will be needed to use symlinks populated by main image in /root, but that will be for another review.