updetach option gives modem hangup

Bug #776193 reported by Robert Browne
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ppp (Debian)
Fix Released
Unknown
ppp (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: ppp

When using pppd with updetach option
When connected a new pppd process starts
Script ip-up runs
Modem hangup
pppd exits

removing updetach option it works
with only one pppd process that stays connected.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ppp (Ubuntu):
status: New → Confirmed
Revision history for this message
Rafal Dabrowa (rdabrowa) wrote :

How to repeat the problem: assume we can connect to a provider using "sudo pppd call xyz" command, i.e. we have a script /etc/ppp/peers/xyz for connect.

Add "updetach" option to the script. Next, invoke:

    sudo pppd call xyz

The connection hangs up immediately after finish of the above "sudo" command. On the other hand, if you invoke:
    sudo bash
    pppd call xyz

the modem does not hang up.
Reason: call of setsid() function added by always_setsid patch. More info I wrote in Debian bug tracking system.

Changed in ppp (Debian):
status: Unknown → New
Changed in ppp (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.