View previous topic :: View next topic |
Author |
Message |
jason at jasonjgw.net Guest
|
|
Back to top |
|
|
dmitry.bely at gmail.com Guest
|
|
Back to top |
|
|
frank at carmickle.com Guest
|
Posted: Sun Oct 18, 2009 11:50 am Post subject: [Freeswitch-users] Status of ubuntu/debian packages. |
|
|
On Sun, Oct 18, Dmitry Bely wrote:
Quote: | William,
When I upgrade freeswitch-config package, all my customized config
files are silently overwritten with the default ones from .deb
package. This bug is quite annoying.
|
Very sorry. I can try to include some code that detects if your moving from the old versions that don't have a config package to the new stuff that does. My way around this is not to install the freeswitch-config package at all. I extract it some where else and diff my way through it.
--FC
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
dmitry.bely at gmail.com Guest
|
Posted: Sun Oct 18, 2009 2:02 pm Post subject: [Freeswitch-users] Status of ubuntu/debian packages. |
|
|
On Sun, Oct 18, 2009 at 8:40 PM, Frank Carmickle <frank@carmickle.com> wrote:
Quote: | On Sun, Oct 18, Dmitry Bely wrote:
Quote: | William,
When I upgrade freeswitch-config package, all my customized config
files are silently overwritten with the default ones from .deb
package. This bug is quite annoying.
|
Very sorry. I can try to include some code that detects if your moving from the old versions that don't have a config package to the new stuff that does.
|
I did have the previous version of freeswitch-config installed but
nevertheless the files were lost.
Quote: | My way around this is not to install the freeswitch-config package at all. I extract it
some where else and diff my way through it.
|
Yes, but the bug should be fixed.
- Dmitry Bely
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
freeswitch-list at puz... Guest
|
Posted: Sun Oct 18, 2009 9:02 pm Post subject: [Freeswitch-users] Status of ubuntu/debian packages. |
|
|
On 10/18/2009 11:49 AM, Dmitry Bely wrote:
Quote: | William,
When I upgrade freeswitch-config package, all my customized config
files are silently overwritten with the default ones from .deb
package. This bug is quite annoying.
|
Hope you have a recent backup. Years ago when I created rpm packages for
Asterisk I chose to put the default config files in it's own directory
so there was no chance of your customized configs getting overwritten.
Example:
/opt/freeswitch/etc/freeswitch-$svn_version-samples/
Maybe the maintainer of the debs can do something similar.
Regards,
Patrick
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
frank at carmickle.com Guest
|
Posted: Mon Oct 19, 2009 8:17 am Post subject: [Freeswitch-users] Status of ubuntu/debian packages. |
|
|
On Sun, Oct 18, Dmitry Bely wrote:
Quote: | On Sun, Oct 18, 2009 at 8:40 PM, Frank Carmickle <frank@carmickle.com> wrote:
Quote: | On Sun, Oct 18, Dmitry Bely wrote:
Quote: | William,
When I upgrade freeswitch-config package, all my customized config
files are silently overwritten with the default ones from .deb
package. This bug is quite annoying.
|
Very sorry. ?I can try to include some code that detects if your moving from the old versions that don't have a config package to the new stuff that does.
|
I did have the previous version of freeswitch-config installed but
nevertheless the files were lost.
|
Well I am very sorry. I wish I new why this happened for you. I have not experienced this ever. I will do some testing.
--FC
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
frank at carmickle.com Guest
|
Posted: Mon Oct 19, 2009 8:18 am Post subject: [Freeswitch-users] Status of ubuntu/debian packages. |
|
|
On Sun, Oct 18, Patrick List wrote:
Quote: | so there was no chance of your customized configs getting overwritten.
Example:
/opt/freeswitch/etc/freeswitch-$svn_version-samples/
Maybe the maintainer of the debs can do something similar.
|
We are planning on putting all of the different configs in /usr/share/doc/freeswitch/examples. Now if I could find the time to get this done.
--FC
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
freeswitch-list at puz... Guest
|
Posted: Mon Oct 19, 2009 1:54 pm Post subject: [Freeswitch-users] Status of ubuntu/debian packages. |
|
|
On 10/19/2009 03:07 PM, Frank Carmickle wrote:
Quote: | On Sun, Oct 18, Patrick List wrote:
Quote: | so there was no chance of your customized configs getting overwritten.
Example:
/opt/freeswitch/etc/freeswitch-$svn_version-samples/
Maybe the maintainer of the debs can do something similar.
|
We are planning on putting all of the different configs in /usr/share/doc/freeswitch/examples. Now if I could find the time to get this done.
|
That would obviously work. The advantage of sticking example configs in
their own folder designating the release (svn rev) they belong to is
that you can do a diff between two folders to see what has changed.
Maybe that's useful to some. Just a thought though.
Regards,
Patrick
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
dmitry.bely at gmail.com Guest
|
Posted: Mon Oct 19, 2009 3:33 pm Post subject: [Freeswitch-users] Status of ubuntu/debian packages. |
|
|
On Mon, Oct 19, 2009 at 10:45 PM, Patrick List
<freeswitch-list@puzzled.xs4all.nl> wrote:
Quote: | On 10/19/2009 03:07 PM, Frank Carmickle wrote:
Quote: | On Sun, Oct 18, Patrick List wrote:
Quote: | so there was no chance of your customized configs getting overwritten.
Example:
/opt/freeswitch/etc/freeswitch-$svn_version-samples/
Maybe the maintainer of the debs can do something similar.
|
We are planning on putting all of the different configs in /usr/share/doc/freeswitch/examples. Now if I could find the time to get this done.
|
That would obviously work. The advantage of sticking example configs in
their own folder designating the release (svn rev) they belong to is
that you can do a diff between two folders to see what has changed.
Maybe that's useful to some. Just a thought though.
|
For most Debian packages dpkg just asks the user what he/she would
like to do with the newer config file from .deb: keep the old file,
replace it with the new file, diff old with new files etc. Not an
option here?
- Dmitry Bely
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
dmitry.bely at gmail.com Guest
|
Posted: Mon Oct 19, 2009 3:39 pm Post subject: [Freeswitch-users] Status of ubuntu/debian packages. |
|
|
Can you build FreeSWITCH .deb package with tls transport support?
Anyway it already depends on openssl package.
Another problem:
2009-10-20 00:28:50.728557 [CRIT] switch_loadable_module.c:871 Error
Loading module /opt/freeswitch/mod/mod_cluechoo.so
**/opt/freeswitch/mod/mod_cluechoo.so: cannot open shared object file:
No such file or directory**
2009-10-20 00:28:50.728604 [CRIT] switch_loadable_module.c:871 Error
Loading module /opt/freeswitch/mod/mod_valet_parking.so
**/opt/freeswitch/mod/mod_valet_parking.so: cannot open shared object
file: No such file or directory**
Modules mod_cluechoo & mod_valet_parking are referenced in the config
but not present in the package.
- Dmitry Bely
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
quentusrex at gmail.com Guest
|
Posted: Mon Oct 19, 2009 4:36 pm Post subject: [Freeswitch-users] Status of ubuntu/debian packages. |
|
|
Thanks for the catch. I have fixed the valet_parking as of last night.
And cluechoo will be fixed after this upcoming nightly.
Does anyone know how the other packages deal with locally modified
config files? I like the idea of adding the diffs, but prompting first
per file to see if it should be ignored, diffed, or overwritten.
-William King
Dmitry Bely wrote:
Quote: | Can you build FreeSWITCH .deb package with tls transport support?
Anyway it already depends on openssl package.
Another problem:
2009-10-20 00:28:50.728557 [CRIT] switch_loadable_module.c:871 Error
Loading module /opt/freeswitch/mod/mod_cluechoo.so
**/opt/freeswitch/mod/mod_cluechoo.so: cannot open shared object file:
No such file or directory**
2009-10-20 00:28:50.728604 [CRIT] switch_loadable_module.c:871 Error
Loading module /opt/freeswitch/mod/mod_valet_parking.so
**/opt/freeswitch/mod/mod_valet_parking.so: cannot open shared object
file: No such file or directory**
Modules mod_cluechoo & mod_valet_parking are referenced in the config
but not present in the package.
- Dmitry Bely
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
rupa at rupa.com Guest
|
Posted: Mon Oct 19, 2009 4:47 pm Post subject: [Freeswitch-users] Status of ubuntu/debian packages. |
|
|
I was under the impression that if you mark the files as conffiles you
get the default behavior which prompts for diff/overwrite/edit
options. If you want to get real fancy, look into using ucf to do
three-way diffs between installed default, user modifications and new
default.
Finally, I have checked the current package state, but please put all
the confs in a separate package and make it a suggests not a depends.
I absolutely hate how debian packages keep creating files that I've
removed (ex: in our case would be eg: 1000.xml). Since conf is so
small, maybe two. one that puts them in /etc for people that want
quick out of the box setup and one that puts 'em in
/usr/share/doc/freeswitch/examples for people that want to use the
current defaults as a sample rather than as the basis for their
config.
On Mon, Oct 19, 2009 at 4:28 PM, William King <quentusrex@gmail.com> wrote:
Quote: | Thanks for the catch. I have fixed the valet_parking as of last night.
And cluechoo will be fixed after this upcoming nightly.
Does anyone know how the other packages deal with locally modified
config files? I like the idea of adding the diffs, but prompting first
per file to see if it should be ignored, diffed, or overwritten.
-William King
Dmitry Bely wrote:
Quote: | Can you build FreeSWITCH .deb package with tls transport support?
Anyway it already depends on openssl package.
Another problem:
2009-10-20 00:28:50.728557 [CRIT] switch_loadable_module.c:871 Error
Loading module /opt/freeswitch/mod/mod_cluechoo.so
**/opt/freeswitch/mod/mod_cluechoo.so: cannot open shared object file:
No such file or directory**
2009-10-20 00:28:50.728604 [CRIT] switch_loadable_module.c:871 Error
Loading module /opt/freeswitch/mod/mod_valet_parking.so
**/opt/freeswitch/mod/mod_valet_parking.so: cannot open shared object
file: No such file or directory**
Modules mod_cluechoo & mod_valet_parking are referenced in the config
but not present in the package.
- Dmitry Bely
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
-Rupa
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
hads at nice.net.nz Guest
|
|
Back to top |
|
|
dmitry.bely at gmail.com Guest
|
|
Back to top |
|
|
|