Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294452 - User not able to see wpa_supplicant status after resume with hibernate_script
Summary: User not able to see wpa_supplicant status after resume with hibernate_script
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-24 17:23 UTC by Róbert Čerňanský
Modified: 2012-11-18 12:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Róbert Čerňanský 2009-11-24 17:23:59 UTC
When using wpa_supplicant for network management during network start it creates few files in /var/run directory. Some of them (probably /var/run/wpa_supplicant/*) are used by wpa_cli and wpa_gui programs to access wpa_supplicant status info and to control it.

After resume these files and the wpa_supplicant directory are created with wrong permissions and thus inaccessible to users. wpa_cli and wpa_gui started under a user account are not able to access them and does not show any status.


After fresh start or manual network restart (/etc/init.d/net.wlan0 restart) -- correct permissions:

# ll -d /var/run/wpa_*
-rw-r--r-- 1 root root     5 Nov 24 18:13 /var/run/wpa_cli-wlan0.pid
drwxr-x--- 2 root users 4.0K Nov 24 18:13 /var/run/wpa_supplicant
-rw-r--r-- 1 root root     5 Nov 24 18:13 /var/run/wpa_supplicant-wlan0.pid


After resume -- wrong permissions:

# ll -d /var/run/wpa_*
-rw------- 1 root root     5 Nov 24 17:53 /var/run/wpa_cli-wlan0.pid
drwx------ 2 root users 4.0K Nov 24 17:53 /var/run/wpa_supplicant
-rw------- 1 root root     5 Nov 24 17:53 /var/run/wpa_supplicant-wlan0.pid

Using sys-power/hibernate-script-2.0-r1 for hibernating and net-wireless/wpa_supplicant-0.6.9 for network management.

Stable system with sys-apps/baselayout-1.12.13.
Comment 1 Pacho Ramos gentoo-dev 2012-11-18 12:55:14 UTC
Still valid with a fully updated system?