From 5a048d080983035ff8192867fd6d774eb7efaf66 Mon Sep 17 00:00:00 2001 From: Nick Miller Date: Fri, 4 Nov 2022 01:20:21 +0000 Subject: [PATCH 1/4] Moved to latest version of smb --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d0e1311..940595f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM alpine +FROM alpine:latest + MAINTAINER David Personette # Install samba From aafacd6b5bf0f5eb602a6555a234eb3a32ad41cc Mon Sep 17 00:00:00 2001 From: Nick Miller Date: Fri, 4 Nov 2022 01:27:16 +0000 Subject: [PATCH 2/4] updated version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 940595f..946a378 100644 --- a/Dockerfile +++ b/Dockerfile @@ -66,4 +66,4 @@ HEALTHCHECK --interval=60s --timeout=15s \ VOLUME ["/etc", "/var/cache/samba", "/var/lib/samba", "/var/log/samba",\ "/run/samba"] -ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"] \ No newline at end of file +ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/samba.sh"] From eb7e1530e574fc03a634d0d09ef8d68b40e4676d Mon Sep 17 00:00:00 2001 From: Nick Miller Date: Fri, 4 Nov 2022 02:43:35 +0000 Subject: [PATCH 3/4] Removed the -S flag from the smbd command which is no longer supported --- samba.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samba.sh b/samba.sh index ebb4e20..759f714 100755 --- a/samba.sh +++ b/samba.sh @@ -293,5 +293,5 @@ elif ps -ef | egrep -v grep | grep -q smbd; then echo "Service already running, please restart container to apply changes" else [[ ${NMBD:-""} ]] && ionice -c 3 nmbd -D - exec ionice -c 3 smbd -FS --no-process-group Date: Fri, 4 Nov 2022 02:52:19 +0000 Subject: [PATCH 4/4] Added --debug-stdout as alternative to -S --- samba.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samba.sh b/samba.sh index 759f714..f66001d 100755 --- a/samba.sh +++ b/samba.sh @@ -293,5 +293,5 @@ elif ps -ef | egrep -v grep | grep -q smbd; then echo "Service already running, please restart container to apply changes" else [[ ${NMBD:-""} ]] && ionice -c 3 nmbd -D - exec ionice -c 3 smbd -F --no-process-group