View previous topic :: View next topic |
Author |
Message |
SkaaliaN Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_agent_smith.gif)
Joined: 21 Apr 2005 Posts: 1363 Location: Valhalla
|
Posted: Wed Feb 15, 2006 12:16 pm Post subject: etc-update konfigurieren!? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
deejay l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/19046744624142b8a60f142.jpg)
Joined: 24 Aug 2004 Posts: 983 Location: Hannover, Germany
|
Posted: Wed Feb 15, 2006 12:45 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
chrib Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 27 Sep 2003 Posts: 558 Location: Berlin, Germany
|
Posted: Wed Feb 15, 2006 1:04 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
amne Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/117771253447ad6e0ae3631.gif)
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Wed Feb 15, 2006 1:29 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
schachti Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/17240378884464519a52d60.jpg)
Joined: 28 Jul 2003 Posts: 3765 Location: Gifhorn, Germany
|
Posted: Wed Feb 15, 2006 1:36 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
SkaaliaN Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_agent_smith.gif)
Joined: 21 Apr 2005 Posts: 1363 Location: Valhalla
|
Posted: Wed Feb 15, 2006 1:57 pm Post subject: |
|
|
ich werde es heute abend mal ausprobieren..poste dann hier obs funktioniert hat.
danke! _________________ c'ya !
skaalian |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
klemi Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 26 May 2004 Posts: 494 Location: Erbach b. Ulm
|
Posted: Wed Feb 15, 2006 8:42 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
psyqil Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1587989655463dcd544a602.jpg)
Joined: 26 May 2003 Posts: 2767
|
Posted: Wed Feb 15, 2006 11:27 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
schachti Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/17240378884464519a52d60.jpg)
Joined: 28 Jul 2003 Posts: 3765 Location: Gifhorn, Germany
|
Posted: Thu Feb 16, 2006 7:48 am Post subject: |
|
|
rcs ist cvs für Arme.
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 |
|
![](templates/gentoo/images/spacer.gif) |
smg Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1227089703419756a3aa42e.png)
Joined: 13 Aug 2004 Posts: 1402 Location: /home/stephan
|
Posted: Thu Feb 16, 2006 5:32 pm Post subject: |
|
|
schachti wrote: | rcs ist cvs für Arme.
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 |
|
![](templates/gentoo/images/spacer.gif) |
amne Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/117771253447ad6e0ae3631.gif)
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Thu Feb 16, 2006 5:58 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
return13 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/145600369441fcf51159ff4.gif)
Joined: 02 Feb 2004 Posts: 513 Location: Hamburg - Germany
|
Posted: Sat Sep 15, 2007 3:02 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mv Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/169262237648b51b40d0ec0.png)
Joined: 20 Apr 2005 Posts: 6780
|
Posted: Sat Sep 15, 2007 4:30 pm Post subject: |
|
|
smg wrote: | schachti wrote: | rcs ist cvs für Arme. ![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) |
|
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.
Quote: | Wieso nicht gleich svn? ![Wink ;-)](images/smiles/icon_wink.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
Evildad Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/320506604783c9a8c4591.jpg)
Joined: 15 Apr 2004 Posts: 475
|
Posted: Sat Sep 15, 2007 5:35 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
return13 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/145600369441fcf51159ff4.gif)
Joined: 02 Feb 2004 Posts: 513 Location: Hamburg - Germany
|
Posted: Sat Sep 15, 2007 6:34 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|