setup-storage - preserving LUKS partitions possible?

2023-08-31 Diskussionsfäden Andreas Heinlein
Hello, I have the following disk config: disk_config disk1 disklabel:msdos bootable:1 align-at:1 fstabkey:uuid preserve_lazy:6 primary  /boot 1024 ext4    rw logical  - 30720    -   - logical  - 4-   -   - disk_config lvm vg vg1 disk1.5 vg1-root 

Re: Secure deploy of keys

2022-12-13 Diskussionsfäden Andreas Heinlein
Hello, I would be very interested if you find any solutions. By design, the FAI config space has to be somewhere where it is accessible without access control (anonymous NFS or whatever), and everything within it obviously has to be readable. I guess you will need to find other solutions. As f

Weird generated hostname

2021-06-17 Diskussionsfäden Andreas Heinlein
Hello, I watched some weird behaviour of FAI today. It occurs when the IP address is assigned by DHCP and no hostname is supplied on the kernel command line. I remember that FAI used to generate hostnames like '192-168-10-123' in that case. Now it is '127-0-0-1/8 192-168-10-123'. Yes, includin

Re: dracut error during nfsroot update

2020-06-19 Diskussionsfäden Andreas Heinlein
Are you sure this works on upgrade, too? I called it with fai-make-nfsroot -k -N -p -P -v Bye, Andreas Am 19.06.20 um 09:29 schrieb Thomas Lange: > That shouldn't be necessary. fai-make-nfsroot should install dracut-live > and dracut-squash automatically.

Re: dracut error during nfsroot update

2020-06-18 Diskussionsfäden Andreas Heinlein
eln.de/pipermail/linux-fai/2020-April/012479.html > > >>>>>> On Tue, 16 Jun 2020 09:31:46 +0200, Andreas Heinlein >>>>>> said: > > Hello, > > when trying to upgrade the nfsroot, we get > > >> dracut: Generating /boot/i

dracut error during nfsroot update

2020-06-16 Diskussionsfäden Andreas Heinlein
Hello, when trying to upgrade the nfsroot, we get > dracut: Generating /boot/initrd.img-4.19.0-9-amd64 > dracut: dracut module 'livenet' cannot be found or installed. > dpkg: error processing package dracut (--configure): >   subprocess installed post-installation script returned error exit > sta

Re: Upgrade error in nfsroot

2020-02-26 Diskussionsfäden Andreas Heinlein
0 um 08:31 schrieb Andreas Heinlein: > Hello, > > when upgrading FAI inside the nfsroot with 'fai-make-nfsroot -v -k -N', I got: > > Preparing to unpack .../15-fai-nfsroot_5.9.2_all.deb ... > dpkg-divert: error: 'diversion of /etc/init.d/rcS to /etc/init.d/rcS.orig by

Upgrade error in nfsroot

2020-02-25 Diskussionsfäden Andreas Heinlein
Hello, when upgrading FAI inside the nfsroot with 'fai-make-nfsroot -v -k -N', I got: Preparing to unpack .../15-fai-nfsroot_5.9.2_all.deb ... dpkg-divert: error: 'diversion of /etc/init.d/rcS to /etc/init.d/rcS.orig by fai-nfsroot' clashes with 'diversion of /etc/init.d/rcS to /etc/init.d/rcS.

Re: fai-sed exit code

2020-01-13 Diskussionsfäden Andreas Heinlein
Am 13.01.20 um 13:04 schrieb Thomas Lange: > I can add such an option, which I already have with fcopy. > I a shell script, you can use this code to always get exit 0 from a command. > > fai-sed .. || true That is true, but this means that no error will get caught, not even syntax errors, f

Re: fai-sed exit code

2020-01-10 Diskussionsfäden Andreas Heinlein
Am 10.01.20 um 16:02 schrieb Thomas Lange: > I want to distinguish if fai-sed has nothing to change or changed the > file. Therefore in one the cases it has to return and exit code != 0. > > Do you have any better idea? If you want to do this, no, I have no better idea. You would have to exit an

fai-cd 5.9 grub-mkstandalone error

2020-01-10 Diskussionsfäden Andreas Heinlein
Hi, I just tried the fai-cd command from FAI 5.9. After creating the squashfs, I get: grub-mkstandalone: error: cannot make temporary directory: No such file or directory. I can see that /tmp/grub.cfg exists in the nfsroot. From what I saw in fai-cd, the next step would be: chroot $NFSROOT g

fai-sed exit code

2020-01-10 Diskussionsfäden Andreas Heinlein
Hello, can you explain the purpose of fai-sed exiting with '1' if the file was changed? By default, this would mean a script *fails* with this exit code if a file was actually changed. Would also be nice to update the example scripts to use fai-sed instead of sed. Thanks, Andreas

Re: FAI and Debian Buster (was Re: New ISO images available)

2019-04-02 Diskussionsfäden Andreas Heinlein
Hello, indeed, 5.8.4 fixes both problems. Should have tried that first; sorry for the inconvenience. Andreas Am 02.04.19 um 09:57 schrieb Thomas Lange: >>>>>> On Tue, 2 Apr 2019 08:28:18 +0200, Andreas Heinlein >>>>>> said: > > I don't

FAI and Debian Buster (was Re: New ISO images available)

2019-04-01 Diskussionsfäden Andreas Heinlein
Am 28.03.19 um 15:52 schrieb Thomas Lange: > What about your interest in having ISO images using buster? I like to > get some feedback if you prefere stable releases or also want to have > ISO for Debian testing. I don't really need ISO images, but if someone has been successful on installing bu

Re: Questions regarding PACKAGES remove

2019-03-22 Diskussionsfäden Andreas Heinlein
Am 21.03.19 um 18:40 schrieb Thomas Lange: > Hi Andreas, > > I wonder why you get this error, because apt-get says it does not even > know this package. If I like to remove a package that's in the > database I get this output > > veedel[~]# apt-get purge moon-buggy > Reading package lists... Done

Questions regarding PACKAGES remove

2019-03-21 Diskussionsfäden Andreas Heinlein
Hello, I now have my first use of "PACKAGES remove" in the FAI configuration, and I have come across two smaller problems: 1. The behaviour is not "idempotent", i.e. I get an error when the packages to remove are already removed. This is the case quite often since we use FAI also for softupdates,

Re: Network interface names

2018-10-14 Diskussionsfäden Andreas Heinlein
Am 12.10.2018 um 17:09 schrieb Steffen Grunewald: > Hi, > > I've learned that I may "fix" the device interface names using a rules file > in /etc/udev/rules.d, to avoid susprises after the installation. > While adding some special parameters to the kernel command line didn't work, > udev does its j

Re: Compatibility when installing APT keys

2018-05-29 Diskussionsfäden Andreas Heinlein
Am 21.05.2018 um 11:27 schrieb Thomas Lange: > I would like to hear more opinions from others about the solution b) > which seems to be ok for me. As I also came across this problem: yes, I think this is a good solution. Besides that, Derek's solution is quite beautiful. From the gnupg manpage: "-

Re: GRUB EFI blues - Debian 9/FAI 5.3.6

2018-04-18 Diskussionsfäden Andreas Heinlein
cy (BIOS) mode. If someone has found a way > to do it, I would also appreciate suggestions. > >   > > Regards, > > Toomas > >   > > *From:*linux-fai *On Behalf Of > *Andreas Heinlein > *Sent:* Wednesday, April 18, 2018 9:56 AM > *To:* linux-fai@uni-koeln.d

Re: GRUB EFI blues - Debian 9/FAI 5.3.6

2018-04-17 Diskussionsfäden Andreas Heinlein
Am 18.04.2018 um 00:28 schrieb Bob Apodaca: > > I think the first issue is FAI is setting the GRUB_PC class instead of > the GRUB_EFI class and I'm not sure why. > I am pretty sure this depends on how the installation was started. That means you will have to boot your FAI installation using UEFI as

Additional repository keys

2018-04-09 Diskussionsfäden Andreas Heinlein
Hello, it seems I missed some change in the behaviour of adding apt keys. I have several apt keys in the config space in packages/.asc. The fai-guide says these are being added via apt-key add, and I remember it was that way in the past. Today I noticed with FAI 5.6, that these files seem to be c

Re: setup-storage fails on blank disk

2018-01-04 Diskussionsfäden Andreas Heinlein
Am 03.01.2018 um 17:28 schrieb Holger Parplies: > Hi, > > Andreas Heinlein wrote on 2018-01-03 13:53:40 +0100 [setup-storage fails on > blank disk]: >> [...] >> I have encountered a problem with setup-storage which occurs only when >> the disk is blank, i.e. wiped wi

setup-storage fails on blank disk

2018-01-03 Diskussionsfäden Andreas Heinlein
Hello, I have encountered a problem with setup-storage which occurs only when the disk is blank, i.e. wiped with nwipe/dban or brand new. It then fails on creating the LVM; running 'pvcreate' returns 'cannot open /dev/sda5 exclusively'. I have attached the fai.log with all the details. When I rebo

Re: Multiple debian editions on debian stretch server

2017-08-29 Diskussionsfäden Andreas Heinlein
Am 16.08.2017 um 22:20 schrieb Thomas Lange: >> On Wed, 16 Aug 2017 17:07:02 -0300, "Fco Z." said: > > I am in the process of upgrading old servers (hardware). Currently the > server > > is with debian jessie and the hosts also with debian jessie. > > > If I install debian stretch

Re: Bug#868267: fai-client: fetch-basefile breaks for hostnames with hyphens

2017-07-26 Diskussionsfäden Andreas Heinlein
Am 26.07.2017 um 15:51 schrieb Thomas Lange: >> On Thu, 13 Jul 2017 17:41:56 -0400, Arcady Genkin >> said: > > guessing that the hyphen in the host name is causing the problem (the > hostname > > is "eddie-vm.teach.cs.toronto.edu" which defines a FAI class of the > same name). >

Re: FAI and invoke-rc.d: policy-rc.d denied execution of restart

2017-07-06 Diskussionsfäden Andreas Heinlein
Am 05.07.2017 um 23:24 schrieb Nat Sincheler: > In doing an FAI build of stretch we are seeing several messages of the > form > > Running in chroot, ignoring request. > invoke-rc.d: policy-rc.d denied execution of restart. > > > For example: > > ... > Setting up libmagic1:a

Re: Fwd: Adding Macs with FAI

2017-06-18 Diskussionsfäden Andreas Heinlein
Am 16.06.2017 um 22:33 schrieb BMIRC System Administrator: > Hello, > > We are trying to create an FAI CD with FAI 5 that can boot in EFI > mode, however from our research, it does not appear that FAI supports > EFI booting. We are trying to install a Mac machine with FAI so that > we can add this

Re: creating asc key files

2017-04-12 Diskussionsfäden Andreas Heinlein
Am 12.04.2017 um 22:07 schrieb Thomas Lange: > IIRC, I did it using this command > > gpg -a --export --export-options export-clean la...@debian.org > my.asc > > Maye use export-minimal instead of export-clean This will export the key from your personal keyring; the OP wants to export from apt's ke

Re: script to execute after reboot

2017-03-16 Diskussionsfäden Andreas Heinlein
Am 14.03.2017 um 15:21 schrieb John G Heim: > What I do is to run an fai softupdate via a line in cron upon reboot. > > @REBOOT root fai --class=POSTINSTALL softupdate > > Kind of nice to do an FAI softupdate after every reboot -- especially > the 1st one after the initial install. Over the years,

Re: fai-mirror, fai-cd and backports

2014-11-18 Diskussionsfäden Andreas Heinlein
Am 18.11.2014 um 11:02 schrieb Thomas Lange: >>>>>> On Tue, 18 Nov 2014 09:30:01 +0100, Andreas Heinlein >>>>>> said: > > If I add 'hplip/precise-backports' to the packages file, this works for > > the normal installation, b

fai-mirror, fai-cd and backports

2014-11-18 Diskussionsfäden Andreas Heinlein
Hello, we are currently using FAI to install Ubuntu 12.04 on our clients, using a Debian Wheezy server with FAI 4.2.5. We are also using fai-cd to create installation media for some offsite machines. We need to take some specific packages from the backports repository, namely hplip. If I add 'hp

Re: fai-mirror and conflicting packages

2014-06-24 Diskussionsfäden Andreas Heinlein
Am 21.06.2014 02:56, schrieb Holger Parplies: > > actually, I've done that. It's a quick and dirty hack, uncommented and without > any guarantees, but it seems to have worked for me at some point in time ;-), > so feel free to try it if you like (and please tell me if something doesn't > work). Rea

Re: fai-mirror and conflicting packages

2014-06-20 Diskussionsfäden Andreas Heinlein
Hello, I am trying a new run with a ramdisk right now. But it doesn't look much faster :-( The most time is spent in each aptitude call while doing > Reading package lists... Done > Building dependency tree > Reading state information... Done > Reading extended state information > Init

Re: Error in setup-storage in FAI 4.1

2014-06-20 Diskussionsfäden Andreas Heinlein
Am 20.06.2014 10:42, schrieb Thomas Neumann: > On Thursday 19 June 2014 13:14:47 Andreas Heinlein wrote: >> Before your patches, we always reached the wipefs bug (missing '/dev' in >> device name). Now, on the second run, we get: > Strange. I took your provided disk_c

fai-mirror and conflicting packages

2014-06-20 Diskussionsfäden Andreas Heinlein
Hello, does anyone know of a faster way to get conflicting packages in a partial mirror created with fai-mirror, than using MAXPACKAGES=1? I need to include both 'grub-pc' and 'grub-efi-amd64' in the mirror. Downloading everything with MAXPACKAGES=1 downloads ca. 1500 packages in one swoop in

Re: Error in setup-storage in FAI 4.1

2014-06-20 Diskussionsfäden Andreas Heinlein
Am 19.06.2014 23:17, schrieb Thomas Neumann: >> We (Kerim and I) are currently working on getting liblinux-lvm-perl >> patched upstream. If this does not work, we will prepare a new Debian >> version of this library. > > I strongly recommend to drop Linux::LVM completely, because the required > fun

Re: Error in setup-storage in FAI 4.1

2014-06-19 Diskussionsfäden Andreas Heinlein
Am 18.06.2014 16:59, schrieb Thomas Neumann: > Patch is attached, it was built against the 4.2 package. I haven't checked > what happens if you try anything funny. May need some additional adjustments > (e.g. for preserving volumes). Definitely needs some adjustments for preserving volumes. For me,

Error in setup-storage in FAI 4.1

2014-06-10 Diskussionsfäden Andreas Heinlein
> >>>>>/ On Mon, 26 May 2014 11:00:29 +0200, Andreas Heinlein >>>>>gmx.com <https://lists.uni-koeln.de/mailman/listinfo/linux-fai>> said: > / > > Use liblinux-lvm-perl 0.17-1 (from the FAI repos, apparently with > > Thomas'

Re: Error in setup-storage in FAI 4.1

2014-05-26 Diskussionsfäden Andreas Heinlein
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, I'd like to ask again if there has been any progress with getting setup-storage to work with LVM again? Following my bug report (#740929) from March, there has been a response but so far I found no solution which works for me. To summarize

Re: Error in setup-storage in FAI 4.1

2014-03-04 Diskussionsfäden Andreas Heinlein
Hello, yes, I am using liblinux-lvm-perl 0.17-1, which comes from the FAI repos. But I don't quite get the point of the bug report, it describes a different problem which apparently does not occur in Ubuntu precise (which is what I am installing, if that matters). ROOT_PARTITION ends up being

Error in setup-storage in FAI 4.1

2014-03-04 Diskussionsfäden Andreas Heinlein
Hello, yesterday I finally started migrating from FAI 3.4.8 and a squeeze chroot to FAI 4.1 with a wheezy chroot (Server itself is still squeeze for several reasons). I could successfully perform an initial install of a test client (using a blank disk), but a second run (i.e. without 'initial'

Problem with fai-mirror and Ubuntu 12.04

2012-12-17 Diskussionsfäden Andreas Heinlein
Hello, I am trying to build a FAI CD using fai-cd, which has previously worked with Ubuntu 10.04 just fine. Now I'm trying the same using Ubuntu 12.04, and I came across two problems: 1.) There is a bug in apt-move which causes it to break with /usr/bin/apt-move: 1230: /usr/bin/apt-move: cann

fcopy: Copy newer files only

2012-05-02 Diskussionsfäden Andreas Heinlein
Hello, is there any way to make fcopy compare files only based on metadata (namely mtime)? The reason is we are using fcopy to copy several huge files (VirtualBox Disk Images) in softupdate mode, which of course takes ages every time a softupdate is run, even though the file has not changed.

Re: FAI and OPSI ?

2012-02-08 Diskussionsfäden Andreas Heinlein
Am 07.02.2012 20:53, schrieb Sven Schumacher: Hello, Anyone out there having experience with integrating FAI within OPSI (www.opsi.org)? Any suggestions for that? I already have a running opsi-environment but want to get Dual-Boot Systems. So FAI shouldn't touch the Windows boot partition only

Re: FAI-CD to usb stick from Windows

2012-01-30 Diskussionsfäden Andreas Heinlein
Am 18.12.2011 14:16, schrieb david touzeau: Dear I there a procedure/way from Microsoft Windows user to transform a ISO generated by fai-cd to an usb stick without using linux ? Not sure which bootloader fai-cd uses. If it's Syslinux/Isolinux, you should be able to convert the ISO to a hybrid

Re: Package alternatives?

2011-05-25 Diskussionsfäden Andreas Heinlein
Am 25.05.2011 09:10, schrieb Henning Sprang: > > Hi, > if you build the B packages yourself, let them provide the name of A. > I didnt do packaging a while but it is possible that package a provides b. > > Not sure how to achieve the right priority, though. > Maybe let the new repository have highe

Re: Package alternatives?

2011-05-25 Diskussionsfäden Andreas Heinlein
Am 25.05.2011 09:02, schrieb Steffen Grunewald: > We're in the process of replacing some packages ("A") by specially built > ones ("B"), which will be named slightly differently, to avoid confusion. > For FAI this means that we want to > "install package B if it already exists, otherwise use A". >

Re: Weird fai-mirror problems

2011-05-16 Diskussionsfäden Andreas Heinlein
Am 13.05.2011 01:34, schrieb Michael Tautschnig: > Hi Andreas, > > Not that I could help too much with fai-mirror, but ... > > [...] >> result. Only deleting aptcache and .apt-move as well and recreating the >> mirror from scratch helped. >> > [...] > > does this actually mean that (1) you updated

Weird fai-mirror problems

2011-05-05 Diskussionsfäden Andreas Heinlein
Hello, I have problems with fai-mirror not generating a correct "Packages" file. I noticed that e.g. ubuntu-restricted-extras was not installed on the target machines because they could not find a package by that name. A look into the directory created by fai-mirror showed that .../pool/u/ubuntu-

Updating /var/log/fai/localhost

2011-01-20 Diskussionsfäden Andreas Heinlein
Hello, we are using FAI for installation as well as for softupdates. Sometimes, we need to change hostnames after installation. I noticed that, after changing hostnames and running a softupdate, /var/log/fai/localhost still points to /var/log/fai/old-hostname. We need /var/log/fai/localhost/last-s

Re: fai softupdate and cron

2010-12-01 Diskussionsfäden Andreas Heinlein
Am 01.12.2010 15:09, schrieb Michael Tautschnig: >> Hi, >> >> I want after installation the clients have 'fai -N softupdtate' in their >> cron entry. What to do? >> > Use fcopy to copy a crontab file or edit the crontab file in one of your > scripts. That said, I'm not sure whether doing unsup

Re: gpg errors

2010-11-10 Diskussionsfäden Andreas Heinlein
Am 10.11.2010 09:59, schrieb Thomas Lange: >>>>>> On Wed, 10 Nov 2010 09:47:00 +0100, Andreas Heinlein >>>>>> said: >>>>>> > > installed any kernels in the nfsroot. It just means the script tries to > >

Re: gpg errors

2010-11-10 Diskussionsfäden Andreas Heinlein
Am 10.11.2010 11:15, schrieb Martin Konrad: > Hi, > >>> It seems the keys are not available if I chroot to the NFSROOT. >>> >> Correct. These keys need to be in $NFSROOT/etc/apt/trusted.gpg >> > Are they added automatically to this file? > > chroot $NFSROOT apt-key list > > does not

Re: gpg errors

2010-11-10 Diskussionsfäden Andreas Heinlein
Am 09.11.2010 21:45, schrieb Martin Konrad: > It seems the keys are not available if I chroot to the NFSROOT. Correct. These keys need to be in $NFSROOT/etc/apt/trusted.gpg > Maybe that's > why the script failes? > Like Thomas said, no? From what you wrote, it looks like yo haven't installed a

Re: task_updatebase and force-confold

2010-11-08 Diskussionsfäden Andreas Heinlein
Am 29.10.2010 12:55, schrieb Michael Tautschnig: >> Am 26.10.2010 14:39, schrieb Michael Tautschnig: >> Hello, thanks for the advice. I did both manually, i.e. edit ucf.conf and create /etc/apt/apt.conf.d/90fai with DPkg-Options "--force-confdef" and "--force-confold",

Re: task_updatebase and force-confold

2010-10-26 Diskussionsfäden Andreas Heinlein
Hello, thanks for the advice. I did both manually, i.e. edit ucf.conf and create /etc/apt/apt.conf.d/90fai with DPkg-Options "--force-confdef" and "--force-confold", then ran "fai -v -N softupdate". I verified the DPKG configuration with apt-config. fai-client still asks this question and softupda

task_updatebase and force-confold

2010-10-25 Diskussionsfäden Andreas Heinlein
Hello, can someone tell me how aptitude is called in task_updatebase? I cannot find it in the logs. I have the feeling it is *not* called with "--force-confdef --force-confold", like during task_instsoft? The reason I'm asking is that I was trying to update a machine with softupdate, which was run

Recursive fcopy and permissions

2010-10-21 Diskussionsfäden Andreas Heinlein
Hello, short question: fcopy -Bir -m root,root,0777 only applies the permissions to files, but not to directories, right? I agree this makes sense because "fcopy -Bir -m root,root,0666" would make the directories unusable if it did. But this should be documented more clearly in the man page, eve

Re: FAI 3.4.4

2010-10-21 Diskussionsfäden Andreas Heinlein
Am 18.10.2010 12:40, schrieb Thomas Lange: > I just pushed FAI 3.4.4 into the squeeze repository at fai-project.org. > > Add this line to your sources.list files: > > deb http://fai-project.org/download squeeze koeln > > Could you tell me why the squeeze repository does not contain any linux-ima

Re: setup-storage and encrypted LVM

2010-08-02 Diskussionsfäden Andreas Heinlein
Am 18.06.2010 11:58, schrieb Michael Tautschnig: >> Hello, >> >> I'd like to (almost) fully encrypt a system using LUKS and LVM. That is, >> one small unencrypted /boot and a large partition, which is encrypted >> with luks, which in turn is the physical volume for the LVM containg >> several LVs.

Re: setup-storage and preserving partitions

2010-06-17 Diskussionsfäden Andreas Heinlein
Am 16.06.2010 10:23, schrieb Thomas Lange: >>>>>> On Wed, 16 Jun 2010 09:39:23 +0200, Andreas Heinlein >>>>>> said: >>>>>> > > disk_config disk1 disklabel:msdos bootable:1 preserve_reinstall:7 > > primary

Re: setup-storage and preserving partitions

2010-06-17 Diskussionsfäden Andreas Heinlein
Am 16.06.2010 10:23, schrieb Thomas Lange: >>>>>> >>>>>> On Wed, 16 Jun 2010 09:39:23 +0200, Andreas Heinlein >>>>>> >>>>>> said: >>>>>> >>>>>> >>>>>>

setup-storage and preserving partitions

2010-06-16 Diskussionsfäden Andreas Heinlein
Hello, I am still having problems understanding preserving partitions with setup-storage. I'd like to preserve a partition upon reinstall, and create it during initial install. Disk config looks like this: disk_config disk1 disklabel:msdos bootable:1 preserve_reinstall:7 primary10240/

setup-storage and encrypted LVM

2010-06-16 Diskussionsfäden Andreas Heinlein
Hello, I'd like to (almost) fully encrypt a system using LUKS and LVM. That is, one small unencrypted /boot and a large partition, which is encrypted with luks, which in turn is the physical volume for the LVM containg several LVs. My disk config looks like this: disk_config disk1 disklabel_msdos

German locale in NFSROOT

2010-05-07 Diskussionsfäden Andreas Heinlein
Hello, I need a german locale environment in the NFSROOT, I think. I have some scripts which set gconf values on the clients using $ROOTCMD gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.defaults.xml /foo/bar... Some of the values are strings containing german umlauts. This

Re: setup-storage + grub2

2010-04-22 Diskussionsfäden Andreas Heinlein
Am 16.04.2010 11:00, schrieb Mathieu Alorent: > Le jeudi 15 avril 2010 à 15:42 +0200, Michael Tautschnig a écrit : > > Use of uninitialized value $fs in substitution (s///) > >> at /usr/share/fai/setup-storage//Volumes.pm line 257. >> >> Could you please ret

Installing a Samba Domain Member

2010-03-12 Diskussionsfäden Andreas Heinlein
Hello, I need to set up some clients using FAI which will become members of a Samba controlled Windows Domain. I have managed to do it, following "Samba by example", but there are two questions remaining how to do it with FAI: 1. After installation, I need to run "%ROOTCMD net rpc join -U root%ro

Re: setup-storage does not create crypttab

2009-09-22 Diskussionsfäden Andreas Heinlein
Michael Tautschnig schrieb: >> Michael Tautschnig schrieb: >> I have defined encrypted swap and tmp like this disk_config lvm vg vg1 disk1.6 vg1-swap swap:encrypt2048swapsw vg1-tmp/tmp:encrypt1024ext2rw ... This

Re: setup-storage does not create crypttab

2009-09-17 Diskussionsfäden Andreas Heinlein
Michael Tautschnig schrieb: >> I have defined encrypted swap and tmp like this >> >> disk_config lvm >> vg vg1 disk1.6 >> vg1-swap swap:encrypt2048swapsw >> vg1-tmp /tmp:encrypt1024ext2rw >> ... >> >> This works during setup, two device-mapper devices crypt_

setup-storage does not create crypttab

2009-09-17 Diskussionsfäden Andreas Heinlein
I have defined encrypted swap and tmp like this disk_config lvm vg vg1 disk1.6 vg1-swapswap:encrypt2048swapsw vg1-tmp /tmp:encrypt1024ext2rw ... This works during setup, two device-mapper devices crypt_dev_vg1_tmp and crypt_dev_vg1_swap are created and wri

Re: setup-storage: ext4

2009-09-17 Diskussionsfäden Andreas Heinlein
Andreas Heinlein schrieb: > Hello, > > another question regarding setup-storage: apparently it does not (yet) > work with ext4. I tried to create a ext4 partition, but the > corresponding "parted mkpart ext4" exits with 1. Looks like parted > cannot deal with &qu

setup-storage: ext4

2009-09-10 Diskussionsfäden Andreas Heinlein
Hello, another question regarding setup-storage: apparently it does not (yet) work with ext4. I tried to create a ext4 partition, but the corresponding "parted mkpart ext4" exits with 1. Looks like parted cannot deal with "ext4" as filesystem type. As I understand, it should as well be possible to

Re: setup-storage: resizing ntfs

2009-09-10 Diskussionsfäden Andreas Heinlein
Michael Tautschnig schrieb: >> Hello, >> >> I have a question about resizing with setup-storage in general and >> specifically regarding ntfs. We currently have Windows-only machines >> with 12GB sda1 (primary, C:, NTFS) and the rest sda2 (primary, D:, >> NTFS). We'd like to keep sda1 as it is and,

setup-storage: resizing ntfs

2009-09-09 Diskussionsfäden Andreas Heinlein
Hello, I have a question about resizing with setup-storage in general and specifically regarding ntfs. We currently have Windows-only machines with 12GB sda1 (primary, C:, NTFS) and the rest sda2 (primary, D:, NTFS). We'd like to keep sda1 as it is and, if possible, resize sda2 to make room for a

Purging unlisted packages

2008-12-12 Diskussionsfäden Andreas Heinlein
Hello, I have a question regarding "take-over" of clients not initially installed with FAI. Is it possible to purge any packages *not* listed in package_config during softupdate? I have read that one should not just remove a package from the list that was previously installed, but instead prepend