Skip to contentSkip to conversation

cyrus-sasl: Drop unneeded group addition

PATCH In review Richard Purdie 3 participants 3 messages Apr 13, 2016 – Apr 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cyrus-sasl: Drop unneeded group addition

The mail group is provided by base-passwd so would always be present. Therefore drop the uneeded group addition from this recipe.

This works around the recent user cleanup code improvements which meant this started causing failures for people.

---
 meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb | 1 -
 1 file changed, 1 deletion(-)
meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb +0 -1
index 33468a1..5da3d96 100644
@@ -72,7 +72,6 @@ do_install_append() {
 }
 
 USERADD_PACKAGES = "${PN}-bin"
-GROUPADD_PARAM_${PN}-bin = "--system mail"
 USERADD_PARAM_${PN}-bin = "--system --home=/var/spool/mail -g mail cyrus"
 
 SYSTEMD_PACKAGES = "${PN}"
#1 lore raw
Quoted 7 lines · Richard Purdie

The mail group is provided by base-passwd so would always be present. Therefore drop the uneeded group addition from this recipe.

This works around the recent user cleanup code improvements which meant this started causing failures for people.

thanks. I ran into this this morning.

Quoted 17 lines
---
 meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb | 1 -
 1 file changed, 1 deletion(-)
meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb +0 -1
index 33468a1..5da3d96 100644
@@ -72,7 +72,6 @@ do_install_append() {
 }
 
 USERADD_PACKAGES = "${PN}-bin"
-GROUPADD_PARAM_${PN}-bin = "--system mail"
 USERADD_PARAM_${PN}-bin = "--system --home=/var/spool/mail -g mail cyrus"
 
 SYSTEMD_PACKAGES = "${PN}"
Acked-by Tested-by on v1 1/1
#2 lore raw
In reply to Richard Purdie
Quoted 7 lines · Richard Purdie

The mail group is provided by base-passwd so would always be present. Therefore drop the uneeded group addition from this recipe.

This works around the recent user cleanup code improvements which meant this started causing failures for people.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750