maemo.org Bugzilla – Bug 7733
ifupdown script environment contains empty IFACE and LOGICAL values when connecting to GPRS
Last modified: 2010-06-21 10:58:59 UTC
You need to
before you can comment on or make changes to this bug.
EXACT STEPS LEADING TO PROBLEM:
1. Put the following in /etc/network/if-up.d/test:
env >> /tmp/test.log
2. chmod +x /etc/network/if-up.d/test
3. Establish a GPRS connection
4. egrep 'IFACE|LOGICAL' /tmp/test.log
The same issue is observer with if-down.d, but I didn't test if-pre-up.d &
if-post-down.d. For WLAN connections it works as expected:
I can confirm this (see bug 7731).
I can confirm this too.
Confirming bug with the above script with latest release.
10 test runs connecting/disconnecting gprs, all with the same result.
if-pre-up.d scripts have always empty IFACE and LOGICAL values when connecting
to any network (GPRS or Wifi).
if-post-down.d scripts have empty IFACE and LOGICAL values when connecting to
When this bug will be fixed? Very annoying when developping network-related
Internal comment by Nokia:
"Fixing this could happen in 3 different places and none of them is trivial.
Simple solution of assuming gprs0 does not bring any value as it not guaranteed
to be the correct value."
Hence for Nokia this is a WONTFIX for Maemo5 currently.
Don't know about Maemo6 yet hence not closing yet as WONTFIX.
Fixed in libicd-network-gprs for Harmattan.
WONTFIX for Maemo5.