Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-19 Thread Josua Dietze
I have prepared a full test package of 1.1.8, including the changes we were discussing. I will release tonight if no quirks are reported. Get it here: http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.1.8-test.tar.bz2

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-16 Thread Alex Hermann
On Wednesday 15 June 2011 23:37:15 Josua Dietze wrote: Am 15.06.2011 21:56, schrieb Alex Hermann: An override config file should have higher priority than shipped config of course. O.K., so let's assume a user puts a changed/added config file into /etc/usb_modeswitch.d. It is preferred

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-16 Thread Didier Raboud
Le jeudi, 16 juin 2011 09.21:10, Alex Hermann a écrit : On Wednesday 15 June 2011 23:37:15 Josua Dietze wrote: O.K., so let's assume a user puts a changed/added config file into /etc/usb_modeswitch.d. It is preferred over the files in the package. One day there is a package update, and the

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-16 Thread Josua Dietze
Am 16.06.2011 08:51, schrieb Didier Raboud: Le jeudi, 16 juin 2011 09.21:10, Alex Hermann a écrit : There are more software packages using this scheme (udev, mysql, pam) although most place all configs in /etc. I have no idea about the amount of support/bugreports this causes. IMHO, if a user

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-16 Thread Didier Raboud
Le jeudi, 16 juin 2011 19.21:25, Josua Dietze a écrit : O.K., with your input I came to the conclusion that we will just accept a few cases of diminished consistency. Good. And you are right, config files from version 1.0.3 should still work today and will continue to do so. ACK. BTW, I

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-16 Thread Josua Dietze
Am 16.06.2011 20:22, schrieb Didier Raboud: Le jeudi, 16 juin 2011 19.21:25, Josua Dietze a écrit : To wrap it all up, the future priority logic would run like this: As far as I can tell, this is mostly how the Debian-patched usb-modeswitch works. But it's better if it's upstream, sure. I

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-15 Thread Josua Dietze
Am 14.06.2011 12:06, schrieb Didier Raboud: Thanks for your time and skills ! Just want to let you know that I'm on the job now and following this exchange. Originally, the packed config file was not intended for default use on desktop systems. It kind of amazed me to see this happening on

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-15 Thread Alex Hermann
On Wednesday 15 June 2011, Josua Dietze wrote: Why not use the /usr/share/usb_modeswitch folder, alongside the package? I propose to drop the check for the old config folder (/etc/usb_modeswitch.d) in the upcoming wrapper version altogether. Also, I think we can agree that in the now

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-15 Thread Didier Raboud
Le mercredi, 15 juin 2011 22.33:29, Josua Dietze a écrit : Am 14.06.2011 12:06, schrieb Didier Raboud: Thanks for your time and skills ! Just want to let you know that I'm on the job now and following this exchange. Hi Josua, nice to see you ring in ! Originally, the packed config file

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-15 Thread Josua Dietze
Am 15.06.2011 21:56, schrieb Alex Hermann: On Wednesday 15 June 2011, Josua Dietze wrote: Why not use the /usr/share/usb_modeswitch folder, alongside the package? IMHO I think the folder change is not a good idea. The /usr/share folder is supposed to be under package manager control, not user

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-14 Thread Alex Hermann
On Sunday 12 June 2011 14:35:55 Didier Raboud wrote: Le vendredi, 10 juin 2011 18.39:01, Alex Hermann a écrit : First, let me disagree with the could not possibly work because: 1) I tested this patch and it worked for me 2) I made another user use the code in this patch and it

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-14 Thread Didier Raboud
On Tuesday 14 June 2011 11.58:43 Alex Hermann wrote: I hope i have explained the issue a bit better now. Indeed you have, and very clearly so. Thanks for that ! I prepared a git commit for the packaging repository that incorporates your changes and attributes them to you. What do you think:

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-14 Thread Alex Hermann
On Tuesday 14 June 2011, Didier Raboud wrote: On Tuesday 14 June 2011 11.58:43 Alex Hermann wrote: I hope i have explained the issue a bit better now. Indeed you have, and very clearly so. Thanks for that ! I prepared a git commit for the packaging repository that incorporates your

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-14 Thread Didier Raboud
tag 630081 +pending On Tuesday 14 June 2011 11.10:09 Alex Hermann wrote: I prepared a git commit for the packaging repository that incorporates your changes and attributes them to you. What do you think: can I push this commit? It is ok with me. Then so be it; it will be part of the

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-12 Thread Didier Raboud
Le vendredi, 10 juin 2011 18.39:01, Alex Hermann a écrit : Package: usb-modeswitch Version: 1.1.7-1 Severity: normal The /usr/sbin/usb_modeswitch_dispatcher script has such bugs that the documented feature of overriding configs via /etc/usb-modeswitch.d could not possibly work. Attached

Bug#630081: Overriding via /etc/usb-modeswitch.d doesn't work

2011-06-10 Thread Alex Hermann
Package: usb-modeswitch Version: 1.1.7-1 Severity: normal The /usr/sbin/usb_modeswitch_dispatcher script has such bugs that the documented feature of overriding configs via /etc/usb-modeswitch.d could not possibly work. Attached patch fixes this feature. -- System Information: Debian Release: