https://bugs.koozali.org/show_bug.cgi?id=11908

Jean-Philippe Pialasse <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CLOSED
                 CC|                            |[email protected]
          Component|e-smith-*/smeserver-*       |smeserver-mailman
                   |packages                    |
         Resolution|---                         |DUPLICATE
           Assignee|[email protected]  |[email protected].
                   |                            |org
            Product|SME Server 10.X             |SME Contribs
         QA Contact|[email protected]  |[email protected].
                   |                            |org

--- Comment #1 from Jean-Philippe Pialasse <[email protected]> ---
this is to me a duplicate of  bug # 8056


also you have another issue : apache and www are by default associated to their
own group as major group

egrep "(apache|www):" /etc/passwd
www:x:102:102:SME Server web server:/home/e-smith:/bin/false
apache:x:102:102:Apache:/var/www:/sbin/nologin


egrep "(apache|www):" /etc/group
www:x:102:admin
apache:x:102:

as per bug # 8056 a script in the spec file should fix that but reading the
test done and your group line I understand the tes is not optimal, while it
should have done its job still


%pre
/sbin/e-smith/create-system-user mailman 41 \
    "Mailman user" /usr/lib/mailman /bin/false

#mailman wants that the apache group appears  before the www group in
/etc/group [SME: 8056]
TEST=$(grep -P '^www|apache' /etc/group)
TEST2='www:x:102:admin
apache:x:102:'

if [[ $TEST == $TEST2 ]]; then
    WWW=$(sed -n '/^www/p' /etc/group)
    sed -i '/^www/d' /etc/group
    echo $WWW >> /etc/group
fi



closing this bug after moving to contrib and marking as duplicate

*** This bug has been marked as a duplicate of bug 8056 ***

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to