Skip to contentSkip to conversation

boa: boa.conf: run under the nogroup group

PATCH New Peter Korsgaard 3 participants 3 messages Aug 25, 2016 – Aug 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boa: boa.conf: run under the nogroup group

The default boa.conf we install specifies that boa should run under the nobody group, but we don't have such a group in our default skeleton (and boa doesn't add it), causing boa to fail to start:

[01/Jan/1970:00:00:10 +0000] No such group: nobody

Instead use the nogroup group, which is presumably what was meant.

---
 package/boa/boa.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/boa/boa.conf +1 -1
index f51c237..e940296 100644
@@ -46,7 +46,7 @@ Port 80
 # Group: The group name or GID the server should run as.
 
 User nobody
-Group nobody
+Group nogroup
 
 # ServerAdmin: The email address where server problems should be sent.
 # Note: this is not currently used, except as an environment variable
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 boa: boa.conf: run under the nogroup group

Quoted 9 lines · Peter Korsgaard

The default boa.conf we install specifies that boa should run under the nobody group, but we don't have such a group in our default skeleton (and boa doesn't add it), causing boa to fail to start:

[01/Jan/1970:00:00:10 +0000] No such group: nobody

Instead use the nogroup group, which is presumably what was meant.

(not runtime tested though)

Regards,
Arnout

Quoted 17 lines
---
 package/boa/boa.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/boa/boa.conf +1 -1
index f51c237..e940296 100644
@@ -46,7 +46,7 @@ Port 80
 # Group: The group name or GID the server should run as.
 
 User nobody
-Group nobody
+Group nogroup
 
 # ServerAdmin: The email address where server problems should be sent.
 # Note: this is not currently used, except as an environment variable
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#2 lore raw

PATCH 1/1 boa: boa.conf: run under the nogroup group

In reply to Peter Korsgaard

Hello,

Quoted 4 lines · Peter Korsgaard

The default boa.conf we install specifies that boa should run under the nobody group, but we don't have such a group in our default skeleton (and boa doesn't add it), causing boa to fail to start:

Quoted 8 lines

[01/Jan/1970:00:00:10 +0000] No such group: nobody

Instead use the nogroup group, which is presumably what was meant.

---
 package/boa/boa.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com