Skip to content

Commit

Permalink
private-etc: java directory fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
netblue30 committed Feb 6, 2023
1 parent 0f996ea commit 2e4e9d1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion etc/profile-a-l/freemind.profile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ disable-mnt
private-bin bash,cp,dirname,dpkg,echo,freemind,grep,java,lsb_release,mkdir,readlink,rpm,sed,sh,uname,which
private-cache
private-dev
#private-etc alternatives,fonts,java
#private-etc alternatives,fonts,java*
private-tmp
private-opt none
private-srv none
Expand Down
2 changes: 1 addition & 1 deletion etc/profile-a-l/i2prouter.profile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ seccomp
disable-mnt
private-cache
private-dev
private-etc @tls-ca,@x11,i2p,java-10-openjdk,java-11-openjdk,java-12-openjdk,java-13-openjdk,java-8-openjdk,java-9-openjdk,java-openjdk
private-etc @tls-ca,@x11,i2p,java*
private-tmp

restrict-namespaces
2 changes: 1 addition & 1 deletion etc/profile-m-z/minecraft-launcher.profile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private-cache
private-dev
# If multiplayer or realms break, add 'private-etc <your-own-java-folder-from-/etc>'
# or 'ignore private-etc' to your minecraft-launcher.local.
private-etc @tls-ca,@x11,host.conf,java-10-openjdk,java-11-openjdk,java-12-openjdk,java-13-openjdk,java-14-openjdk,java-7-openjdk,java-8-openjdk,java-9-openjdk,java-openjdk,mime.types,services,timezone
private-etc @tls-ca,@x11,host.conf,java*,mime.types,services,timezone
private-opt minecraft-launcher
private-tmp

Expand Down
2 changes: 1 addition & 1 deletion etc/profile-m-z/signal-cli.profile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private-bin java,sh,signal-cli
private-cache
private-dev
# Does not work with all Java configurations. You will notice immediately, so you might want to give it a try
#private-etc alternatives,ca-certificates,crypto-policies,dbus-1,host.conf,hostname,hosts,java-10-openjdk,java-7-openjdk,java-8-openjdk,java-9-openjdk,java.conf,machine-id,nsswitch.conf,passwd,pki,protocols,resolv.conf,rpc,services,ssl
#private-etc alternatives,ca-certificates,crypto-policies,dbus-1,host.conf,hostname,hosts,java*,machine-id,nsswitch.conf,passwd,pki,protocols,resolv.conf,rpc,services,ssl
private-tmp

restrict-namespaces
2 changes: 1 addition & 1 deletion etc/profile-m-z/terasology.profile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ seccomp

disable-mnt
private-dev
private-etc @tls-ca,@x11,dbus-1,host.conf,java-7-openjdk,java-8-openjdk,lsb-release,mime.types
private-etc @tls-ca,@x11,dbus-1,host.conf,java*,lsb-release,mime.types
private-tmp

dbus-user none
Expand Down

1 comment on commit 2e4e9d1

@glitsj16
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICT there is no private-etc globbing support (yet). Are you working on that? Without it these changes will break.

Related: see comments here.

Please sign in to comment.