softupdate

2007-08-19 Thread Per Foreby
ld only proceed with the installation if you are certain that this is what you want to do. lth-jdk-1.4.2 lth-jdk-1.5.0.12 lth-jdk-1.6.0.02 --- After an "aptitude update" the complaints are gone, and the packages are in

Re: softupdate

2007-08-19 Thread Holger Levsen
Hi, On Sunday 19 August 2007 16:48, Per Foreby wrote: > After an "aptitude update" the complaints are gone, and the packages are > installable with softupdate. Does the authentication problem occur after every softupdate or only at the first softupdate of the day? :) regards

Re: softupdate

2007-08-19 Thread Per Foreby
On Sun, 19 Aug 2007, Holger Levsen wrote: Hi, On Sunday 19 August 2007 16:48, Per Foreby wrote: After an "aptitude update" the complaints are gone, and the packages are installable with softupdate. Does the authentication problem occur after every softupdate or only at the first

Re: softupdate

2007-08-20 Thread Holger Levsen
Hi, On Sunday 19 August 2007 17:41, Per Foreby wrote: > Everytime, until I run "aptitude update" (manually, or in the > softupdate hook as I described). Then aptitude update is not run and should be. IMO it would be good to have it in the simple examples. regards

Re: softupdate

2007-08-20 Thread Per Foreby
On Mon, 20 Aug 2007, Holger Levsen wrote: Hi, On Sunday 19 August 2007 17:41, Per Foreby wrote: Everytime, until I run "aptitude update" (manually, or in the softupdate hook as I described). Then aptitude update is not run and should be. IMO it would be good to have it in

Re: softupdate

2007-08-21 Thread Holger Levsen
Hi, On Monday 20 August 2007 15:02, Per Foreby wrote: > Here is an update of the problem description: > > With my extra "aptitude update" in te softupdate hook, the output looks > like this on consecutive softupdates: [...] > W: GPG error: ftp://ftp.ddg.lth.se et

softupdate needs -N

2007-08-15 Thread Per Foreby
Hi, posting here instead of filing a bug report since I don't know if this is a bug or me doing something wrong. In previous fai versions, softupdate worked without -N after a fresh install. In 3.1.8 "fai softupdate" gives me the following error: Try to read classes fr

partial/gradual softupdate?

2009-09-28 Thread Andreas Schuldei
hi! we want to start introducing partial nightly, automatic softupdate runs (from cron) in order to deploy common changes to all our hosts like - the odd new munin server ip - some syslog server infrastructure changes - new name servers (resolve.conf) etc so, these would be rather basic

task_error bei softupdate

2015-01-23 Thread Schulz, Reiner
/fai/subroutines wird dann als letztes die Funktion die() aufgerufen, die mit "exec bash -i" eine neu shell startet. ( Das die() hier noch prüft, on FAI_ACTION = install ignoriere ich mal, das könnte ich ja noch ergänzen. ) Wenn ich die dann beende, läuft der Rest des softupdate w

Re: softupdate needs -N

2007-08-15 Thread Emil Gorter
SSES else echo "No FAI_CLASSES file found.." fi And I'm seeing some other little problems with the softupdate: Configuration space x1.ripe.net://srv/fai/config mounted to /var/lib/fai/config [...] Calling task_savelog umount: //fai: not found End of /usr/sbin/fai I need to

Re: softupdate needs -N

2007-08-15 Thread Per Foreby
LASSES $target/var/log/fai/FAI_CLASSES else echo "No FAI_CLASSES file found.." fi I think I'll stich with using -N until this is fixed. And I'm seeing some other little problems with the softupdate: Configuration space x1.ripe.net://srv/fai/config mounted to /var/lib

Re: softupdate needs -N

2007-08-16 Thread Henning Sprang
Per Foreby wrote: > Hi, > > posting here instead of filing a bug report since I don't know if this > is a bug or me doing something wrong. > > In previous fai versions, softupdate worked without -N after a fresh > install. In 3.1.8 "fai softupdate" gives m

Re: softupdate needs -N

2007-08-16 Thread Henning Glawe
On Wed, Aug 15, 2007 at 11:12:25AM +0200, Per Foreby wrote: > In previous fai versions, softupdate worked without -N after a fresh > install. In 3.1.8 "fai softupdate" gives me the following error: > > Try to read classes from /var/log/fai/FAI_CLASSES. Failed. Aborting.

Re: softupdate needs -N

2007-08-16 Thread Per Foreby
On Thu, 16 Aug 2007, Henning Glawe wrote: On Wed, Aug 15, 2007 at 11:12:25AM +0200, Per Foreby wrote: In previous fai versions, softupdate worked without -N after a fresh install. In 3.1.8 "fai softupdate" gives me the following error: Try to read classes from /var/log/fai/F

Re: softupdate needs -N

2007-08-17 Thread Holger Levsen
Hi, On Thursday 16 August 2007 14:59, Henning Glawe wrote: > I vote for renewing classes by default... Seconded. regards, Holger pgpO07FxY2U1O.pgp Description: PGP signature

Re: softupdate needs -N

2007-08-17 Thread Michael Tautschnig
> Hi, > > On Thursday 16 August 2007 14:59, Henning Glawe wrote: > > I vote for renewing classes by default... > > Seconded. > Me too. Best, Michael pgpCvZiNAVHfl.pgp Description: PGP signature

Re: softupdate needs -N

2007-08-20 Thread Achim Bohnet
On Friday, 17. August 2007, Michael Tautschnig wrote: > > Hi, > > > > On Thursday 16 August 2007 14:59, Henning Glawe wrote: > > > I vote for renewing classes by default... > > > > Seconded. > > > Me too. 'mee too' too. Achim > > Best, > Michael -- To me vi is Zen. To use vi is to practic

untrusted packages in softupdate

2009-05-11 Thread ejone...@yahoo.com
Does FAI_ALLOW_UNSIGNED=1 work in softupdates? And if not, is there an equivalent flag that does work? Thanks, Ernest

fai-debconf and softupdate

2009-05-22 Thread Gebhardt Thomas
Hi, just got the same problem as Date: Mon, 12 May 2008 16:56:31 +0200 From: Eymen Alyaz Subject: exim4-config with debconf fails and found that this is due to an unexpected behaviour of fai-debconf while performing a "fai softupdate" . I use to keep the vanilla fai config just as

Re: partial/gradual softupdate?

2009-09-28 Thread Henning Sprang
by hand, you can check out the "manual" tag. * Some simple variable you set with the manual call. And your nameserver reconfiguration script just exists if it is not set - like #$ DOCRITICALSTUFF=true fai -N softupdate * have a central database (and a GUI, e.g. web for it) that let'

Softupdate and fai-cd

2010-02-11 Thread David Ward
Hi, Has anyone had experience using the softupdate feature from a CD? Its described in the manual as "updating the running system without doing a re-installation". In this case you'd be running from the CD and updating the hard drive installation so you are not updating the *run

fai softupdate and cron

2010-12-01 Thread mamadou diop
Hello, before asking my question, i would just to say to Thomas that i couldn't find in my program mail a function which permits to cite only a part of my email. Hi, I want after installation the clients have 'fai -N softupdtate' in their cron entry. What to do?

dist-upgrade & fai softupdate

2014-07-02 Thread John G. Heim
Is it redundant to do a apt-get dist-upgrade as part of a fai softupdate? The fai man page says, as part of the softupdate, it will "update the installed packages". But I am gussing that does a "apt-get upgrade", not a "dist-upgrade". -- --- John G. Heim, 608-263-4189, jh...@math.wisc.edu

Re: task_error bei softupdate

2015-02-09 Thread Thomas Lange
>>>>> On Fri, 23 Jan 2015 15:53:32 +, "Schulz, Reiner" >>>>> said: > Wenn meine Prüfung fehlschlägt und ich abbrechen möchte, rufe ich > task_error 899 > Wenn ich die dann beende, läuft der Rest des softupdate weiter. >

Re: task_error bei softupdate

2015-02-17 Thread Dirk Geschke
Hallo Reiner, > Mein "action.DEFAULT" sieht so aus: > > #!/bin/bash -x > > echo HOOK $0 > > [ -z $FAI_HOST_FQDN ] && echo "FEHLER \$FAI_HOST_FQDN nicht gesetzt, bitte > FAI_CONFIG/class/.var erstellen. ABBRUCH" ; task_error 899 > &

Re: untrusted packages in softupdate

2009-05-11 Thread Henning Sprang
ejone...@yahoo.com wrote: > Does FAI_ALLOW_UNSIGNED=1 work in softupdates? Not sure - did you try? :) > And if not, is there an equivalent flag that does work? There's an apt config option for this. You could make sure in a hook that is is set before the apt update takes place: # cat /etc/apt

Re: untrusted packages in softupdate

2009-05-11 Thread ejone...@yahoo.com
e: > > # cat /etc/apt/apt.conf > APT::Get::AllowUnauthenticated "true"; > That works great. Thanks. --- On Mon, 5/11/09, Henning Sprang wrote: > From: Henning Sprang > Subject: Re: untrusted packages in softupdate > To: "ejone...@yahoo.com" > Cc:

Re: Softupdate and fai-cd

2010-02-11 Thread Michael Tautschnig
> Hi, Has anyone had experience using the softupdate feature from a CD? Its > described in the manual as "updating the running system without doing a > re-installation". In this case you'd be running from the CD and updating > the hard drive installation so you ar

Re: fai softupdate and cron

2010-12-01 Thread Michael Tautschnig
Hi, > Hello, before asking my question, i would just to say to Thomas that i > couldn't find in my program mail > a function which permits to cite only a part of my email. > Are you using the gmail web interface? Isn't it a simple matter of removing parts of the by-default cited text? At least f

Re: fai softupdate and cron

2010-12-01 Thread Andreas Heinlein
t; Best regards, > Michael > You might consider using some kind of "release lock" like wo do. We are using NFS mounts for /home, and I have created a little init script which will run on shutdown (Runlevel 0) and check if /home/fai-update-timestamp is newer than the folder which /var/

logging output for fai-softupdate

2014-07-02 Thread John G. Heim
If I have a script run daily by fai-softupdate, how do I get it to log output? For example, I have status messages that it display via the bash echo command. But these do not get displayed when the script is run via fai softupdate. -- --- John G. Heim, 608-263-4189, jh...@math.wisc.edu

Re: dist-upgrade & fai softupdate

2014-07-03 Thread Thomas Lange
>>>>> On Wed, 02 Jul 2014 11:42:30 -0500, "John G. Heim" >>>>> said: > Is it redundant to do a apt-get dist-upgrade as part of a fai > softupdate? fai softupdates calls task_updatebase which does aptitude full-upgrade which is the same as dist-upgrade. -- regards Thomas

Re: Re: task_error bei softupdate

2015-02-16 Thread Schulz, Reiner
Mein "action.DEFAULT" sieht so aus: #!/bin/bash -x echo HOOK $0 [ -z $FAI_HOST_FQDN ] && echo "FEHLER \$FAI_HOST_FQDN nicht gesetzt, bitte FAI_CONFIG/class/.var erstellen. ABBRUCH" ; task_error 899 Beim softupdate kommt folgendes: ... Calling hook: action.DEFA

Re: Re: task_error bei softupdate

2015-02-18 Thread Holger Parplies
Hallo, Schulz, Reiner wrote on 2015-02-16 15:41:57 + [Re: Re: task_error bei softupdate]: > [...] > Beim softupdate kommt folgendes: > [...] > + fai-savelog -r > + echo 'FATAL ERROR. Installation stopped.' > FATAL ERROR. Installation stopped. > + '[

Re: Re: task_error bei softupdate

2015-02-19 Thread Dirk Geschke
Hallo Holger, > > wenn man sich die Funktion anschaut, das ist call_hook() in > > /usr/lib/fai/subroutines, dann sieht man: > > > > if [ -x $hfile ]; then > > echo "Calling hook: $hook.$cl" > > sendmon "HOOK $hook.$cl" > > # execute the hook > >

Re: Re: task_error bei softupdate

2015-03-02 Thread Schulz, Reiner
... Die Frage ist also eher: Soll dann abgebrochen werden oder soll der Wert ignoriert werden. Das ist eine Designentscheidung, wobei ich zu ersterem tendiere: Wenn es einen fatalen Fehler in einem hook gibt, sollte FAI abbrechen. Daf?r scheint mir der Error-Code 99 ideal zu sein... ... Ich ha

softupdate can't find config space

2015-08-31 Thread John G Heim
I'm having problems with fai softupdate after an upgrade from debian wheezy to ubuntu vivid. The config space is available at the same url as always. The fai softupdate command is the same as always. But when I run the fai command, it says it can't find the config space in fstab. I

Re: fai-debconf and softupdate (correction)

2009-05-26 Thread Gebhardt Thomas
On Friday 22 May 2009, i wrote: > and found that this is due to an unexpected behaviour of fai-debconf while > performing a "fai softupdate" . actually fai-debconf is doing quite well, it was all my fault. I was mocked by a TAB that was transmogrified into separate spaces by cu

[softupdate] force-confnew on specific package.

2010-03-18 Thread Darshaka Pathirana
Hi! I just stubled over [1] and wonder how one can set "--force-confnew" when attempting a softupdate on a specific package. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313397 For now I've created /etc/apt/apt.conf.d/90mypackage: DPkg { Options {"--force-

Faiwatch script for summarizing softupdate-logs

2010-07-21 Thread Manuel Hachtkemper
Hello everyone, I just uploaded our script for evaluating softupdate-logs (mentioned by Michael Prokop in "Report from FAI developer workshop 07/2010") to the Wiki: http://faiwiki.informatik.uni-koeln.de/index.php/Faiwatch Maybe someone might find it usefull. Best regards, Manuel Hachtkemper

Softupdate on 3.4.7 with Debian Squeeze.

2013-12-12 Thread Johan Beisser
oking for the filesystem mounts? In sysinfo all the filesystems mount cleanly, so I'm quite certain there's something I'm missing for softupdate/lazyformat. -jb

Re: logging output for fai-softupdate

2014-07-02 Thread Thomas Lange
>>>>> On Wed, 02 Jul 2014 10:19:47 -0500, "John G. Heim" >>>>> said: > If I have a script run daily by fai-softupdate, how do I get it to log > output? For example, I have status messages that it display via the bash > echo command

Re: softupdate can't find config space

2015-08-31 Thread John G Heim
problem solved by upgrading the the fai repository packages. On 08/31/2015 11:50 AM, John G Heim wrote: I'm having problems with fai softupdate after an upgrade from debian wheezy to ubuntu vivid. The config space is available at the same url as always. The fai softupdate command is the sa

Re: softupdate can't find config space

2015-08-31 Thread Thomas Lange
Which FAI version did solve your problem? I'm interested in having move info about working FAI versions and Ubuntu, since only a very old FAI version from 2012 is in the official Ubuntu repositories. -- regards Thomas

Re: softupdate can't find config space

2015-08-31 Thread John G Heim
The version in ubuntu vivid is 3.4.8. At first I used your wheezy repository (deb http://fai-project.org/download wheezy koeln) but then when I actually fixed it in my FAI config, I used your jessie repository (deb http://fai-project.org/download jessie koeln) Both work. So the bug was fixed

Re: [softupdate] force-confnew on specific package.

2010-03-18 Thread Michael Tautschnig
> Hi! > > I just stubled over [1] and wonder how one can set "--force-confnew" > when attempting a softupdate on a specific package. > > [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313397 > > For now I've created /etc/apt/apt.conf.d/90mypackag

Re: [softupdate] force-confnew on specific package.

2010-03-22 Thread Darshaka Pathirana
On 03/19/2010 01:18 AM, Michael Tautschnig wrote: Hi! I just stubled over [1] and wonder how one can set "--force-confnew" when attempting a softupdate on a specific package. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313397 For now I've created /etc/apt/apt.con

Re: [softupdate] force-confnew on specific package.

2010-03-22 Thread Michael Tautschnig
[...] > > > >As you only want this for a single package and only once, I'd suggest you > >create > >a hook instsoft.FOO (for a proper class FOO) that does > > > >- create 90mypackage with the above contents > >- apt-get install theonepackage > >- rm 90mypackage > > Hmm. Ok. So by using apt-get i

Re: [softupdate] force-confnew on specific package.

2010-03-22 Thread Darshaka Pathirana
On 03/22/2010 01:51 PM, Michael Tautschnig wrote: [...] As you only want this for a single package and only once, I'd suggest you create a hook instsoft.FOO (for a proper class FOO) that does - create 90mypackage with the above contents - apt-get install theonepackage - rm 90mypackage >> Hmm

Re: [softupdate] force-confnew on specific package.

2010-04-03 Thread Michael Tautschnig
> On 03/22/2010 01:51 PM, Michael Tautschnig wrote: > >[...] > > > >>>As you only want this for a single package and only once, I'd suggest you > >>>create > >>>a hook instsoft.FOO (for a proper class FOO) that does > >>> > >>>- create 90mypackage with the above contents > >>>- apt-get install the

runing fai softupdate on 'fai dirinstall'-ation

2012-01-30 Thread Andreas B. Mundt
Hello everybody, after having managed to implement diskless clients (with great help from this list, thanks!), I thought how to update the chroot in a nice way. Of course it would be prefered to do it in a way easy to remember for the sysadmin, comparable to 'fai softupdate' like it&

Re: Softupdate on 3.4.7 with Debian Squeeze.

2013-12-13 Thread Toomas Tamm
se fails. Softupdates are designed to run on an installed and booted system. Basically you log in as root and type "fai -N softupdate". Thus the filesystems are already mounted when the system booted. From your description it seems that you have booted FAI in the same way as for install

Re: runing fai softupdate on 'fai dirinstall'-ation

2012-01-31 Thread Holger Levsen
Hi Andi, On Montag, 30. Januar 2012, Andreas B. Mundt wrote: > Is this correct? Any recommendations how to update the chroot best? run softupdate in the chroot, whats the prob? cheers, Holger

Re: runing fai softupdate on 'fai dirinstall'-ation

2012-02-01 Thread Andreas B. Mundt
Hi Holger, On Tue, Jan 31, 2012 at 09:45:20AM +0100, Holger Levsen wrote: > > On Montag, 30. Januar 2012, Andreas B. Mundt wrote: > > Is this correct? Any recommendations how to update the chroot best? > > run softupdate in the chroot, whats the prob? > Right, that work

Re: runing fai softupdate on 'fai dirinstall'-ation

2012-02-01 Thread Thomas Neumann
> Right, that works great. At least as soon as you make use of the > -u|--hostname option. ;-) > > $ man fai > > "This is useful in conjunction with the dirinstall action, where you > want to manually define a hostname that should be used for defining > classes and for the network setup and ot

Re: FAI-softupdate: Modified fai.conf in non-interactive session

2009-11-03 Thread Thomas Lange
> Recently, we encountered a problem within the FAI softupdate routine, > which updates the fai-client version to 3.3: Because we modified the > fai.conf-file, softupdate now interactively asks if we want to keep > the current version or replace it with a

Re: FAI-softupdate: Modified fai.conf in non-interactive session

2009-11-03 Thread Michael Tautschnig
p machines here. > Thanks. > > > Recently, we encountered a problem within the FAI softupdate routine, > > which updates the fai-client version to 3.3: Because we modified the > > fai.conf-file, softupdate now interactively asks if we want to keep > &

FAI ainsl exit code, softupdate, scripts/FAIBASE/10-misc

2010-05-24 Thread Rob
ge, which doesn't document the exit codes of the ainsl command. Second, I differ philosophically with the idea of ainsl returning an error code to the caller if the line already exists in the file. My actual questions are: What's the best way to have scripts/FAIBASE/10-misc return s

Re: FAI ainsl exit code, softupdate, scripts/FAIBASE/10-misc

2010-05-29 Thread Michael Tautschnig
o have > scripts/FAIBASE/10-misc return success on softupdate? Should the > module list be checked on every softupdate? Whether or not, I think > extra logic would be needed in 10-misc to avoid reporting errors > when in fact no errors exist. (To be idealistic, I would like to > see

Re: FAI ainsl exit code, softupdate, scripts/FAIBASE/10-misc

2010-06-01 Thread Thomas Lange
> On Mon, 24 May 2010 17:11:07 -0500, Rob said: > This is because ainsl returns an error (1) if the line is already in the > exit 1 if $found; # nothing to append I've changed this to 0 in the svn trunk. Thanks for the hint. > The return values of ainsl are not documented o

Re: FAI ainsl exit code, softupdate, scripts/FAIBASE/10-misc

2010-06-01 Thread Rob
On 06/01/2010 10:09 AM, Thomas Lange wrote: On Mon, 24 May 2010 17:11:07 -0500, Rob said: > This is because ainsl returns an error (1) if the line is already in the > exit 1 if $found; # nothing to append I've changed this to 0 in the svn trunk. Thanks for the hint. Nice. In

Re: FAI ainsl exit code, softupdate, scripts/FAIBASE/10-misc

2010-06-04 Thread Michael Tautschnig
[...] > > >> The return values of ainsl are not documented on the ainsl manpage. > >Feel free to send a patch for the man page. I will apply it > >immediately. > Patch attached. This patch is for the newly modified ainsl(1) > command which returns 0 if the LINE/PATTERN was found in the file

Re: FAI ainsl exit code, softupdate, scripts/FAIBASE/10-misc

2010-06-22 Thread Rob
On 06/14/2010 09:26 AM, Thomas Lange wrote: On Tue, 01 Jun 2010 20:03:00 -0500, Rob said: > Patch attached. This patch is for the newly modified ainsl(1) command > which returns 0 if the LINE/PATTERN was found in the file (revision 5797). Hi Rob, where is exit code 2 or 13 set i

Re: FAI ainsl exit code, softupdate, scripts/FAIBASE/10-misc

2010-06-28 Thread Michael Tautschnig
[...] > > I also noticed a possible not detected error. That is the "print" > and "close" at the end of the ainsl source. If for some reason the > target file system is full, the error returned by print or, more > probably "close" would be ignored. This would return the exit code > 28 - No spa

Using fai softupdate on a VServer guest -- not as straightforward as it sounds

2007-10-11 Thread Torsten Schlabach
Hi! After failing to make setting up my VServer guest using the -m fai build method work, I turned to softupdate, as suggested here: http://faiwiki.informatik.uni-koeln.de/index.php/Using_FAI_to_set_up_VServers I ran into some pitfalls, so I decided to document them: http

Re: Using fai softupdate on a VServer guest -- not as straightforward as it sounds

2007-10-17 Thread Torsten Schlabach
Answering my own question: > Nothing more happening after that. > Any idea how I can find out what it's doing? It was a problem on my guest, which had "only" 16 MB available on /tmp. After I fixed that (umount /mnt, so it used the harddisk rather than the ramdis