You are not logged in.

#1 2004-09-15 19:54:14

Mio
Member
From: Italy
Registered: 2004-09-15
Posts: 9

pppd, ip-up and ip-down

Hi,
I just upgraded pppd and I found that it has deleted my
/etc/ppp/ip-up and ip-down files and replaced with empty files  :evil:

This is bad, can be solved for future updates?

Thanx,
Carlo

Offline

#2 2004-09-15 23:53:36

jlvsimoes
Member
From: portugal
Registered: 2002-12-23
Posts: 392
Website

Re: pppd, ip-up and ip-down

bug report it


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU/ d- s: a- C L U P+ L+++ E--- W+
N 0+ K- W-- !O !M V-- PS+ PE- V++ PGP T 5 Z+ R* TV+ B+
DI-- D- G-- e-- h! r++ z+ z*
------END GEEK CODE BLOCK------

Offline

#3 2004-09-16 00:33:20

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: pppd, ip-up and ip-down

Replacing config files during updates is pretty much normal pacman upgrade behavior. If you don't want these files to be messed with, add this line to your /etc/pacman.conf

NoUpgrade   = etc/ppp/ip-up etc/ppp/ip-down

The suggestion box only accepts patches.

Offline

#4 2004-09-16 01:21:52

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: pppd, ip-up and ip-down

NoUpgrade is not a complete solution. the package is supposed to know which files are config files, in order to back up with .pacsave

speaking of which... did you check to see if your pppd conf files have been backed up? smile perhaps it's working normally.

Offline

#5 2004-09-16 01:43:39

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: pppd, ip-up and ip-down

the PPP pkgbuild wrote:

backup=('etc/ppp/chap-secrets' 'etc/ppp/pap-secrets' 'etc/ppp/options')

It would appear that it does not back the files in question up.


The suggestion box only accepts patches.

Offline

#6 2004-09-16 10:36:53

Mio
Member
From: Italy
Registered: 2004-09-15
Posts: 9

Re: pppd, ip-up and ip-down

paranoos wrote:

speaking of which... did you check to see if your pppd conf files have been backed up? smile perhaps it's working normally.

No, the files have been overwritten, not backed up sad

neotuli wrote:

backup=('etc/ppp/chap-secrets' 'etc/ppp/pap-secrets' 'etc/ppp/options')

I think the better solution is to add the two files in this line of PKGBUILD.

Bye
Carlo

Offline

#7 2004-09-16 14:58:19

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: pppd, ip-up and ip-down

Mio wrote:

I think the better solution is to add the two files in this line of PKGBUILD.

I agree..bug report it


The suggestion box only accepts patches.

Offline

#8 2004-09-16 15:01:38

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: pppd, ip-up and ip-down

I agree these two files should be included in the backup=() array. it is a completely reasonable and  easy request.

i would be more inclined to file it as a feature request as it is not so much a bug as an oversight.


AKA uknowme

I am not your friend

Offline

Board footer

Powered by FluxBB