Re: RCS control for config files

2002-07-02 Thread Alex Borges
Wow.tx a lot guys, thats a lot of very rich options i shouldve
posted it to slashdot  too...:)


Alex


El lun, 01-07-2002 a las 16:41, Alex Borges escribió:
> Heyas debian zealots,
> 
> Ive finnaly come to a point where i think im needing revision control
> for my configuration files on some servers 
> 
> So i thought id come in and ask you guys if there is some vertical stuff
> explicitly for this purpose or if you yourselves simply cvs ci your /etc
> directory et all..
> 
> Or any tips would be appreciated (like "i use emacs and rcs...works for
> me")
> 
> 
> 
> Alex Borges
> 
> Step One Group
> 
> 
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: RCS control for config files

2002-07-02 Thread Alex Borges

Wow.tx a lot guys, thats a lot of very rich options i shouldve
posted it to slashdot  too...:)


Alex


El lun, 01-07-2002 a las 16:41, Alex Borges escribió:
> Heyas debian zealots,
> 
> Ive finnaly come to a point where i think im needing revision control
> for my configuration files on some servers 
> 
> So i thought id come in and ask you guys if there is some vertical stuff
> explicitly for this purpose or if you yourselves simply cvs ci your /etc
> directory et all..
> 
> Or any tips would be appreciated (like "i use emacs and rcs...works for
> me")
> 
> 
> 
> Alex Borges
> 
> Step One Group
> 
> 
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: RCS control for config files

2002-07-02 Thread Joe Block
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday, July 1, 2002, at 05:41 , Alex Borges wrote:
Ive finnaly come to a point where i think im needing revision control
for my configuration files on some servers
So i thought id come in and ask you guys if there is some vertical stuff
explicitly for this purpose or if you yourselves simply cvs ci your /etc
directory et all..
Or any tips would be appreciated (like "i use emacs and rcs...works for
me")
I use CVS and make.  I like using make because it prevents me from doing 
stupid things like (for example) editing the aliases file and forgetting 
to newaliases.  I set up make targets for the various typical tasks, and 
that way I know that "make mail" will copy aliases to /etc/aliases, 
virtual and main.cf to /etc/postfix, cd into /etc/postfix and do a 
postmap on virtual, and then do a postfix reload, so I don't have to 
remember to follow a checklist.   Basically, anything that has more than 
1 step involved to update the configuration, I try to add a target to 
the Makefile for.

I also prefer CVS because I can do all the configuration editing on my 
laptop and then just do a checkin when I get back to network access and 
then cvs update on the various machines I've been reconfiguring.

My personal organization preference is to have modules for 
mail/apache/etc with subdirectories for the various servers.

jpb
- --
Joe Block <[EMAIL PROTECTED]>
"It's clearly a budget. It's got a lot of numbers in it."
 - George W. Bush, Reuters, May 5, 2000
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (Darwin)
iD8DBQE9Ifa4yEXo8W2M9hsRAseRAJ41h4+A7gHaCCFK89U3pAz28QKHpgCcCnco
4x3NcmVuRuc5BNCgsnm9FNw=
=ROve
-END PGP SIGNATURE-
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: RCS control for config files

2002-07-02 Thread Joe Block

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Monday, July 1, 2002, at 05:41 , Alex Borges wrote:
> Ive finnaly come to a point where i think im needing revision control
> for my configuration files on some servers
>
> So i thought id come in and ask you guys if there is some vertical stuff
> explicitly for this purpose or if you yourselves simply cvs ci your /etc
> directory et all..
>
> Or any tips would be appreciated (like "i use emacs and rcs...works for
> me")

I use CVS and make.  I like using make because it prevents me from doing 
stupid things like (for example) editing the aliases file and forgetting 
to newaliases.  I set up make targets for the various typical tasks, and 
that way I know that "make mail" will copy aliases to /etc/aliases, 
virtual and main.cf to /etc/postfix, cd into /etc/postfix and do a 
postmap on virtual, and then do a postfix reload, so I don't have to 
remember to follow a checklist.   Basically, anything that has more than 
1 step involved to update the configuration, I try to add a target to 
the Makefile for.

I also prefer CVS because I can do all the configuration editing on my 
laptop and then just do a checkin when I get back to network access and 
then cvs update on the various machines I've been reconfiguring.

My personal organization preference is to have modules for 
mail/apache/etc with subdirectories for the various servers.

jpb
- --
Joe Block <[EMAIL PROTECTED]>

"It's clearly a budget. It's got a lot of numbers in it."
  - George W. Bush, Reuters, May 5, 2000
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (Darwin)

iD8DBQE9Ifa4yEXo8W2M9hsRAseRAJ41h4+A7gHaCCFK89U3pAz28QKHpgCcCnco
4x3NcmVuRuc5BNCgsnm9FNw=
=ROve
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




NEWS RELEASE

2002-07-02 Thread
BOATERS, SWIMMERS, FISHERMEN, CANOEISTS, KAYAKERS---ALL WATERSPORTSMEN:

A MAJOR BREAKTHROUGH IN WATER SAFETY!

GET RID OF BULKY LIFE VESTS FOREVER---

The World's Most Compact Life Vest-"The Swimmer's Safety Belt ®" - First Ever 
U.S. Coast Guard Approved Personal Flotation Device (PFD) for Boaters AND 
Swimmers!

FACT:  Each year over 700 boaters & 8,000 swimmers drown in the USA alone.
FACT:  Each year over 140,000 victims drown worldwide.

PRIMARY CAUSE: NO PRACTICAL LIFE VEST.

FIRST TIME - PROTECT YOURSELF & YOUR FAMILY WHILE SWIMMING & BOATING

WEAR IT ALL DAY LONG WITH A SWIMSUIT & NOT EVEN KNOW IT'S ON!

MORE INFO & ORDERING DETAILS VISIT:  http://www.seapromarine.com

PRIVACY NOTICE: If you feel that this news release is of no benefit to you and 
you want no further notices, please click here: MAILTO:[EMAIL PROTECTED] and 
your name will be removed from any future releases.







--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: rsync not working

2002-07-02 Thread Jeremy C. Reed
On Tue, 2 Jul 2002, Andrew P. Kaplan wrote:

> and get the following. Yet the listed files are not updated. The machine has


> home/charlestownpd/webspace/dispatchlog.htm

> /usr/local/bin/rsync -arpogztve ssh ip.ad.dr.es:/home /home

Did you look at /home/home/charlestownpd/webspace/dispatchlog.htm ?

(Notice "home" under "home".)

Instead try copying from /home/ (with the trailing slash) to /home.

  Jeremy C. Reed

 BSD software, documentation, resources, news...
 http://bsd.reedmedia.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




NEWS RELEASE

2002-07-02 Thread

BOATERS, SWIMMERS, FISHERMEN, CANOEISTS, KAYAKERS---ALL WATERSPORTSMEN:

A MAJOR BREAKTHROUGH IN WATER SAFETY!

GET RID OF BULKY LIFE VESTS FOREVER---

The World's Most Compact Life Vest-"The Swimmer's Safety Belt ®" - First Ever U.S. 
Coast Guard Approved Personal Flotation Device (PFD) for Boaters AND Swimmers!

FACT:  Each year over 700 boaters & 8,000 swimmers drown in the USA alone.
FACT:  Each year over 140,000 victims drown worldwide.

PRIMARY CAUSE: NO PRACTICAL LIFE VEST.

FIRST TIME - PROTECT YOURSELF & YOUR FAMILY WHILE SWIMMING & BOATING

WEAR IT ALL DAY LONG WITH A SWIMSUIT & NOT EVEN KNOW IT'S ON!

MORE INFO & ORDERING DETAILS VISIT:  http://www.seapromarine.com

PRIVACY NOTICE: If you feel that this news release is of no benefit to you and you 
want no further notices, please click here: 
MAILTO:[EMAIL PROTECTED]?subject=REMOVE  and your name will be removed from any 
future releases.







--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: rsync not working

2002-07-02 Thread Jeremy C. Reed

On Tue, 2 Jul 2002, Andrew P. Kaplan wrote:

> and get the following. Yet the listed files are not updated. The machine has


> home/charlestownpd/webspace/dispatchlog.htm

> /usr/local/bin/rsync -arpogztve ssh ip.ad.dr.es:/home /home

Did you look at /home/home/charlestownpd/webspace/dispatchlog.htm ?

(Notice "home" under "home".)

Instead try copying from /home/ (with the trailing slash) to /home.

  Jeremy C. Reed

 BSD software, documentation, resources, news...
 http://bsd.reedmedia.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Woody Snort

2002-07-02 Thread Jan V
On Tue, 2002-07-02 at 15:56, Craig wrote:
> Hi guys
> 
> I am having problems removing snort from a woody box:
> 
> The following packages will be REMOVED:
>   snort
> 0 packages upgraded, 0 newly installed, 1 to remove and 5  not upgraded.
> Need to get 0B of archives. After unpacking 386kB will be freed.
> Do you want to continue? [Y/n] Y
> (Reading database ... 20563 files and directories currently installed.)
> Removing snort ...
> /etc/init.d/snort: var: command not found
> dpkg: error processing snort (--remove):
>  subprocess pre-removal script returned error exit status 127

The pre-removal script returns an error, you should check snort.prerm in
the following directory: /var/lib/dpkg/info/ .

And if it's a bug (if you get the same error if you re-install and
subsequently de-install the latest version of snort (possibly from sid))
=> $reportbug snort .

> postinst called with unknown argument `abort-remove'
> Errors were encountered while processing:
>  snort
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> ---

-- 
Jan V




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: RCS control for config files

2002-07-02 Thread Michael Furr
On Mon, 2002-07-01 at 17:41, Alex Borges wrote:
> Or any tips would be appreciated (like "i use emacs and rcs...works for
> me")
I often use a separate holding place for all config files somewhere in
/var or /opt depending the OS.  Everything is kept there in RCS(good for
locking).  I check it out in that holding area and make the necessary
changes, then use makefiles to test and install the files into /etc or
wherever.  This is enoumously helpful for catching simple typos in files
like sudoers that break easily.  So, for example, the sudoers target
would copy the new version into a chroot and then sudo -l would be run
inside.  If this is successful, then it is copied into place and rsynced
out.  It is amazingly helpful in preventing stupid mistakes that would
make users unhappy.

-m


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Woody Snort

2002-07-02 Thread Craig
Hi guys

I am having problems removing snort from a woody box:

The following packages will be REMOVED:
  snort
0 packages upgraded, 0 newly installed, 1 to remove and 5  not upgraded.
Need to get 0B of archives. After unpacking 386kB will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 20563 files and directories currently installed.)
Removing snort ...
/etc/init.d/snort: var: command not found
dpkg: error processing snort (--remove):
 subprocess pre-removal script returned error exit status 127
postinst called with unknown argument `abort-remove'
Errors were encountered while processing:
 snort
E: Sub-process /usr/bin/dpkg returned an error code (1)

---
Does anyone have any ideas on how I can fix this ?

..Craig


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Woody Snort

2002-07-02 Thread Jan V

On Tue, 2002-07-02 at 15:56, Craig wrote:
> Hi guys
> 
> I am having problems removing snort from a woody box:
> 
> The following packages will be REMOVED:
>   snort
> 0 packages upgraded, 0 newly installed, 1 to remove and 5  not upgraded.
> Need to get 0B of archives. After unpacking 386kB will be freed.
> Do you want to continue? [Y/n] Y
> (Reading database ... 20563 files and directories currently installed.)
> Removing snort ...
> /etc/init.d/snort: var: command not found
> dpkg: error processing snort (--remove):
>  subprocess pre-removal script returned error exit status 127

The pre-removal script returns an error, you should check snort.prerm in
the following directory: /var/lib/dpkg/info/ .

And if it's a bug (if you get the same error if you re-install and
subsequently de-install the latest version of snort (possibly from sid))
=> $reportbug snort .

> postinst called with unknown argument `abort-remove'
> Errors were encountered while processing:
>  snort
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> ---

-- 
Jan V




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




rsync not working

2002-07-02 Thread Andrew P. Kaplan
My rysnc (both boxes are Debian) stopped working when I moved the Master
server behind a firewall. I have opened up SSH and RSYNC. The firewall
doesn;t show any blocked activity. I run rsync on my client on my location
and get the following. Yet the listed files are not updated. The machine has
plenty of free space. Netstat shows an SSH connection to the master box
behind the firewall. Further done listed is my rsync script. What's missing.
I opened up the firewall completely and still has unable to rsync the boxes.


receiving file list ... done
wrote 16 bytes  read 49 bytes  43.33 bytes/sec
total size is 26255  speedup is 403.92
receiving file list ... done
wrote 16 bytes  read 64 bytes  53.33 bytes/sec
total size is 13210  speedup is 165.12
receiving file list ... done
wrote 16 bytes  read 48 bytes  42.67 bytes/sec
total size is 5888  speedup is 92.00
receiving file list ... done
home/charlestownpd/webspace/dispatchlog.htm
home/www/Counter/data/count.dat
home/www/Counter/data/ohm1.dat
home/www/Counter/data/teamesprit.dat
home/www/Counter/data/wtac1.dat
home/charlestownpd/webspace/
home/www/Counter/data/
wrote 732 bytes  read 2184661 bytes  43275.11 bytes/sec
total size is 6335573487  speedup is 2899.05




#!/bin/sh
#
# RSYNC Backup bach
#

/usr/local/bin/rsync -arpogztve ssh ip.ad.dr.es:/etc/passwd /etc/passwd
/usr/local/bin/rsync -arpogztve ssh ip.ad.dr.es:/etc/shadow /etc/shadow
/usr/local/bin/rsync -arpogztve ssh ip.ad.dr.es:/etc/group /etc/group

/usr/local/bin/rsync -arpogztve ssh ip.ad.dr.es:/home /home

Andrew P. Kaplan
Network Administrator
CyberShore, Inc.
http://www.cshore.com


"Vacation used to be a luxury, however, in today's world, it has become a
necessity."

Unknown





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 5/24/02

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 5/24/02


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




sendto: Operation not permitted

2002-07-02 Thread Alexandru Stefan-Voicu

Hello all.
Please, if you can help me get rid of this message ? I try to check my 
network for vulnerabilities using 
that little "tool" called "slice3". And I get this... Do you know what I can do 
?
Thanks in advance,

Alexandru Stefan-Voicu, Digital Design Group server 
administrator. 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: RCS control for config files

2002-07-02 Thread Michael Furr

On Mon, 2002-07-01 at 17:41, Alex Borges wrote:
> Or any tips would be appreciated (like "i use emacs and rcs...works for
> me")
I often use a separate holding place for all config files somewhere in
/var or /opt depending the OS.  Everything is kept there in RCS(good for
locking).  I check it out in that holding area and make the necessary
changes, then use makefiles to test and install the files into /etc or
wherever.  This is enoumously helpful for catching simple typos in files
like sudoers that break easily.  So, for example, the sudoers target
would copy the new version into a chroot and then sudo -l would be run
inside.  If this is successful, then it is copied into place and rsynced
out.  It is amazingly helpful in preventing stupid mistakes that would
make users unhappy.

-m


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Woody Snort

2002-07-02 Thread Craig

Hi guys

I am having problems removing snort from a woody box:

The following packages will be REMOVED:
  snort
0 packages upgraded, 0 newly installed, 1 to remove and 5  not upgraded.
Need to get 0B of archives. After unpacking 386kB will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 20563 files and directories currently installed.)
Removing snort ...
/etc/init.d/snort: var: command not found
dpkg: error processing snort (--remove):
 subprocess pre-removal script returned error exit status 127
postinst called with unknown argument `abort-remove'
Errors were encountered while processing:
 snort
E: Sub-process /usr/bin/dpkg returned an error code (1)

---
Does anyone have any ideas on how I can fix this ?

..Craig


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




rsync not working

2002-07-02 Thread Andrew P. Kaplan

My rysnc (both boxes are Debian) stopped working when I moved the Master
server behind a firewall. I have opened up SSH and RSYNC. The firewall
doesn;t show any blocked activity. I run rsync on my client on my location
and get the following. Yet the listed files are not updated. The machine has
plenty of free space. Netstat shows an SSH connection to the master box
behind the firewall. Further done listed is my rsync script. What's missing.
I opened up the firewall completely and still has unable to rsync the boxes.


receiving file list ... done
wrote 16 bytes  read 49 bytes  43.33 bytes/sec
total size is 26255  speedup is 403.92
receiving file list ... done
wrote 16 bytes  read 64 bytes  53.33 bytes/sec
total size is 13210  speedup is 165.12
receiving file list ... done
wrote 16 bytes  read 48 bytes  42.67 bytes/sec
total size is 5888  speedup is 92.00
receiving file list ... done
home/charlestownpd/webspace/dispatchlog.htm
home/www/Counter/data/count.dat
home/www/Counter/data/ohm1.dat
home/www/Counter/data/teamesprit.dat
home/www/Counter/data/wtac1.dat
home/charlestownpd/webspace/
home/www/Counter/data/
wrote 732 bytes  read 2184661 bytes  43275.11 bytes/sec
total size is 6335573487  speedup is 2899.05




#!/bin/sh
#
# RSYNC Backup bach
#

/usr/local/bin/rsync -arpogztve ssh ip.ad.dr.es:/etc/passwd /etc/passwd
/usr/local/bin/rsync -arpogztve ssh ip.ad.dr.es:/etc/shadow /etc/shadow
/usr/local/bin/rsync -arpogztve ssh ip.ad.dr.es:/etc/group /etc/group

/usr/local/bin/rsync -arpogztve ssh ip.ad.dr.es:/home /home

Andrew P. Kaplan
Network Administrator
CyberShore, Inc.
http://www.cshore.com


"Vacation used to be a luxury, however, in today's world, it has become a
necessity."

Unknown





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 5/24/02

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 5/24/02


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




sendto: Operation not permitted

2002-07-02 Thread Alexandru Stefan-Voicu


Hello all.
Please, if you can help me get rid of this message ? I try to check my network 
for vulnerabilities using 
that little "tool" called "slice3". And I get this... Do you know what I can do ?
Thanks in advance,

Alexandru Stefan-Voicu, Digital Design Group server administrator. 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: RCS control for config files

2002-07-02 Thread Torbjorn Pettersson
Alex Borges <[EMAIL PROTECTED]> writes:

> Heyas debian zealots,
> 
> Ive finnaly come to a point where i think im needing revision control
> for my configuration files on some servers 
> 
> So i thought id come in and ask you guys if there is some vertical stuff
> explicitly for this purpose or if you yourselves simply cvs ci your /etc
> directory et all..
> 
> Or any tips would be appreciated (like "i use emacs and rcs...works for
> me")
> 
> 
> 
> Alex Borges
> 
> Step One Group

Short description:

I use emacs and rcs... works for me :-)

Long description:
emacs + vc mode in emacs really. Lot of nifty commands for
checking in/out, and comparing with older versions.

It also works with files in CVS, which I use inderectly since a
lot of my major files are handled by cfengine.

//Tobbe
-- 
##
Torbjörn Pettersson   #  Email   [EMAIL PROTECTED]
Vattugatan 5  #  Web www.strul.nu/~tobbe
S-111 52  Stockholm, Sweden   #
##


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: RCS control for config files

2002-07-02 Thread Peter Palfrader
On Tue, 02 Jul 2002, Robert Waldner wrote:

> On 01 Jul 2002 16:41:25 CDT, Alex Borges writes:
> >Ive finnaly come to a point where i think im needing revision control
> >for my configuration files on some servers 
> >
> >So i thought id come in and ask you guys if there is some vertical stuff
> >explicitly for this purpose or if you yourselves simply cvs ci your /etc
> >directory et all..
> >
> >Or any tips would be appreciated (like "i use emacs and rcs...works for
> >me")
> 
> :) [EMAIL PROTECTED]>~ $ cat `which rcsvi`
> #!/bin/sh
> 
> /usr/bin/co -l $1 && /usr/bin/vi $1 ; /usr/bin/ci -u $1
> 
> exit

Here the luxus version:

[EMAIL PROTECTED]:~$ cat `which rvi`
#!/bin/sh
 
co -l $1
if [ $? -ne 0 ] ; then
echo "Check out failed."
echo "Maybe someone else is currently editing this file."
echo "Aborting rvi."
exit 1
fi
/usr/bin/rvim $1
ci -u $1

yours,
peter

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :  The  universal
   | `. `'  Operating System
 http://www.palfrader.org/ |   `-http://www.debian.org/


pgpGYFH87erJg.pgp
Description: PGP signature


Re: RCS control for config files

2002-07-02 Thread Robert Waldner

On 01 Jul 2002 16:41:25 CDT, Alex Borges writes:
>Ive finnaly come to a point where i think im needing revision control
>for my configuration files on some servers 
>
>So i thought id come in and ask you guys if there is some vertical stuff
>explicitly for this purpose or if you yourselves simply cvs ci your /etc
>directory et all..
>
>Or any tips would be appreciated (like "i use emacs and rcs...works for
>me")

:) [EMAIL PROTECTED]>~ $ cat `which rcsvi`
#!/bin/sh

/usr/bin/co -l $1 && /usr/bin/vi $1 ; /usr/bin/ci -u $1

exit

cheers,
&rw
-- 
/ Ing. Robert Waldner | Security Engineer |  CoreTec IT-Security  \
\   <[EMAIL PROTECTED]>   | T +43 1 503 72 73 | F +43 1 503 72 73 x99 /



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: RCS control for config files

2002-07-02 Thread Torbjorn Pettersson

Alex Borges <[EMAIL PROTECTED]> writes:

> Heyas debian zealots,
> 
> Ive finnaly come to a point where i think im needing revision control
> for my configuration files on some servers 
> 
> So i thought id come in and ask you guys if there is some vertical stuff
> explicitly for this purpose or if you yourselves simply cvs ci your /etc
> directory et all..
> 
> Or any tips would be appreciated (like "i use emacs and rcs...works for
> me")
> 
> 
> 
> Alex Borges
> 
> Step One Group

Short description:

I use emacs and rcs... works for me :-)

Long description:
emacs + vc mode in emacs really. Lot of nifty commands for
checking in/out, and comparing with older versions.

It also works with files in CVS, which I use inderectly since a
lot of my major files are handled by cfengine.

//Tobbe
-- 
##
Torbjörn Pettersson   #  Email   [EMAIL PROTECTED]
Vattugatan 5  #  Web www.strul.nu/~tobbe
S-111 52  Stockholm, Sweden   #
##


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: RCS control for config files

2002-07-02 Thread Peter Palfrader

On Tue, 02 Jul 2002, Robert Waldner wrote:

> On 01 Jul 2002 16:41:25 CDT, Alex Borges writes:
> >Ive finnaly come to a point where i think im needing revision control
> >for my configuration files on some servers 
> >
> >So i thought id come in and ask you guys if there is some vertical stuff
> >explicitly for this purpose or if you yourselves simply cvs ci your /etc
> >directory et all..
> >
> >Or any tips would be appreciated (like "i use emacs and rcs...works for
> >me")
> 
> :) waldner@beren->~ $ cat `which rcsvi`
> #!/bin/sh
> 
> /usr/bin/co -l $1 && /usr/bin/vi $1 ; /usr/bin/ci -u $1
> 
> exit

Here the luxus version:

weasel@marvin:~$ cat `which rvi`
#!/bin/sh
 
co -l $1
if [ $? -ne 0 ] ; then
echo "Check out failed."
echo "Maybe someone else is currently editing this file."
echo "Aborting rvi."
exit 1
fi
/usr/bin/rvim $1
ci -u $1

yours,
peter

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
messages preferred.| : :' :  The  universal
   | `. `'  Operating System
 http://www.palfrader.org/ |   `-http://www.debian.org/



msg06656/pgp0.pgp
Description: PGP signature


Re: RCS control for config files

2002-07-02 Thread Robert Waldner


On 01 Jul 2002 16:41:25 CDT, Alex Borges writes:
>Ive finnaly come to a point where i think im needing revision control
>for my configuration files on some servers 
>
>So i thought id come in and ask you guys if there is some vertical stuff
>explicitly for this purpose or if you yourselves simply cvs ci your /etc
>directory et all..
>
>Or any tips would be appreciated (like "i use emacs and rcs...works for
>me")

:) waldner@beren->~ $ cat `which rcsvi`
#!/bin/sh

/usr/bin/co -l $1 && /usr/bin/vi $1 ; /usr/bin/ci -u $1

exit

cheers,
&rw
-- 
/ Ing. Robert Waldner | Security Engineer |  CoreTec IT-Security  \
\   <[EMAIL PROTECTED]>   | T +43 1 503 72 73 | F +43 1 503 72 73 x99 /



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Perl on woody - fixing faulty install

2002-07-02 Thread John Egan \(Highway Internet Services\)
Hi folks,
I am looking for assistance to fix my install of Perl on a woody debian 
install. The debian was upgraded from potato. Several error messages 
keep exposing themselves, complaining that Net::FTP is not installed, 
when I try to update modules, etc through CPAN. 
This is a catch 22 situation as the process fails because it can't get 
files from the net but it needs to get files from CPAN. I have removed 
unwanted perl deb packages and then have used apt-get to clean and 
reinstall the suspect packages but with no success. I have done some 
searching to seek an answer but found nothing suitable. I have had 
similar difficulties in the past and eventually got perl to use lynx as 
the download agent. But I can't remember how I did it. 
Any suggestions from your collective experiences about this problem 
would be welcome.


John Egan
Highway Internet Services
Mudgee, NSW
Australia


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]