Summary: | sendmail-8.13.4.ebuild: line 166 - error because groupe exist | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Analyzer <subscribe2k> |
Component: | New packages | Assignee: | Andrea Barisani (RETIRED) <lcars> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | langthang, stian, vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Analyzer
2005-06-27 19:12:29 UTC
The ebuild check the group before adding it already: if ! groupmod smmsp; then groupadd smmsp || die "problem adding group smmsp" fi Do you have shadow installed? Do you have the groupmod binary installed on the system? hm. yes, i have shadow installed.
[ebuild R ] sys-apps/shadow-4.0.7-r2 +nls +pam (-selinux) -skey 0 kB
i see this check on exist. but this checkin not pass for me. i dont know why. is
any suggest?
and last...
>root@localhost:/$ groupmod smmsp
>Broken pipe
is it normal? when groupmod smmsp talking - Broken pipe.
No, it's not. Could you try 'groupmod smmsp' as root and see what you get? (In reply to comment #3) > No, it's not. Could you try 'groupmod smmsp' as root and see what you get? this i run like root! >root@localhost:/$ groupmod smmsp >Broken pipe i got just - Broken pipe. and nothing else Ah sorry, I was looking at the "$" ;). Ok that's broken, can you paste your /etc/pam.d/groupmod if any? Have you tried re-emerging shadow just to be sure? quick question. Do you have /etc/init.d/nscd started? If so, try to stop it an emerge again. (I have seen some bugs in nscd that isn't resolved yet that gives errors like broken pipe and things like that on all commands that affects /etc/passwd etc.) nscd shouldn't affect this but please try with and without and see if you get any difference. ok. it's was my failure:-). i'd re-emerge shadow and get other resoult when installing sendmail (though groupmod smmsp say me - Broken pipe again:-)) : =========================================================== >>> Completed installing sendmail-8.13.4 into /var/tmp/portage/sendmail-8.13.4/image/ * checking 236 files for package collisions existing file /usr/bin/rmail is not owned by this package existing file /usr/share/man/man1/newaliases.1.gz is not owned by this package existing file /usr/share/man/man1/mailq.1.gz is not owned by this package existing file /usr/share/man/man5/aliases.5.gz is not owned by this package * spent 0.0855548381805 seconds checking for file collisions * This package is blocked because it wants to overwrite * files belonging to other packages (see messages above). * If you have no clue what this is all about report it * as a bug for this package on http://bugs.gentoo.org package mail-mta/sendmail-8.13.4 NOT merged No package files given... Grabbing a set. =========================================================== for information: i have installed 'postfix' and belongs... =========================================================== mail-mta/postfix-2.2.2-r1 (/usr/bin/rmail) mail-mta/postfix-2.2.2-r1 (/usr/share/man/man1/newaliases.1.gz) mail-mta/postfix-2.2.2-r1 (/usr/share/man/man1/mailq.1.gz) mail-mta/postfix-2.2.2-r1 (/usr/share/man/man5/aliases.5.gz) =========================================================== i hope that this information help you solve this issue:-) unmerge sendmail and postfix, and delete manually those files. Then re-emerge the MTA you need. If you want to use both just use the mailwrapper USE flag. hm... strange... i did - 'emerge -C postfix sendmail'. and now tried install sendmail and postfox again (failure). i got same error when tried install sendmail(without postfix). ============================================================ >>> Merging mail-mta/sendmail-8.13.4 to / /usr/portage/mail-mta/sendmail/sendmail-8.13.4.ebuild: line 166: 22021 Broken pipe groupmod smmsp groupadd: group smmsp already exist !!! ERROR: mail-mta/sendmail-8.13.4 failed. !!! Function pkg_preinst, Line 168, Exitcode 9 !!! problem adding group smmsp !!! If you need support, post the topmost build error, NOT this status message. !!! FAILED preinst: 1 ============================================================ going farther...:) ============================================================ root@localhost:/home/analyzer$ /etc/init.d/nscd status * status: started ============================================================ i shut down this service and tried install sendmail with postfix. and ou my god! sendmail had been installed:) but now i have problem when were installing postfix ============================================================ >>> Completed installing postfix-2.2.2-r1 into /var/tmp/portage/postfix-2.2.2-r1/image/ * checking 312 files for package collisions existing file /usr/bin/rmail is not owned by this package existing file /usr/share/man/man1/newaliases.1.gz is not owned by this package existing file /usr/share/man/man1/mailq.1.gz is not owned by this package existing file /usr/share/man/man5/aliases.5.gz is not owned by this package * spent 0.0226001739502 seconds checking for file collisions * This package is blocked because it wants to overwrite * files belonging to other packages (see messages above). * If you have no clue what this is all about report it * as a bug for this package on http://bugs.gentoo.org package mail-mta/postfix-2.2.2-r1 NOT merged No package files given... Grabbing a set. ============================================================ Now will do readout: sendmail installing well with stopped /etc/init.d/nscd service and they (sendmail+postfix) have some same files: mail-mta/postfix-2.2.2-r1 (/usr/bin/rmail) mail-mta/postfix-2.2.2-r1 (/usr/share/man/man1/newaliases.1.gz) mail-mta/postfix-2.2.2-r1 (/usr/share/man/man1/mailq.1.gz) mail-mta/postfix-2.2.2-r1 (/usr/share/man/man5/aliases.5.gz) and should fix this issue. ps: i can't install postfix now:))) 1. don't try to install postfix and sendmail together without mailwrapper flag 2. don't bother about nscd if groupmod smmsp still fails The problem here is clearly related to the groupmod issue, if you solve that then sendmail will install fine. Anyway sendmail-8.13.4-r1 is being tested in the tree and it uses a smarter check. Please stick with sendmail or postfix or try using USE="mailwrapper" in order to prevent those errors. Could you paste /etc/pam.d/groupmod please? (In reply to comment #11) > 1. don't try to install postfix and sendmail together without mailwrapper flag im tryed install with this flag ============================================================ root@localhost:/home/analyzer$ emerge sendmail postfix -pv These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] mail-mta/sendmail-8.13.4 -ipv6 +ldap +mailwrapper +mbox +sasl +ssl +tcpd 0 kB [ebuild N ] mail-mta/postfix-2.2.2-r1 -hardened -ipv6 +ldap +mailwrapper +mbox +mysql +nis +pam -postgres +sasl (-selinux) +ssl +vda 0 kB Total size of downloads: 0 kB ============================================================ > 2. don't bother about nscd if groupmod smmsp still fails > > The problem here is clearly related to the groupmod issue, if you solve that then > sendmail will install fine. ok. im dont worry :-) > Could you paste /etc/pam.d/groupmod please? ============================================================ root@localhost:/home/analyzer$ cat /etc/pam.d/groupmod #%PAM-1.0 auth sufficient pam_rootok.so auth required pam_permit.so account include system-auth password required pam_permit.so ============================================================ please look at Bug 80413 about the nscd issue yes. i saw. but i have now another bug: 4 files belongs to both packages. and when i installing second package he trying rewrite this files. ps: i using "mailwrapper" flag in USE. but he dont help to solve this issue:( this is clearly a dupe of Bug 80413 isnt it ? |