pptpd.conf

Bug #1026256 reported by Modernox
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pptpd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

If pptpd.conf (/etc/pptpd.conf) does not contain the last blank line, daemon pptpd will not start (and not restart).
Hangs with the inscription:
"Starting PPTP Daemon:"

Revision history for this message
James Page (james-page) wrote :

Thanks for taking the time to report this bug in Ubuntu.

I was not able to reproduce this problem in 12.04.

Please could you detail which version of Ubuntu you are using; this can be done using apport:

  apport-bug 1026256

Marking 'Incomplete'; please set back to 'New' once you have provided the requested information.

Changed in pptpd (Ubuntu):
status: New → Incomplete
Revision history for this message
Modernox (modernox) wrote :
Revision history for this message
Modernox (modernox) wrote :
Revision history for this message
Modernox (modernox) wrote :

This is my version of the system and an example of "not start".
Also on the 10.10 system with all updates.

Changed in pptpd (Ubuntu):
status: Incomplete → New
Revision history for this message
Robie Basak (racb) wrote :

Please could you run:

    apport-bug 1026256

in a terminal so that we can see full version information about the relevant packages installed on your system.

Please also run and paste the output of:

    od -tx1 /etc/pptpd.conf

in a terminal, with the non-working pptpd.conf, so that we can see exactly what your line ending is.

Once done, please set the status of this bug back to New.

Changed in pptpd (Ubuntu):
status: New → Incomplete
Revision history for this message
Robie Basak (racb) wrote :

Correction: please run "ox -tx1 /etc/pptpd.conf|tail" as we only need to see the end. Thanks!

Revision history for this message
Robie Basak (racb) wrote :

Aaargh. I mean "od -tx1 /etc/pptpd.conf|tail" of course.

Revision history for this message
Modernox (modernox) wrote :

"apport-bug 1026256" not work...
I do "apport-bug {pid_pptpd}", result:

Revision history for this message
Modernox (modernox) wrote :

And "od -tx1 /etc/pptpd.conf|tail"

Modernox (modernox)
Changed in pptpd (Ubuntu):
status: Incomplete → New
Revision history for this message
Robie Basak (racb) wrote :

Thanks!

Based on that screenshot, I can see that your problem is that the text files you are creating do not follow Unix text file conventions. I guess you're using an unusual editor?

The Unix convention is that plain text files end in a newline character, and this character represents the end of the final line rather than another blank line at the end of the file.

You need to configure your editor to use the Unix convention, or use an editor that can follow the Unix convention (eg. nano or gedit), or continue to add a blank line at the end in the editor that you are using as a workaround.

As this is a problem with your editor rather than a bug in pptpd, I'm marking this bug as Invalid. If you'd like further help with this issue, there are pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Changed in pptpd (Ubuntu):
status: New → Invalid
Revision history for this message
Modernox (modernox) wrote :

I'm using the editor of the Midnight Commander.
Very strange behavior, mc does not save the last 0A, if the cursor does not move to a new line ...

Although, I tried to do the same with ntp.conf - working.

Revision history for this message
Arnaud Baussart (baussart-arnaud) wrote :

Hello everyone,

I just had this problem on a fresh Debian install. It really exists.
It took me too much time to look after the problem, regarding to the solution !

pptpd v1.3.4

Cheers,

Revision history for this message
Jamie Hutber (jamie-2) wrote :

Indeed guys, running Ubuntu 12.04 lts and having the exact same problem. Thanks for filing the bug. I spent too long trying to figure this out.

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.