Mail archive
alpine-devel

[alpine-devel] [PATCH] testing/thttpd: create group

From: Shiz <hi_at_shiz.me>
Date: Wed, 7 Oct 2015 03:47:29 +0200

The pre-install script assumed the thttpd group already exists,
but it doesn't and thus adduser -G thttpd will fail, leading to a cascading
failure in the pre-install script.
---
 testing/thttpd/thttpd.pre-install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testing/thttpd/thttpd.pre-install b/testing/thttpd/thttpd.pre-install
index 1094a4b..f740838 100644
--- a/testing/thttpd/thttpd.pre-install
+++ b/testing/thttpd/thttpd.pre-install
_at_@ -1,6 +1,6 @@
 #!/bin/sh
 
 addgroup -g 82 -S www-data 2>/dev/null
-adduser -S -G thttpd -H -h /var/www/localhost/htdocs -s /sbin/nologin \
+adduser -S -H -h /var/www/localhost/htdocs -s /sbin/nologin \
         -D thttpd 2>/dev/null
 addgroup thttpd www-data 2>/dev/null
-- 
2.6.0
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Oct 07 2015 - 03:47:29 UTC