1
0

Okay, without dynamically linked libc it gets permission denied error when running bash.

This commit is contained in:
Alexander Andreev 2022-06-13 23:24:42 +04:00
parent ebfe0b42b4
commit 63c9c2b036
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ SYSDDIR_=${shell pkg-config systemd --variable=systemdsystemunitdir}
SYSDDIR=${SYSDDIR_:/%=%} SYSDDIR=${SYSDDIR_:/%=%}
DESTDIR=/ DESTDIR=/
LDFLAGS=-ldflags "-s -w" -tags osusergo,netgo LDFLAGS=-ldflags "-s -w"
all: ${TARGET} all: ${TARGET}

View File

@ -10,7 +10,7 @@ ExecStart=/usr/bin/dwelling-radio -conf /etc/dwelling/radio.yaml
ReadOnlyPaths=/ ReadOnlyPaths=/
NoExecPaths=/ NoExecPaths=/
ExecPaths=/usr/bin/dwelling-radio /usr/bin/bash /usr/bin/tail /usr/bin/head /usr/bin/cut ExecPaths=/usr/bin/dwelling-radio /usr/bin/bash /usr/bin/tail /usr/bin/head /usr/bin/cut /usr/lib64
LogsDirectory=dwelling-radio LogsDirectory=dwelling-radio
RuntimeDirectory=dwelling-radio RuntimeDirectory=dwelling-radio