Should be in /lib so wpa_supplicant et. al. can be used before /usr is mounted

Bug #38853 reported by Jürgen Kreileder
8
Affects Status Importance Assigned to Milestone
openssl (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

wpa_supplicant was moved to /sbin recently but it still isn't usable before /usr is mounted because it depends on libssl, libcrypto, and libz which are located in /usr/lib:

$ ldd -r /sbin/wpa_supplicant
        linux-gate.so.1 => (0xffffe000)
        libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0x6fed8000)
        libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0x6fdaa000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x6fda6000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x6fc77000)
        libz.so.1 => /usr/lib/libz.so.1 (0x6fc63000)
        /lib/ld-linux.so.2 (0x6ff24000)

Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 38853] Doesn't work before /usr is mounted

Forgive me my ignorance, but why is this a bug?

Revision history for this message
Jürgen Kreileder (jk) wrote : Re: Doesn't work before /usr is mounted

What's the point of having wpa_supplicant in /sbin then?

The problem I'm seeing is that the interface is ifup-ed by udev while booting. The interface needs wpa_supplicant but /usr isn't mounted yet => wpa_supplicant doesn't run and the interface doesn't work.

Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 38853] Re: Doesn't work before /usr is mounted

Ah I see :)

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: Doesn't work before /usr is mounted

I guess this is "libssl should be in /lib", unfortunately it's too late to change that in dapper I think -- we'll just have to live with this for now.

It is a bug though

Changed in wpasupplicant:
status: Unconfirmed → Confirmed
Revision history for this message
Carthik Sharma (carthik) wrote :

So has this been fixed in Edgy?

Revision history for this message
Jürgen Kreileder (jk) wrote :

No, the situation hasn't changed.

Revision history for this message
Scott Kitterman (kitterman) wrote :

openssl097 is no longer used by wpasupplicant.

Changed in openssl097:
status: Confirmed → Won't Fix
Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 38853] Re: Should be in /lib so wpa_supplicant et. al. can be used before /usr is mounted

Scott Kitterman <email address hidden> writes:

> openssl097 is no longer used by wpasupplicant.

errm, sorry?

siretart@faui44a:~ $ dpkg -s wpasupplicant
Package: wpasupplicant
[...]
Version: 0.6.0+0.5.8-0ubuntu1
Depends: libc6 (>= 2.6-1), libdbus-1-3 (>= 1.1.1), libncurses5 (>= 5.6),
  libreadline5 (>= 5.2), libssl0.9.8 (>= 0.9.8e-1), lsb-base (>= 3.0-6)

  status: confirmed

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Jürgen Kreileder (jk) wrote :

Change package to openssl and state to confirmed. wpa_supplicant 0.6.0+0.5.8-0ubuntu1 still depends on libssl which still is in /usr.

Changed in openssl097:
status: Won't Fix → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

This was fixed a couple of years ago as bug 44194, in openssl 0.9.8g-15ubuntu2.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.