Skip to content

Commit

Permalink
Revert "bwrap: bind /etc/resolv.conf symlink dest"
Browse files Browse the repository at this point in the history
This reverts commit 46bdbf2.

bwrap followed the broken symlink.
  • Loading branch information
lilydjwg committed Mar 29, 2024
1 parent 6f2ad7e commit ce8f610
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lilac2/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,3 @@ def pkgrel_changed(from_: str, to: str, pkgname: str) -> bool:
'--tmpfs', '/run', '--die-with-parent',
'--tmpfs', '/tmp', '--proc', '/proc', '--dev', '/dev',
]
if os.path.islink('/etc/resolv.conf'):
UNTRUSTED_PREFIX += [ # type: ignore
'--ro-bind',
os.path.realpath('/etc/resolv.conf'),
'/etc/resolv.conf',
]

0 comments on commit ce8f610

Please sign in to comment.