Package: synce-hal
Version: 0.13.1-1
Severity: serious
Justification: makes rndis devices unusable

Hi, there is an error in /usr/lib/hal/hal-synce-rndis: the path to /var
is prefixed with /usr, with the result that dhclient is unable to create
the pidfile and the lease file, so that HAL doesn't think the device is
connected.

        % grep /var /usr/lib/hal/hal-synce-rndis 
            pidfile = "/usr/var/run/dhclient-synce-"+iface+".pid"
            leasefile = "/usr/var/run/dhclient-synce-"+iface+".lease"
            pidfile = "/usr/var/run/dhclient-synce-"+iface+".pid"
            leasefile = "/usr/var/run/dhclient-synce-"+iface+".lease"
        %

>From a cursory look at the source, this appears to be caused by running
configure with --prefix=/usr, since line 950 in the configure script
reads:

        localstatedir='${prefix}/var'

So when $prefix is set to /usr in debian/rules, localstatedir gets set
to /usr/var/, which is non-existent.

The configure script probably has to be coaxed to do the right thing by
explicitly specifying localstatedir=/var, or something along those
lines.


T

-- 
The easy way is the wrong way, and the hard way is the stupid way. Pick one.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to