Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141065 - small patch to fix problems with stopping cisco-vpnclient-3des
Summary: small patch to fix problems with stopping cisco-vpnclient-3des
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-19 11:21 UTC by Michiel de Bruijne
Modified: 2006-07-19 14:11 UTC (History)
0 users

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


Attachments
small patch to fix vpnclient initscript (vpnclient.diff,1.22 KB, patch)
2006-07-19 11:22 UTC, Michiel de Bruijne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel de Bruijne 2006-07-19 11:21:48 UTC
The initscript of cisco-vpnclient-3des fails to stop if there isn't an active vpn connection. The current initscript use the command vpnclient to disconnect active vpn connections. If there isn't an active vpn connection vpnclient doesn't release module cisco_ipsec at the same time as the command exit. There is a small delay. The result is that the rmmod fails and the initscript doesn't stop succesfully. This small patch fixes this.

I also moved the check if the module is loaded before the vpnclient command, because the vpnclient doesn't work at all if the module isn't loaded.
Comment 1 Michiel de Bruijne 2006-07-19 11:22:41 UTC
Created attachment 92227 [details, diff]
small patch to fix vpnclient initscript
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-19 14:11:36 UTC
Fixed in CVS...