Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166546 - baselayout vs wpa_supplicant interface shutdown bugs
Summary: baselayout vs wpa_supplicant interface shutdown bugs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-12 19:11 UTC by Daniel Drake (RETIRED)
Modified: 2007-05-03 11:33 UTC (History)
1 user (show)

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


Attachments
1.12 patch (locking.patch,2.12 KB, patch)
2007-02-12 19:12 UTC, Daniel Drake (RETIRED)
Details | Diff
1.13 patch (locking.patch,2.10 KB, patch)
2007-02-12 19:15 UTC, Daniel Drake (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Drake (RETIRED) gentoo-dev 2007-02-12 19:11:59 UTC
Right now, when wpa_supplicant is running on ath0 and "/etc/init.d/net.ath0 restart" is run, *THREE* processes appear and try to access the same data simultaneously:

1. /etc/init.d/net.ath0 restart: launched by the user, runs svc_stop then svc_start
2. /etc/init.d/net.ath0 --quiet stop: launched by wpa_cli.sh, happens in response to svc_stop from the user process
3. /etc/init.d/net.ath0 --quiet start: launched by wpa_cli.sh, happens in response to svc_start from the user process

On my system, things seem to be happening so quickly such that sometimes the overall order of events goes something like 1, 3, 2

In this case, baselayout is in a confused state even though the network is running.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2007-02-12 19:12:30 UTC
Created attachment 109979 [details, diff]
1.12 patch
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2007-02-12 19:15:44 UTC
Created attachment 109981 [details, diff]
1.13 patch
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-03-14 14:15:34 UTC
not needed for baselayout-2
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-05-03 11:33:39 UTC
Fixed in baselayout-2