Repository navigation
os/v3/puppy: base-modes keep-list names the two paths the running system makes writable - #3299
Merged
Merged
Conversation
…tem makes writable (engine#3287) The base-modes release row reads the merged root, so it also sees what the boot creates. On a c35 stick whose base layers ship both directories 0755 root:root it failed on /var/cache/cups (+ rss) and /var/local/shared, whose writable copies exist only in pup_rw: Puppy's rc.sysinit chmods /var/local/shared 777 on every boot, and CUPS makes its cache root:lp group-writable when it starts. The keep-list is the list of places the running system writes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
6 of 12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #3287.
The
base-modesrelease row reads the merged root, so it also sees what the boot itself creates. On the c35 stick (all base layers normalised byscripts/base-modes.sh) it failed on 3 paths, and all three exist writable only inpup_rw; the shipped layers have them0755 root:root:/var/local/shareddrwxrwxrwx root:root/etc/rc.d/rc.sysinit:506-507(mkdir -p+chmod 777, every boot)/var/cache/cups,/var/cache/cups/rssdrwxrwx--- / drwxrwxr-x root:lpThe keep-list's own rule is "every entry is a place where the running system WRITES at boot or at runtime", which is what these are. Two prefixes added, with the measurement in a comment.
🤖 Generated with Claude Code