Summary: | net-misc/asterisk won't install | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joseph <syscon780> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge asterisk log |
Description
Joseph
2007-03-23 16:54:12 UTC
(In reply to comment #0) > And my Asterisk is gone- DELETED! > Is the Autoclean triggered incorrectly??? How is it deleted? The above output doesn't show anything deleted. emerge gentoolkit; equery check asterisk I think you have missed the section I posted: --- !empty dir /etc/asterisk --- !empty dir /etc Here is what I have done again: emerge -C asterisk (asterisk is removed OK) emerge asterisk (asterisk installs OK and runs OK) the last few lanes are: >>> /var/run/asterisk/ >>> /var/run/asterisk/.keep_net-misc_asterisk-0 * Fixing permissions * Asterisk has been installed # equery check asterisk [ Checking net-misc/asterisk-1.2.14-r2 ] * 823 out of 823 files good Now I run again: emerge asterisk (and all the files in /etc/asterisk are DELETED!) the last few lines of installation are: --- !empty dir /etc/init.d --- !empty dir /etc/conf.d --- !empty dir /etc/asterisk --- !empty dir /etc >>> Original instance of package unmerged safely. * Fixing permissions * Asterisk has been installed # equery check asterisk [ Checking net-misc/asterisk-1.2.14-r2 ] * 824 out of 824 files good The result of equery looks good but these are the only file I have left in /etc/asterisk asterisk # ls -al total 28 drwxr-x--- 2 root asterisk 4096 Mar 23 12:27 . drwxr-xr-x 66 root root 4096 Mar 23 12:27 .. -rw-r----- 1 root asterisk 3260 Mar 23 12:27 asterisk.adsi -rw-r----- 1 root asterisk 704 Mar 22 23:33 cdr_mysql.conf -rw-r----- 1 root asterisk 1083 Mar 23 12:27 extensions.ael -rw-r----- 1 root asterisk 406 Mar 22 23:33 res_mysql.conf -rw-r----- 1 root asterisk 1384 Mar 23 12:27 telcordia-1.adsi #Joseph You've apparently completely misunderstood the emerge output, there's nothing wrong w/ your install. (In reply to comment #3) > You've apparently completely misunderstood the emerge output, there's nothing > wrong w/ your install. > So why on my second "emerge asterisk" all the files from /etc/asterisk are gone ??? #Joseph (In reply to comment #4) > So why on my second "emerge asterisk" all the files from /etc/asterisk are gone > ??? Would you tell me how exactly are those files gone? # equery check asterisk [ Checking net-misc/asterisk-1.2.14-r2 ] * 824 out of 824 files good (In reply to comment #5) > Would you tell me how exactly are those files gone? > > # equery check asterisk > [ Checking net-misc/asterisk-1.2.14-r2 ] > * 824 out of 824 files good > By looking at in /etc/asterisk directory. These are the only files I have left in there: /etc/asterisk # ls -al total 28 drwxr-x--- 2 root asterisk 4096 Mar 23 12:27 . drwxr-xr-x 66 root root 4096 Mar 23 12:27 .. -rw-r----- 1 root asterisk 3260 Mar 23 12:27 asterisk.adsi -rw-r----- 1 root asterisk 704 Mar 22 23:33 cdr_mysql.conf -rw-r----- 1 root asterisk 1083 Mar 23 12:27 extensions.ael -rw-r----- 1 root asterisk 406 Mar 22 23:33 res_mysql.conf -rw-r----- 1 root asterisk 1384 Mar 23 12:27 telcordia-1.adsi and I should have: asterisk # ls -al total 304 drwxr-x--- 2 root asterisk 4096 Mar 23 10:53 . drwxr-xr-x 66 root root 4096 Mar 23 10:54 .. -rw-r----- 1 root asterisk 140 Mar 23 10:53 adsi.conf -rw-r----- 1 root asterisk 840 Mar 23 10:53 adtranvofr.conf -rw-r----- 1 root asterisk 2136 Mar 23 10:53 agents.conf -rw-r----- 1 root asterisk 2227 Mar 23 10:53 alarmreceiver.conf -rw-r----- 1 root asterisk 748 Mar 23 10:53 alsa.conf -rw-r----- 1 root asterisk 3260 Mar 23 10:53 asterisk.adsi -rw-r----- 1 root asterisk 412 Mar 23 10:53 asterisk.conf -rw-r----- 1 root asterisk 2191 Mar 23 10:53 cdr.conf -rw-r----- 1 root asterisk 388 Mar 23 10:53 cdr_custom.conf -rw-r----- 1 root asterisk 59 Mar 23 10:53 cdr_manager.conf -rw-r----- 1 root asterisk 704 Mar 22 23:33 cdr_mysql.conf -rw-r----- 1 root asterisk 221 Mar 23 10:53 cdr_odbc.conf -rw-r----- 1 root asterisk 204 Mar 23 10:53 cdr_pgsql.conf -rw-r----- 1 root asterisk 159 Mar 23 10:53 cdr_tds.conf -rw-r----- 1 root asterisk 1655 Mar 23 10:53 codecs.conf -rw-r----- 1 root asterisk 190 Mar 23 10:53 dnsmgr.conf -rw-r----- 1 root asterisk 7744 Mar 23 10:53 dundi.conf -rw-r----- 1 root asterisk 585 Mar 23 10:53 enum.conf -rw-r----- 1 root asterisk 1281 Mar 23 10:53 extconfig.conf -rw-r----- 1 root asterisk 1083 Mar 23 10:53 extensions.ael -rw-r----- 1 root asterisk 16995 Mar 23 10:53 extensions.conf -rw-r----- 1 root asterisk 1656 Mar 23 10:53 features.conf -rw-r----- 1 root asterisk 929 Mar 23 10:53 festival.conf -rw-r----- 1 root asterisk 16006 Mar 23 10:53 iax.conf -rw-r----- 1 root asterisk 2437 Mar 23 10:53 iaxprov.conf -rw-r----- 1 root asterisk 21797 Mar 23 10:53 indications.conf -rw-r----- 1 root asterisk 2158 Mar 23 10:53 logger.conf -rw-r----- 1 root asterisk 1132 Mar 23 10:53 manager.conf -rw-r----- 1 root asterisk 676 Mar 23 10:53 meetme.conf -rw-r----- 1 root asterisk 2249 Mar 23 10:53 mgcp.conf -rw-r----- 1 root asterisk 2514 Mar 23 10:53 modem.conf -rw-r----- 1 root asterisk 1402 Mar 23 10:53 modules.conf -rw-r----- 1 root asterisk 1884 Mar 23 10:53 musiconhold.conf -rw-r----- 1 root asterisk 1821 Mar 23 10:53 osp.conf -rw-r----- 1 root asterisk 1163 Mar 23 10:53 oss.conf -rw-r----- 1 root asterisk 1418 Mar 23 10:53 phone.conf -rw-r----- 1 root asterisk 81 Mar 23 10:53 privacy.conf -rw-r----- 1 root asterisk 6776 Mar 23 10:53 queues.conf -rw-r----- 1 root asterisk 406 Mar 22 23:33 res_mysql.conf -rw-r----- 1 root asterisk 579 Mar 23 10:53 res_odbc.conf -rw-r----- 1 root asterisk 6961 Mar 23 10:53 rpt.conf -rw-r----- 1 root asterisk 397 Mar 23 10:53 rtp.conf -rw-r----- 1 root asterisk 20345 Mar 23 10:53 sip.conf -rw-r----- 1 root asterisk 315 Mar 23 10:53 sip_notify.conf -rw-r----- 1 root asterisk 1282 Mar 23 10:53 skinny.conf -rw-r----- 1 root asterisk 1384 Mar 23 10:53 telcordia-1.adsi -rw-r----- 1 root asterisk 9935 Mar 23 10:53 voicemail.conf -rw-r----- 1 root asterisk 2774 Mar 23 10:53 vpb.conf -rw-r----- 1 root asterisk 18774 Mar 23 10:53 zapata.conf I'm just printing straight facts (I'm not deleting these files manually), I've been using Gentoo from 2003 and running asterisk even longer. #Joseph So attach complete emerge output that shows your problem here... MAKEOPTS="-j1" emerge asterisk &> log Created attachment 114173 [details]
emerge asterisk log
(In reply to comment #8) > Created an attachment (id=114173) [edit] > emerge asterisk log So, as you can see, there's clearly nothing unmerged from /etc, and there's nothing wrong with the ebuild. You are pretty confused, those files you have listed come from asterisk-addons and other asterisk plugins, *not* from net-misc/asterisk. As posited to me by amne - sysadmin ----quote----- edit: After looking a bit into the issue, this seems to be intentional: On the first install the templates are installed to /etc, once you upgrade the ebuild drops them in //usr/share/doc/asterisk-1.2.14-r2/conf to avoid overwriting your configurations (or something like that), so the files are still there. ----end quote---- And that is true but I think this is still a bug as the new configuration files should be left in /etc/asterisk and they are not. #Joseph Eh, there's nothing being deleted from /etc/asterisk, those files are not even installed into that location; read the emerge output a couple of times... Please move this to #gentoo-voip, there's no bug here and this is not a support forum. Thanks. (In reply to comment #11) > Eh, there's nothing being deleted from /etc/asterisk, those files are not even > installed into that location; read the emerge output a couple of times... > Please move this to #gentoo-voip, there's no bug here and this is not a support > forum. > > Thanks. I just setup PORTAGE_ELOG very nice feature, have I know about this feature earlier it would save me a lot of time and problems. This way at least I will glance though emails and I will take action (including this asterisk). I think you (developers) should force ALL USERS (no exception) to setup this feature it is a MUST HAVE. I'm learning the hard way :-/ but this Portage_Elog is an easy way. Thanks again for your help :-) #Joseph |