Skip to contentSkip to conversation

package/proftpd: fix group name preventing server from starting

PATCH In review Mattia Narducci 2 participants 3 messages Aug 24, 2024 – Sep 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/proftpd: fix group name preventing server from starting

Replace the group name 'nogroup' with 'nobody' in the default ProFTPD configuration file. This fixes the following error when starting the server:

proftpd[110]: fatal: Group: Unknown group 'nogroup' on line 30 of '/etc/proftpd.conf'

Fixes 0d887cc2b4 ("system: replace nogroup with nobody")
---
 package/proftpd/proftpd.mk | 1 +
 1 file changed, 1 insertion(+)
package/proftpd/proftpd.mk +1 -0
index cd7d232672..72a0fe9354 100644
@@ -130,6 +130,7 @@ endif
 define PROFTPD_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 0755 $(@D)/proftpd $(TARGET_DIR)/usr/sbin/proftpd
 	$(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf
+	$(SED) 's/^\(Group\s\+\)nogroup/\1nobody/' $(TARGET_DIR)/etc/proftpd.conf
 	$(PROFTPD_INSTALL_FTPQUOTA)
 	$(PROFTPD_INSTALL_FTPASSWD)
 endef
Signature · 7 lines
2.45.2


_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mattia" == Mattia Narducci <[email protected]> writes:

Replace the group name 'nogroup' with 'nobody' in the default ProFTPD configuration file. This fixes the following error when starting the server:

proftpd[110]: fatal: Group: Unknown group 'nogroup' on line 30 of '/etc/proftpd.conf'

Fixes 0d887cc2b4 ("system: replace nogroup with nobody")

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Mattia Narducci
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mattia" == Mattia Narducci <[email protected]> writes:

Replace the group name 'nogroup' with 'nobody' in the default ProFTPD configuration file. This fixes the following error when starting the server:

proftpd[110]: fatal: Group: Unknown group 'nogroup' on line 30 of '/etc/proftpd.conf'

Fixes 0d887cc2b4 ("system: replace nogroup with nobody")

Committed to 2024.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot