package usb-modeswitch-data
forwarded 612690 digidie...@draisberghof.de
thanks

Hi Michael, and thanks for your bugreport,

first, I am hereby forwarding your bugreport to my nice upstream author (Hi 
Josh !).

Le Thursday 10 February 2011 00:11:04 Michael Biebl, vous avez écrit :
> Package: usb-modeswitch-data
> Version: 20101222-3
> Severity: normal
> 
> Hi,
> 
> usb-modeswitch-data ships around 150 small files in
> /etc/usb_modeswitch.d/ which don't look like configuration files at all,
> but more like a hardware database.

Correct. I'd say it's a hardware database of configuration files. Given the 
nature of the problem usb-modeswitch addresses, it is very convenient to be 
able 
to debug using real configuration files.

> In addition if you use tools like etckeeper having a constantly changing
> usb-modeswitch-data is painful.

I'm not personally using etckeeper, but I understand the problem.

> Please consider moving those files to /usr/share, or if they are needed
> during boot to /lib/usb-modeswitch.

Note that this solution is implemented as the usb-modeswitch-data-packed 
package, which ships a tarball of what lives in /etc/usb-modeswitch.d. Both u-m-
d and u-m-d-packed conflict with eachother, as they both ship the udev rules 
file (/lib/udev/rules.d/40-usb_modeswitch.rules).

The idea behind providing both packages is to allow "small disk impact under 
/usr" xor "configuration files for debugging".

> If there really is a need for a user to overwrite certain settings, make
> it possible, that a file can be copied from /usr/share to files in /etc
> taking preference.

Since version 1.1.4, the usb-modeswitch.tcl script in package usb-modeswitch 
will give precedence to database entries found in the /usr/share/usb-
modeswitch/configPack.tar.gz, without trying to fallback to /etc/usb-
modeswitch.d/ entries (which cannot be present at the same time due to 
Conflicts 
anyway).

I would be inclined to say that your bugreport is already addressed by the usb-
modeswitch-data-packed package, but I'll let you comment on that.

Cheers,

OdyX
-- 
Didier Raboud, proud Debian Developer.
CH-1020 Renens
o...@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to