Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61965 - update of www-proxy/wwwoffle starts dial-up without any warning
Summary: update of www-proxy/wwwoffle starts dial-up without any warning
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-27 12:45 UTC by Stanislav Brabec
Modified: 2004-09-19 00:20 UTC (History)
0 users

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 Stanislav Brabec 2004-08-27 12:45:30 UTC
I am using wwwoffle on my wlan connection (having wwwoffled-online in default boot sequence) and use dial-up only as an expensive spare alternative, when Wi-Fi AP is down.

After updating to version 2.8b, system started dial-up connection in boot time without any warning.

The reason is a new configuration file /etc/conf.d/wwwoffled-online, which sets firing up ppp0 as default.

Please change the default, probably to empty string (and display warning about missing device value).

However fix is trivial, marking this bug as critical, because it can cause money loss for some users.

Reproducible: Always
Steps to Reproduce:
Comment 1 Daniel Black (RETIRED) gentoo-dev 2004-08-28 18:43:26 UTC
The wwwoffle-online places the wwwoffled into an online mode.

Just starting /etc/init.d/wwwoffle will put wwwoffled in a offline mode hence bringing up the dialup interface. 

I suggest you create and online runlevel and add wwwoffle-online to that runlevel only. That way you can explicitly specify when you want to go online.

You can also look at /etc/conf.d/wwwoffle-online and change the interface that is associated with being online (i.e. Wifi). This needs to correspond with a /etc/init.d/net.${IFACE}.

Critical to me means it breaks a users distribution - http://bugs.gentoo.org/bug_status.html#severity. It is a touch subjective though. Having said that I have no idea how expensive phonecalls are for you.

Does this make sence? Can you suggest any improvements?

Also FYI I'm going to make wwwoffle capable of using htdig soon so expect to see a revision bump soon.
Comment 2 Stanislav Brabec 2004-08-29 07:12:12 UTC
Yes, I understand, how it works. This is not report about bug in ebuild, it is a report about dangerous behavior of default value (ppp0) for Wi-Fi users.

It was marked critical, because it can cause money loss for people affected by this problem. For me personally, this default caused the "dialer effect" - instead of cheap Wi-Fi, it has connected to dial-up without any warning.

So, I suggest only one change: remove ppp0 from default. Optionally, add a warning "You have not defined any interface in /etc/conf.d/wwwoffled-online."
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-08-29 13:12:34 UTC
Ok, I will change this. I'm putting together a 2.8c ebuild which will incorporate this.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2004-09-19 00:20:37 UTC
Hopefully fixed in wwwoffle-2.8c which I just commited. Any improvements welcome.