mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #4255] [MERGED] Node.js stack refactoring #5084
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5084
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/4255
Author: @ghost
Created: 5/7/2021
Status: ✅ Merged
Merged: 5/8/2021
Merged by: @undefined
Base:
master← Head:node-stack📝 Commits (10+)
5a86de6Create node.profile000a3f6Create node-gyp.profile65ce781refactor npm as redirectc493badCreate npx.profile65d01b9Create nvm.profileb56cb36Create semver.profile33905d8refactor yarn as redirectbe51cf3collect node.js stack configuration in common profile2666c7aadd ~/.nvm to node sectionf6ef2b2account for node-gyp python dependency📊 Changes
10 files changed (+77 additions, -43 deletions)
View changed files
📝
README.md(+1 -1)📝
etc/inc/allow-common-devel.inc(+1 -0)📝
etc/inc/allow-nodejs.inc(+4 -0)📝
etc/inc/disable-common.inc(+1 -0)📝
etc/inc/disable-programs.inc(+1 -0)➕
etc/profile-m-z/node.profile(+11 -0)📝
etc/profile-m-z/nodejs-common.profile(+45 -4)📝
etc/profile-m-z/npm.profile(+0 -18)➕
etc/profile-m-z/nvm.profile(+13 -0)📝
etc/profile-m-z/yarn.profile(+0 -20)📄 Description
An attempt to bring some sanity to our node.js related profiles. Based on info gathered from:
Not being a Node developer I'm marking this as WIP for now.I've been testing this, but the node stack still has many dark spots for me to unravel. Would be great if this could be more thoroughly tested. Open to all suggestions, input etcetera.IMPORTANT NOTE: none of the Node.js stack profiles are in firecfg. It is up to the user to create the necessary scripts/symlinks to sandbox the following commands:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.