]>
git.ipfire.org Git - thirdparty/dracut.git/log
Frederick Grose [Fri, 9 Oct 2015 20:56:19 +0000 (16:56 -0400)]
dmsquash-live-root: Avoid an overlay for persistent, uncompressed, read-write live installations.
Persistent, uncompressed live installations can avoid overlays with a new rd.live.overlay=none flag.
Non-persistent rd.live.ram boots can also take advantage of persistent home.img filesystems.
Frederick Grose [Fri, 9 Oct 2015 20:23:58 +0000 (16:23 -0400)]
dmsquash-live-root: Use non-persistent metadata snapshots for transient overlays.
Temporary snapshots can take advantage of smaller, non-persistent metadata structures.
Make the --readonly option explicit rather than inferred for the readonly_overlay target.
Assure that the live-base target is on the BASE_LOOPDEV.
Harald Hoyer [Thu, 17 Sep 2015 15:54:36 +0000 (17:54 +0200)]
Merge pull request #95 from cgwalters/emacs-setq
dir-locals: Avoid use of setq which triggers Emacs warning
Colin Walters [Thu, 17 Sep 2015 15:33:40 +0000 (11:33 -0400)]
dir-locals: Avoid use of setq which triggers Emacs warning
Emacs has a whitelist of "safe" variables, using `setq` overrides
that and causes it to warn when opening any file by default.
Dropping the `setq` makes Emacs do the right thing.
Harald Hoyer [Wed, 9 Sep 2015 09:30:52 +0000 (11:30 +0200)]
dracut.8.asc: mention lsinitrd(1) in see also
Harald Hoyer [Mon, 7 Sep 2015 13:13:04 +0000 (15:13 +0200)]
Merge branch 'master' of github.com:haraldh/dracut
Harald Hoyer [Mon, 7 Sep 2015 13:12:49 +0000 (15:12 +0200)]
Merge pull request #94 from yuwata/master
Fix typos in error module messages and usage of install blob.
yuwata [Mon, 7 Sep 2015 09:00:16 +0000 (18:00 +0900)]
install blob: fix typos in usage.
yuwata [Mon, 7 Sep 2015 08:58:40 +0000 (17:58 +0900)]
systemd-networkd: fix typo in error message
yuwata [Mon, 7 Sep 2015 08:58:00 +0000 (17:58 +0900)]
systemd-initrd: fix typo in error message.
Harald Hoyer [Thu, 3 Sep 2015 10:31:34 +0000 (12:31 +0200)]
dracut-functions.sh: fixed dracutbasedir, when sourced directly
Harald Hoyer [Wed, 2 Sep 2015 10:54:43 +0000 (12:54 +0200)]
Merge pull request #87 from dracut-mailing-devs/E1ZK3hi-0000SN-Lt@puleglot.ru
dracut-initramfs-restore: make mount error nonfatal
Harald Hoyer [Tue, 25 Aug 2015 10:03:16 +0000 (12:03 +0200)]
Merge pull request #90 from ldzhong/fix
dracut.sh: remove duplicate call of push_host_devs
Lidong Zhong [Mon, 24 Aug 2015 10:27:54 +0000 (18:27 +0800)]
dracut.sh: remove duplicate call of push_host_devs
There is no way exit between the two places that call push_host_devs
Harald Hoyer [Mon, 24 Aug 2015 10:11:39 +0000 (12:11 +0200)]
Merge pull request #89 from ldzhong/fix
dracut-functions.sh: remove duplicate declaratio of local variable
Lidong Zhong [Mon, 24 Aug 2015 10:02:10 +0000 (18:02 +0800)]
dracut-functions.sh: remove duplicate declaratio of local variable
Harald Hoyer [Mon, 24 Aug 2015 09:53:01 +0000 (11:53 +0200)]
Merge pull request #88 from shoop/staticroutegw
The default gateway might need a static route
Stijn Hoop [Sun, 23 Aug 2015 12:45:53 +0000 (14:45 +0200)]
The default gateway might need a static route
Some hosting providers need a static route set in order to be
able to reach the default gateway. Be sure to retry adding
the default gateway after setting the static routes.
Harald Hoyer [Thu, 13 Aug 2015 09:54:24 +0000 (11:54 +0200)]
TEST-30-ISCSI: test more and set static initiator name
Harald Hoyer [Thu, 13 Aug 2015 09:53:21 +0000 (11:53 +0200)]
iscsi/iscsiroot.sh: handle timeout with all interfaces up
restart iscsid, because it may disbehaved
Harald Hoyer [Wed, 12 Aug 2015 13:14:11 +0000 (15:14 +0200)]
iscsi/parse-iscsiroot.sh: use iBFT initiator name
Harald Hoyer [Wed, 12 Aug 2015 13:11:17 +0000 (15:11 +0200)]
dracut.cmdline.7.asc: document rd.iscsi.waitnet and rd.iscsi.testroute
Harald Hoyer [Wed, 12 Aug 2015 12:42:03 +0000 (14:42 +0200)]
TEST-30-ISCSI: switch to scsi-target-utils
netbsd-iscsi is not available on RHEL
Beef up the testsuite to use the two targets over different
interfaces.
Test the new iSCSI parameters rd.iscsi.waitnet and rd.iscsi.testroute.
Harald Hoyer [Wed, 12 Aug 2015 12:40:42 +0000 (14:40 +0200)]
TEST-30-ISCSI/dhcpd.conf: set the LUN
set the LUN, so the udev rule to mount the disk matches
Harald Hoyer [Wed, 12 Aug 2015 12:33:49 +0000 (14:33 +0200)]
iscsi: integrate with systemd and improve robustness
parse-cmdline sets up an initial initiator-name to let iscsid start.
iscsid is started before doing any iscsistart business.
iscsistart is done with systemd-run asynchrone to do things in
paralllel. Also restarted for every new interface which shows up.
If rd.iscsi.waitnet (default) is set, iscsistart is done only
after all interfaces are up.
If not all interfaces are up and rd.iscsi.testroute (default) is set,
the route to a iscsi target IP is checked and skipped, if there is none.
If all things fail, we issue a "dummy" interface iscsiroot to retry
everything in the initqueue/timeout.
Harald Hoyer [Wed, 12 Aug 2015 12:28:45 +0000 (14:28 +0200)]
base/dracut-lib.sh: forget about the idea of output redirection
It's just not working :-/
Harald Hoyer [Wed, 12 Aug 2015 12:27:39 +0000 (14:27 +0200)]
dracut-systemd/dracut-initqueue.sh: be verbose about timeout
Issue a warning, if timeout scripts are executed
Harald Hoyer [Wed, 12 Aug 2015 12:27:01 +0000 (14:27 +0200)]
nfs/parse-nfsroot.sh: silence useless warning if netroot is not nfs
Harald Hoyer [Wed, 12 Aug 2015 12:25:23 +0000 (14:25 +0200)]
network/parse-ip-opts.sh: assume rd.neednet for multiple ip options
set rd.neednet on the kernel cmdline to disable this behaviour
Harald Hoyer [Wed, 12 Aug 2015 12:24:45 +0000 (14:24 +0200)]
systemd: add systemd-run and systemd-escape
Harald Hoyer [Wed, 12 Aug 2015 12:24:05 +0000 (14:24 +0200)]
network/net-lib.sh: add is_ip()
add function to test if string is a valid IP
Harald Hoyer [Mon, 10 Aug 2015 12:05:15 +0000 (14:05 +0200)]
dracut.sh: remove quotes from install_items and install_optional_items
Unfortunately these are lists with whitespaces.
Harald Hoyer [Mon, 10 Aug 2015 11:40:43 +0000 (13:40 +0200)]
base/dracut-lib.sh: Dup stdout and stderr
Dup stdout and stderr, so that subshell redirection does not affect
logging.
Also gets rid of systemd printing info() to the console on "quiet".
Mimi Zohar [Mon, 27 Apr 2015 22:24:14 +0000 (18:24 -0400)]
Revert securitfs change
Commit
5e60145 use findmnt with "--source" or "--target" broke
mounting securityfs. This patch reverts only the securityfs
portion of the patch.
Mimi Zohar [Wed, 29 Apr 2015 15:05:25 +0000 (11:05 -0400)]
Define new script to load keys on the IMA keyring (update)
This patch supports loading keys either on the _ima keyring or, as of
Linux 3.17, on the trusted .ima keyring. Only certificates signed by
a key on the system keyring can be loaded onto the trusted .ima keyring.
Changelog:
- Update 98integrity/README
Mimi Zohar [Mon, 27 Apr 2015 22:24:12 +0000 (18:24 -0400)]
Extend evm-enable.sh to load the EVM public key
Create the _evm keyring and load the EVM public key on it.
Mimi Zohar [Mon, 27 Apr 2015 22:24:11 +0000 (18:24 -0400)]
Remove 98integrity's dependency on selinux
Loading the EVM key(s) is not dependent on selinux. Remove
the dependency.
Harald Hoyer [Fri, 31 Jul 2015 07:05:51 +0000 (09:05 +0200)]
90qemu: fixed systemd-detect-virt output parsing
redirecting systemd-detect-virt to /dev/null doesn't help with parsing
the output :-/
Also, add "Red Hat" as a vendor.
Harald Hoyer [Thu, 30 Jul 2015 10:11:42 +0000 (12:11 +0200)]
dracut.sh: simplify modalias reading
Alexander Tsoy [Tue, 28 Jul 2015 11:55:59 +0000 (14:55 +0300)]
dracut-initramfs-restore: make mount error nonfatal
Script enables errexit option (set -e). So if /boot is not a mount point
or is already mounted, then script dies after unsuccessful mount
command. Fix this by always returning successful result.
Harald Hoyer [Tue, 28 Jul 2015 09:55:04 +0000 (11:55 +0200)]
qemu: add spapr-vscsi kernel module
Harald Hoyer [Mon, 27 Jul 2015 11:40:53 +0000 (13:40 +0200)]
Merge pull request #85 from Quarky9/master
40network/net-lib.sh: get_ip() Add missing echo to output the result
Harald Hoyer [Mon, 27 Jul 2015 11:30:22 +0000 (13:30 +0200)]
crypt: s/allow-discards/discard for crypttab
actually the option in crypttab is named "discard" and not
"allow-discards"
https://bugzilla.suse.com/show_bug.cgi?id=932972
Stefan Reimer [Sat, 25 Jul 2015 01:17:04 +0000 (01:17 +0000)]
Add missing echo to output the result.
Only place this function is currently called seems from line 28 in modules.d/95nfs/nfs-lib.sh. Bug fix.
Harald Hoyer [Wed, 22 Jul 2015 09:34:08 +0000 (11:34 +0200)]
Cleanup compressor handling
If no compressor is specified, try to find a suitable one.
Check if kernel modules can be uncompressed.
Harald Hoyer [Sat, 18 Jul 2015 11:02:25 +0000 (13:02 +0200)]
dmsquash-generator.sh: increase timeout for checkisomd5
if the checkisomd5 takes longer than 3 minutes, the device timeout for
/dev/mapper/live-rw cancels the boot process.
Harald Hoyer [Thu, 16 Jul 2015 10:02:48 +0000 (12:02 +0200)]
Merge pull request #81 from floppym/printf2
Replace echo -n with printf in code with a /bin/sh shebang
Harald Hoyer [Tue, 14 Jul 2015 08:11:59 +0000 (10:11 +0200)]
use mktemp "-p" instead of "--tmpdir" for busybox
Harald Hoyer [Fri, 10 Jul 2015 09:21:51 +0000 (11:21 +0200)]
dracut.spec: add dracut-init.sh
Mike Gilbert [Tue, 14 Jul 2015 15:12:16 +0000 (11:12 -0400)]
syncheck: Look for 'echo -n' usage in modules
Mike Gilbert [Wed, 15 Jul 2015 02:22:14 +0000 (22:22 -0400)]
Replace echo -n with printf in code with a /bin/sh shebang
POSIX does not mandate that echo support the -n parameter.
printf has more well-defined behavior.
Harald Hoyer [Mon, 13 Jul 2015 08:51:47 +0000 (10:51 +0200)]
dracut-systemd/dracut-initqueue: only start service if really needed
Only start the dracut-initqueue.service, if the dracut_need_initqueue
command was issued on creation or later on set.
Harald Hoyer [Mon, 13 Jul 2015 08:39:07 +0000 (10:39 +0200)]
crypt: skip crypttab entries with the same device
It was only checked, if the name of the crypttab entry matched.
This patch adds checking, if the device matches.
Harald Hoyer [Mon, 13 Jul 2015 08:38:16 +0000 (10:38 +0200)]
TODO: update
Harald Hoyer [Mon, 13 Jul 2015 08:14:15 +0000 (10:14 +0200)]
network: add rd.peerdns=0 parameter
Add rd.peerdns=0 parameter to disable DHCP nameserver setting
Harald Hoyer [Thu, 9 Jul 2015 17:44:30 +0000 (19:44 +0200)]
dracut.sh: early check for bash version
Harald Hoyer [Thu, 9 Jul 2015 16:22:15 +0000 (18:22 +0200)]
dracut.sh: remember $0 for --regenerate-all
Harald Hoyer [Thu, 9 Jul 2015 16:02:44 +0000 (18:02 +0200)]
dracut.sh: reduce code
Harald Hoyer [Thu, 9 Jul 2015 13:34:47 +0000 (15:34 +0200)]
dracut-functions.sh: simplify some for loops
continue early, if condition is not met
Harald Hoyer [Thu, 9 Jul 2015 13:27:44 +0000 (15:27 +0200)]
guard ${arrays[@]} with ""
Harald Hoyer [Thu, 9 Jul 2015 12:33:24 +0000 (14:33 +0200)]
dracut.sh: remove pop()
Harald Hoyer [Thu, 9 Jul 2015 12:31:26 +0000 (14:31 +0200)]
dracut.conf: remove example parameters
Harald Hoyer [Thu, 9 Jul 2015 12:13:44 +0000 (14:13 +0200)]
dracut.sh: remove push()
can be done with var+=(val)
Harald Hoyer [Thu, 9 Jul 2015 11:18:13 +0000 (13:18 +0200)]
Add all btrfs devices
We have to find them with "btrfs usage", which is cumbersome.
Harald Hoyer [Wed, 8 Jul 2015 06:49:02 +0000 (08:49 +0200)]
network/dhclient-script.sh: remove bashism
Harald Hoyer [Tue, 7 Jul 2015 13:34:30 +0000 (15:34 +0200)]
TEST-50-MULTINIC/test.sh: correctly call ldconfig
Harald Hoyer [Tue, 7 Jul 2015 12:31:16 +0000 (14:31 +0200)]
TEST-14-IMSM: remove "rd.auto"
otherwise rd.auto auto assembles the device
Harald Hoyer [Tue, 7 Jul 2015 12:29:22 +0000 (14:29 +0200)]
TEST-04-FULL-SYSTEMD: fixup loadkeys keymap loading
Harald Hoyer [Tue, 7 Jul 2015 11:45:19 +0000 (13:45 +0200)]
dracut-pre-mount.service should run before systemd-fsck-root.service
Andrei Borzenkov [Fri, 26 Jun 2015 14:55:56 +0000 (16:55 +0200)]
ensure pre-mount (and resume) run before root fsck
References:
https://bugzilla.suse.com/show_bug.cgi?id=906592
Signed-off-by: Thomas Renninger <trenn@suse.de>
Thomas Renninger [Fri, 26 Jun 2015 14:55:54 +0000 (16:55 +0200)]
Use the uncompressed kernel file on arm and aarch to detect kernel version
This is due to file cannot read out the kernel version on these.
Many thanks to Alexander Graf finding this in old SUSE mkinitrd code.
Converted by Thomas Renninger.
Signed-off-by: Thomas Renninger <trenn@suse.de>
https://bugzilla.suse.com/show_bug.cgi?id=908454
Signed-off-by: Thomas Renninger <trenn@suse.de>
Thomas Renninger [Fri, 26 Jun 2015 14:55:53 +0000 (16:55 +0200)]
mkinitrd-suse.sh: Bail out with exit 1 if initrd cannot be generated
Signed-off-by: Thomas Renninger <trenn@suse.de>
Hannes Reinecke [Fri, 26 Jun 2015 14:55:52 +0000 (16:55 +0200)]
Reset IFS variable
Setting and unsetting the IFS variable is tricky. To be on the
safe side we should always reset the IFS variable to its original
value after parsing.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Harald Hoyer [Tue, 7 Jul 2015 11:26:38 +0000 (13:26 +0200)]
skipcpio/skipcpio.c: linux kernel only accepts "070701" signature
don't bother with other signatures
Harald Hoyer [Tue, 7 Jul 2015 11:25:56 +0000 (13:25 +0200)]
dmsquash-live/dmsquash-live-root.sh: fixup checkisomd5 for systemd
systemd does not like a leading "-" for unit template filenames anymore.
Harald Hoyer [Tue, 7 Jul 2015 11:16:27 +0000 (13:16 +0200)]
Merge pull request #78 from dracut-mailing-devs/
20150706073126 .GC22559@dhcp-128-51.nay.redhat.com
90multipath: add hostonly multipath.conf in case hostonly mode
Harald Hoyer [Tue, 7 Jul 2015 11:15:34 +0000 (13:15 +0200)]
Merge pull request #77 from dracut-mailing-devs/
1435792513 -2222-1-git-send-email-crrodriguez@opensuse.org
systemd: if kdbus is available, include the kernel module
Dave Young [Mon, 6 Jul 2015 07:31:26 +0000 (15:31 +0800)]
90multipath: add hostonly multipath.conf in case hostonly mode
For large machine, suppose there's a lot of multipath devices, multipath layer
will use a lot of memory. For kdump kernel memory is very limited thus it causes
oom. To avoid oom, we only add necessary multipath devices in kdump kernel
multipath.conf.
This is done by use mpathconf --allow, a new option which is like whitelist.
Signed-off-by: Dave Young <dyoung@redhat.com>
Harald Hoyer [Thu, 2 Jul 2015 17:48:25 +0000 (19:48 +0200)]
network/dhclient-script.sh: fixup lease time
Harald Hoyer [Thu, 2 Jul 2015 13:40:13 +0000 (15:40 +0200)]
splitup dracut-init.sh from dracut-functions.sh
other tools want to source dracut-functions.sh without any mkdir side
effects.
Harald Hoyer [Thu, 2 Jul 2015 13:21:35 +0000 (15:21 +0200)]
nfs/nfs-lib.sh: add anaconda_nfsv6_to_var()
add "nfs:[[2001:0db8:85a3:08d3:1319:8a2e:0370:7344]]/path" style parsing
https://bugzilla.redhat.com/show_bug.cgi?id=
1190098
Harald Hoyer [Thu, 2 Jul 2015 13:02:31 +0000 (15:02 +0200)]
dracut-lib.sh:info() output info to stderr
otherwise it might collide with stdout redirection
Harald Hoyer [Thu, 2 Jul 2015 12:55:31 +0000 (14:55 +0200)]
dracut.sh: add devices with x-initrd.mount in /etc/fstab to host_devs
otherwise dracut might not even be able to mount those.
Harald Hoyer [Mon, 29 Jun 2015 14:14:58 +0000 (16:14 +0200)]
lower the log level for dfatal
Harald Hoyer [Thu, 2 Jul 2015 09:32:08 +0000 (11:32 +0200)]
network: don't use "ifup -m"
"ifup -m" was thought to be used by humans in the emergency shell.
Using it programatically shows some other flaw in the execution logic.
Also, "ifup -m" was configuring the interface multiple times on "add"
and "change" uevent, because the "$netif.did-setup" test was not
executed.
Harald Hoyer [Wed, 1 Jul 2015 12:57:15 +0000 (14:57 +0200)]
network/dhclient-script.sh: make IPv4 DHCP lease time optionally
If bootp is used, no lease time is provided in the packet from the bootp
server.
Harald Hoyer [Wed, 1 Jul 2015 12:53:33 +0000 (14:53 +0200)]
network/dhclient-script.sh: add RENEW/REBIND
Cristian RodrÃguez [Wed, 1 Jul 2015 23:15:13 +0000 (20:15 -0300)]
systemd: if kdbus is available, include the kernel module
Harald Hoyer [Thu, 25 Jun 2015 10:20:13 +0000 (12:20 +0200)]
Merge pull request #76 from fabiand/activationskip
Revert "lvm: Don't activate LVs with activationskip set"
Fabian Deutsch [Thu, 25 Jun 2015 09:17:59 +0000 (11:17 +0200)]
Revert "lvm: Don't activate LVs with activationskip set"
This reverts commit
cfa365a32d47388c8476064b23d7d4684f1e591b .
The logic in commit
cfa365a was added to prevent (odl) lvms from
activating snapshots which should not be activated.
Newer lvms however do this automatically (not enabling an LV if the
the 'k' attribute set), thus we can revert the previous commit.
Harald Hoyer [Tue, 23 Jun 2015 13:29:00 +0000 (15:29 +0200)]
dracut.spec: turn requires in recommends
Harald Hoyer [Tue, 23 Jun 2015 13:21:37 +0000 (15:21 +0200)]
dracut.spec: Recommends grubby
Harald Hoyer [Tue, 16 Jun 2015 13:17:39 +0000 (15:17 +0200)]
dracut.spec: move dmsquash and livnet to subpackage
dmsquash and livenet need img-lib, which needs tar, which is normally
not needed.
Harald Hoyer [Tue, 16 Jun 2015 13:08:23 +0000 (15:08 +0200)]
uefi-lib: remove bogus comment
Harald Hoyer [Mon, 15 Jun 2015 13:28:52 +0000 (15:28 +0200)]
rootfs-generator: check for rootok, before doing any action
Harald Hoyer [Tue, 23 Jun 2015 12:12:40 +0000 (14:12 +0200)]
Merge pull request #74 from xnox/master
Fix default udev & systemd dir detection, in usr-merge configurations.
Dimitri John Ledkov [Tue, 17 Feb 2015 13:03:01 +0000 (13:03 +0000)]
Fix default udev & systemd dir detection, in usr-merge configurations.
Test that /lib is not a symlink, before using split-usr paths.
Harald Hoyer [Mon, 15 Jun 2015 10:27:21 +0000 (12:27 +0200)]
NEWS: version 043
Harald Hoyer [Mon, 15 Jun 2015 09:31:53 +0000 (11:31 +0200)]
Merge pull request #73 from dracut-mailing-devs/
1434358579 -11674-1-git-send-email-lzhong@suse.com
dracut-lib.sh: typo fix
Harald Hoyer [Mon, 15 Jun 2015 09:30:51 +0000 (11:30 +0200)]
dmsquash-live: add dmsquash-generator