Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc-update konfigurieren!?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
SkaaliaN
Veteran
Veteran


Joined: 21 Apr 2005
Posts: 1360
Location: Valhalla

PostPosted: Wed Feb 15, 2006 12:16 pm    Post subject: etc-update konfigurieren!? Reply with quote

Hallo,
ich habe meine local.start editiert..Meine Kiste möchte allerdings bei jedem etc-update meine Zeilen rauswerfen. Kann man es einstellen das er meine Zeilen so übernimmt und nicht mehr rauswerfen will!?

Gruß
Mattez
_________________
c'ya !
skaalian
Back to top
View user's profile Send private message
deejay
l33t
l33t


Joined: 24 Aug 2004
Posts: 983
Location: Hannover, Germany

PostPosted: Wed Feb 15, 2006 12:45 pm    Post subject: Reply with quote

Das ist irgendwie komisch. Normalerweise sollte die Konfigurationen
doch erst wieder geändert werden (in den Ursprung versetzt), wenn sich
am Template selbst etwas geändert hat. Das kann man sich ja dann
mit etc-update auch anzeigen lassen, und dann die Datei Parallel wieder
abändern, so oft sollte das aber eigentlich nicht vorkommen.
_________________
Back to top
View user's profile Send private message
chrib
Guru
Guru


Joined: 27 Sep 2003
Posts: 558
Location: Berlin, Germany

PostPosted: Wed Feb 15, 2006 1:04 pm    Post subject: Reply with quote

Wenn er allerdings noch diese .cfgschiessmichtotmirfälltgraddernamenichtein-Datei noch hat, wird die natürlich bei jedem etc-update angezogen. Ergo sollte scup mal schauen, ob er die betreffende Datei noch hat, wenn ja, wegmoven/löschen.
_________________
Der Mensch kämpft um zu überleben, und nicht, um zu Grunde zu gehen. - Paulo Coelho
It is the end of all hope. To lose the child, the faith. To end all the innocence. To be someone like me. - Nightwish - End of all hope
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Wed Feb 15, 2006 1:29 pm    Post subject: Reply with quote

Ich würde mir einmal dispatch-conf ansehen, ist meiner Meinung nach viel effizienter als etc-update.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Wed Feb 15, 2006 1:36 pm    Post subject: Reply with quote

Außerdem kann man rcs in dispatch-conf einbinden, was sehr praktisch ist, wenn man mal zu einer alten Version eine Konfigurationsdatei zurück muß.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
SkaaliaN
Veteran
Veteran


Joined: 21 Apr 2005
Posts: 1360
Location: Valhalla

PostPosted: Wed Feb 15, 2006 1:57 pm    Post subject: Reply with quote

ich werde es heute abend mal ausprobieren..poste dann hier obs funktioniert hat.

danke!
_________________
c'ya !
skaalian
Back to top
View user's profile Send private message
klemi
Guru
Guru


Joined: 26 May 2004
Posts: 494
Location: Erbach b. Ulm

PostPosted: Wed Feb 15, 2006 8:42 pm    Post subject: Reply with quote

schachti,

was ist rts?
Kannst Du aufklären?

Gruß

Klemi
_________________
Gentoo 2.6.16-r12; AMD Athlon 3GHz; NVidia GeForce 5700; Hauppauge nexus-s
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Wed Feb 15, 2006 11:27 pm    Post subject: Reply with quote

Code:
* app-text/rcs
     Available versions:  5.7-r2 5.7-r3
     Installed:           none
     Homepage:            http://www.gnu.org/software/rcs/
     Description:         Revision Control System
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Thu Feb 16, 2006 7:48 am    Post subject: Reply with quote

rcs ist cvs für Arme. :lol: :twisted:

Der Link von psyqil sagt eigentlich alles. Ist sehr praktisch, wenn man aus Versehen mal eine Konfigurationsdatei mit der neuen Version überschrieben hat und plötzlich nichts mehr geht.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Thu Feb 16, 2006 5:32 pm    Post subject: Reply with quote

schachti wrote:
rcs ist cvs für Arme. :lol: :twisted:

Der Link von psyqil sagt eigentlich alles. Ist sehr praktisch, wenn man aus Versehen mal eine Konfigurationsdatei mit der neuen Version überschrieben hat und plötzlich nichts mehr geht.


Wieso nicht gleich svn? ;-)

Bye.
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Thu Feb 16, 2006 5:58 pm    Post subject: Reply with quote

Falls es wen interessiert, hier meine dispatch-conf.conf:
Code:
#
# dispatch-conf.conf
#

# Directory to archive replaced configs
archive-dir=/etc/config-archive

# Use rcs for storing files in the archive directory?
# (yes or no)
use-rcs=yes

# Diff for display
# %s old file
# %s new file
#diff="diff -Nu %s %s | less --no-init --QUIT-AT-EOF"
diff="colordiff -Nu %s %s| less --no-init --QUIT-AT-EOF"
#diff="colordiff -Nu %s %s
#pager="less -R --no-init --QUIT-AT-EOF"

# Diff for interactive merges.
# %s output file
# %s old file
# %s new file
#merge="sdiff -w 80 -d --suppress-common-lines --output=%s %s %s"
merge="sdiff -d --suppress-common-lines --output=%s %s %s"

# Automerge files comprising only CVS interpolations (e.g. Header or Id)
# (yes or no)
replace-cvs=yes

# Automerge files comprising only whitespace and/or comments
# (yes or no)
replace-wscomments=yes

# Automerge files that the user hasn't modified
# (yes or no)
replace-unmodified=yes

# Per-session log file of changes made to configuration files
#log-file=/var/log/dispatch-conf.log


Im Englischen Teil des Forums finden sich auch ein paar recht hilfreiche Threads.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
return13
Guru
Guru


Joined: 02 Feb 2004
Posts: 513
Location: Hamburg - Germany

PostPosted: Sat Sep 15, 2007 3:02 pm    Post subject: Reply with quote

amne funktioniert deine config noch?

Ich krieg hier die meldung
Code:
dispatch-conf: Error finding all RCS utils and " +                         "use-rcs=yes in config; fatal

_________________
Wer Recht erkennen will, muß zuvor in richtiger Weise gezweifelt haben.
Aristoteles (384-322), griech. Philosoph, Begründer d. abendländ. Philosophie
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sat Sep 15, 2007 4:30 pm    Post subject: Reply with quote

smg wrote:
schachti wrote:
rcs ist cvs für Arme. :lol: :twisted:

Das ist nicht richtig. rcs ist ein fileorientiertes revision control system während cvs projektorientiert (insbesondere: höchstens für komplette Directories) arbeitet. Außerdem ist cvs nur svn für besonders Arme, was wiederum nur ein bzr/darcs/git/mercurial/monotone/svk für Arme ist. :mrgreen:
Quote:
Wieso nicht gleich svn? ;-)

Der selbe Grund. Außerdem: Wenn man schon projektorientiert arbeiten (sprich: das gesamte /etc mit History speichern) will, dann schon bzr/darcs/git/mercurial/monotone (ich persönlich würde bzr benutzen). Das macht es leichter, wenn man mehr als ein System pflegt.
Back to top
View user's profile Send private message
Evildad
Guru
Guru


Joined: 15 Apr 2004
Posts: 475

PostPosted: Sat Sep 15, 2007 5:35 pm    Post subject: Reply with quote

return13 wrote:
amne funktioniert deine config noch?

Ich krieg hier die meldung
Code:
dispatch-conf: Error finding all RCS utils and " +                         "use-rcs=yes in config; fatal


Hab es grad auch getestet und hier funktioniert die Config ohne Probleme.

Anbei meine Config:

Code:

#
# dispatch-conf.conf
#

# Directory to archive replaced configs
archive-dir=/etc/config-archive

# Use rcs for storing files in the archive directory?
# (yes or no)
use-rcs=yes

# Diff for display
# %s old file
# %s new file
#diff="diff -Nu %s %s | less --no-init --QUIT-AT-EOF"
diff="colordiff -Nu %s %s| less --no-init --QUIT-AT-EOF"

# Diff for interactive merges.
# %s output file
# %s old file
# %s new file
#merge="sdiff --suppress-common-lines --output=%s %s %s"
merge="sdiff -d --suppress-common-lines --output=%s %s %s"

# Automerge files comprising only CVS interpolations (e.g. Header or Id)
# (yes or no)
replace-cvs=yes

# Automerge files comprising only whitespace and/or comments
# (yes or no)
replace-wscomments=yes

# Automerge files that the user hasn't modified
# (yes or no)
replace-unmodified=yes

# Ignore a version that is identical to the previously merged version,
# even though it is different from the current user modified version
# (yes or no)
ignore-previously-merged=yes

# Per-session log file of changes made to configuration files
#log-file=/var/log/dispatch-conf.log

# List of frozen files for which dispatch-conf will automatically zap updates
#frozen-files=""
Back to top
View user's profile Send private message
return13
Guru
Guru


Joined: 02 Feb 2004
Posts: 513
Location: Hamburg - Germany

PostPosted: Sat Sep 15, 2007 6:34 pm    Post subject: Reply with quote

war ein flüchtigkeits Fehler - musste mir nur rcs emergen...
_________________
Wer Recht erkennen will, muß zuvor in richtiger Weise gezweifelt haben.
Aristoteles (384-322), griech. Philosoph, Begründer d. abendländ. Philosophie
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum