From 6c3806f60c5ffe2c518313d36c4b6600730e6cec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 21 Mar 2013 07:53:58 +0000 Subject: [PATCH] Version 12639. svn-id: @12640 --- ChangeLog | 176 +++++++++++++++++++++++++++++------------------------- Makefile | 2 +- 2 files changed, 97 insertions(+), 81 deletions(-) diff --git a/ChangeLog b/ChangeLog index bd13dd7..ddeb620 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,20 @@ +2013-03-21 07:42 +0000 [r12639] Arkadiusz Miśkiewicz + + * mod-udev.sh: Use PLD-like uid/gid and permissions for mdev + created devices. Add some device nodes. + +2013-03-21 07:30 +0000 [r12638] Arkadiusz Miśkiewicz + + * mod-nfs.sh, mod-uvesafb.sh, geninitrd, mod-lvm.sh, mod-md.sh, + mod-suspend.sh: Set permission for every mknode call. + +2013-03-18 11:08 +0000 [r12636] Arkadiusz Miśkiewicz + + * Makefile: Version 12635. + 2013-03-18 11:05 +0000 [r12635] Arkadiusz Miśkiewicz - * geninitrd, mod-udev.sh: Make sure initial permissions for /dev/ + * mod-udev.sh, geninitrd: Make sure initial permissions for /dev/ nodes are correct since recent udev versions leave inherited permissions (thus invalid sometimes eg busybox mdev set /dev/null mode to 660). @@ -62,7 +76,7 @@ 2012-08-02 16:47 +0000 [r12575] Arkadiusz Miśkiewicz - * mod-udev.sh, geninitrd: Always use mdev (when udev is not in + * geninitrd, mod-udev.sh: Always use mdev (when udev is not in use). 2012-07-05 09:54 +0000 [r12573] Jan Rękorajski @@ -81,7 +95,7 @@ 2012-04-23 15:14 +0000 [r12559-12560] Elan Ruusamäe - * tests/initramfs_switchroot.sh, geninitrd: initramfs switchroot: + * geninitrd, tests/initramfs_switchroot.sh: initramfs switchroot: use awk own function to convert hex to dec (currently dietlibc built awk can't handle hex printf) @@ -98,11 +112,11 @@ 2012-04-17 13:45 +0000 [r12550] Elan Ruusamäe - * mod-suspend.sh, mod-blkid.sh, mod-nfs.sh, mod-sata.sh, - mod-uvesafb.sh, mod-condecor.sh, geninitrd, mod-lvm.sh, - mod-md.sh, mod-scsi.sh, mod-ide.sh, mod-fbsplash.sh, mod-udev.sh, - mod-multipath.sh, mod-usbkbd.sh, mod-luks.sh, mod-bootsplash.sh: - add debug and verbose output + * mod-usbkbd.sh, mod-luks.sh, mod-bootsplash.sh, mod-suspend.sh, + mod-blkid.sh, mod-nfs.sh, mod-sata.sh, mod-uvesafb.sh, + mod-condecor.sh, geninitrd, mod-lvm.sh, mod-md.sh, mod-scsi.sh, + mod-ide.sh, mod-fbsplash.sh, mod-udev.sh, mod-multipath.sh: add + debug and verbose output 2012-04-16 18:14 +0000 [r12549] Elan Ruusamäe @@ -120,12 +134,12 @@ 2012-04-16 12:45 +0000 [r12546] Elan Ruusamäe - * geninitrd, tests/initramfs_switchroot.sh: initramfs switchroot: + * tests/initramfs_switchroot.sh, geninitrd: initramfs switchroot: fix parsing `root=fe00` 2012-04-16 10:51 +0000 [r12545] Elan Ruusamäe - * tests/partitions2 (added), tests/initramfs_switchroot.sh: + * tests/initramfs_switchroot.sh, tests/partitions2 (added): testcase for lilo dm-0 mount 2012-04-16 09:03 +0000 [r12543-12544] Elan Ruusamäe @@ -165,7 +179,7 @@ 2012-03-30 14:16 +0000 [r12526-12528] Elan Ruusamäe - * tests/partitions (added), tests/initramfs_switchroot.sh: supply + * tests/initramfs_switchroot.sh, tests/partitions (added): supply /proc/partitions dump * tests/initramfs_switchroot.sh: fill all expected tests @@ -261,7 +275,7 @@ 2012-03-18 16:32 +0000 [r12500] Elan Ruusamäe - * mod-suspend.sh, mod-lvm.sh: prefix lvm variables with LVM_ + * mod-lvm.sh, mod-suspend.sh: prefix lvm variables with LVM_ 2012-03-18 15:55 +0000 [r12499] Elan Ruusamäe @@ -311,7 +325,7 @@ 2012-01-05 19:43 +0000 [r12458] Elan Ruusamäe - * geninitrd, mod-ide.sh, mod-scsi.sh: filter out comments in + * mod-ide.sh, mod-scsi.sh, geninitrd: filter out comments in modprobe_conf_cache rather in some places of code to get 100% accuracy @@ -367,11 +381,11 @@ 2011-12-03 19:52 +0000 [r12423-12431] Artur Frysiak - * udev-rules/01-ignore.rules (added), mod-udev.sh, - udev-rules/61-persistent-storage.rules (added), udev-rules - (added), Makefile, udev-rules/59-persistent-storage.rules - (added), udev-rules/11-dm.rules (added): Install special udev - rules Rules copied from dracut + * Makefile, udev-rules/59-persistent-storage.rules (added), + udev-rules/11-dm.rules (added), udev-rules/01-ignore.rules + (added), mod-udev.sh, udev-rules/61-persistent-storage.rules + (added), udev-rules (added): Install special udev rules Rules + copied from dracut * mod-udev.sh: Use udevadm to stop udevd @@ -480,7 +494,7 @@ * mod-usbkbd.sh (added): USB keyboard modules finding and loading at initrd level. - * geninitrd, functions, Makefile, mod-sata.sh: USB keyboard modules + * functions, Makefile, mod-sata.sh, geninitrd: USB keyboard modules finding and loading at initrd level. 2011-10-15 07:38 +0000 [r12372] Arkadiusz Miśkiewicz @@ -616,21 +630,21 @@ 2011-02-19 13:59 +0000 [r12169] Elan Ruusamäe - * mod-scsi.sh, mod-ide.sh, mod-fbsplash.sh, mod-udev.sh, - mod-multipath.sh, mod-bootsplash.sh, mod-depmod24.sh, - mod-luks.sh, mod-suspend.sh, mod-blkid.sh, mod-nfs.sh, - mod-sata.sh, mod-uvesafb.sh, mod-condecor.sh, geninitrd, - mod-lvm.sh, mod-tuxonice.sh, mod-md.sh, mod-dmraid.sh: each - module their own rcsid var + * mod-bootsplash.sh, mod-depmod24.sh, mod-luks.sh, mod-suspend.sh, + mod-blkid.sh, mod-nfs.sh, mod-sata.sh, mod-uvesafb.sh, + mod-condecor.sh, geninitrd, mod-lvm.sh, mod-tuxonice.sh, + mod-md.sh, mod-dmraid.sh, mod-scsi.sh, mod-ide.sh, + mod-fbsplash.sh, mod-udev.sh, mod-multipath.sh: each module their + own rcsid var 2011-02-19 13:53 +0000 [r12168] Elan Ruusamäe - * mod-lvm.sh, mod-tuxonice.sh, mod-md.sh, mod-dmraid.sh, - mod-scsi.sh, mod-ide.sh, mod-fbsplash.sh, mod-udev.sh, - mod-multipath.sh, mod-bootsplash.sh, mod-depmod24.sh, - mod-luks.sh, mod-suspend.sh, mod-blkid.sh, mod-nfs.sh, - mod-sata.sh, mod-uvesafb.sh, mod-condecor.sh, geninitrd: truncate - the date to cut out locale formats + * mod-bootsplash.sh, mod-depmod24.sh, mod-luks.sh, mod-suspend.sh, + mod-blkid.sh, mod-nfs.sh, mod-sata.sh, mod-uvesafb.sh, + mod-condecor.sh, geninitrd, mod-lvm.sh, mod-tuxonice.sh, + mod-md.sh, mod-dmraid.sh, mod-scsi.sh, mod-ide.sh, + mod-fbsplash.sh, mod-udev.sh, mod-multipath.sh: truncate the date + to cut out locale formats 2011-02-19 08:38 +0000 [r12167] Elan Ruusamäe @@ -653,15 +667,15 @@ 2011-02-19 07:56 +0000 [r12161-12162] Arkadiusz Miśkiewicz - * mod-ide.sh, functions: Revert, this wasn't meant to be in + * functions, mod-ide.sh: Revert, this wasn't meant to be in previous commit. - * mod-suspend.sh, functions, mod-blkid.sh, mod-nfs.sh, mod-sata.sh, - mod-uvesafb.sh, mod-condecor.sh, geninitrd, mod-lvm.sh, + * mod-uvesafb.sh, mod-condecor.sh, geninitrd, mod-lvm.sh, mod-tuxonice.sh, mod-md.sh, mod-dmraid.sh, mod-scsi.sh, mod-ide.sh, mod-fbsplash.sh, mod-udev.sh, mod-multipath.sh, - mod-bootsplash.sh, mod-depmod24.sh, mod-luks.sh: Report RCSID for - loaded modules, too. + mod-bootsplash.sh, mod-depmod24.sh, mod-luks.sh, mod-suspend.sh, + functions, mod-blkid.sh, mod-nfs.sh, mod-sata.sh: Report RCSID + for loaded modules, too. 2011-02-17 22:16 +0000 [r12159] Arkadiusz Miśkiewicz @@ -726,10 +740,10 @@ 2011-02-03 11:16 +0000 [r12113] Elan Ruusamäe - * mod-bootsplash.sh, mod-luks.sh, mod-lvm.sh, mod-tuxonice.sh, - mod-dmraid.sh, mod-md.sh, mod-suspend.sh, mod-fbsplash.sh, - mod-udev.sh, mod-blkid.sh, mod-nfs.sh, mod-multipath.sh, - mod-condecor.sh, geninitrd: Simplify main code by moving state + * mod-condecor.sh, geninitrd, mod-bootsplash.sh, mod-luks.sh, + mod-lvm.sh, mod-tuxonice.sh, mod-dmraid.sh, mod-md.sh, + mod-suspend.sh, mod-fbsplash.sh, mod-udev.sh, mod-blkid.sh, + mod-nfs.sh, mod-multipath.sh: Simplify main code by moving state checks to modules itself 2011-02-03 11:06 +0000 [r12112] Elan Ruusamäe @@ -965,15 +979,16 @@ 2010-10-20 20:42 +0000 [r11863] Elan Ruusamäe - * tests/sysfs/bus/pci/devices/0000:00:1f.1 (added), tests/sysfs + * tests/sysfs/bus (added), + tests/sysfs/bus/pci/devices/0000:00:1f.1/driver (added), + tests/sysfs/bus/pci/devices/0000:00:1f.2/driver (added), + tests/find-module-by-pciclass.sh (added), + tests/sysfs/bus/pci/devices/0000:00:1f.1 (added), tests/sysfs (added), tests/sysfs/bus/pci/devices/0000:00:1f.2 (added), tests/sysfs/bus/pci (added), tests/sysfs/bus/pci/devices/0000:00:1f.1/class (added), tests/sysfs/bus/pci/devices/0000:00:1f.2/class (added), - tests/sysfs/bus/pci/devices (added), tests/sysfs/bus (added), - tests/sysfs/bus/pci/devices/0000:00:1f.1/driver (added), - tests/sysfs/bus/pci/devices/0000:00:1f.2/driver (added), - tests/find-module-by-pciclass.sh (added): - lame test for sysfs + tests/sysfs/bus/pci/devices (added): - lame test for sysfs scanning for 0x0101 devices 2010-10-20 20:42 +0000 [r11862] shadzik @@ -983,12 +998,12 @@ 2010-10-20 20:36 +0000 [r11861] Elan Ruusamäe - * tests/setup-test.sh (added), tests/lvmroot.sh: - setup common + * tests/lvmroot.sh, tests/setup-test.sh (added): - setup common test base 2010-10-20 17:07 +0000 [r11860] shadzik - * mod-xata.sh (removed), mod-sata.sh (added): - again, rename - use + * mod-sata.sh (added), mod-xata.sh (removed): - again, rename - use only 0106 class 2010-10-20 17:03 +0000 [r11859] shadzik @@ -1075,7 +1090,7 @@ 2010-01-12 10:11 +0000 [r11106] Elan Ruusamäe - * mod-lvm.sh, tests/lvmroot.sh: - allow dash in PV too + * tests/lvmroot.sh, mod-lvm.sh: - allow dash in PV too 2010-01-02 16:24 +0000 [r11086-11087] Elan Ruusamäe @@ -1303,15 +1318,15 @@ 2009-04-27 09:43 +0000 [r10337] Elan Ruusamäe - * mod-uvesafb.sh, mod-condecor.sh, mod-bootsplash.sh, mod-luks.sh, - mod-lvm.sh, mod-tuxonice.sh, mod-dmraid.sh, mod-md.sh, - mod-suspend.sh, mod-fbsplash.sh, mod-udev.sh, mod-blkid.sh, - mod-multipath.sh: - allow configuration for USE_xxx from + * mod-bootsplash.sh, mod-luks.sh, mod-lvm.sh, mod-tuxonice.sh, + mod-dmraid.sh, mod-md.sh, mod-suspend.sh, mod-fbsplash.sh, + mod-udev.sh, mod-blkid.sh, mod-multipath.sh, mod-uvesafb.sh, + mod-condecor.sh: - allow configuration for USE_xxx from sysconfig/geninitrd. lp#364812 2009-04-27 09:31 +0000 [r10335] Elan Ruusamäe - * mod-md.sh, geninitrd: - drop USERAIDSTART (autodetected) + * geninitrd, mod-md.sh: - drop USERAIDSTART (autodetected) 2009-04-16 00:30 +0000 [r10329] Elan Ruusamäe @@ -1332,7 +1347,7 @@ 2009-04-06 22:55 +0000 [r10320] Elan Ruusamäe - * geninitrd, geninitrd.sysconfig: - lzma/bzip/gzip compressors - + * geninitrd.sysconfig, geninitrd: - lzma/bzip/gzip compressors - need to think about image extension which cames from .spec.... 2009-04-06 22:40 +0000 [r10319] Elan Ruusamäe @@ -1387,11 +1402,11 @@ 2009-04-02 23:13 +0000 [r10294] Elan Ruusamäe - * geninitrd, mod-nfs.sh (added), Makefile: - nfs modularized + * mod-nfs.sh (added), Makefile, geninitrd: - nfs modularized 2009-04-02 23:07 +0000 [r10293] Elan Ruusamäe - * Makefile, mod-uvesafb.sh (added), geninitrd: - uvesafb (v86d) + * geninitrd, Makefile, mod-uvesafb.sh (added): - uvesafb (v86d) modularized 2009-04-02 22:59 +0000 [r10292] Elan Ruusamäe @@ -1405,9 +1420,9 @@ 2009-04-02 22:52 +0000 [r10289-10290] Elan Ruusamäe - * Makefile, geninitrd: - condecor modularized + * geninitrd, Makefile: - condecor modularized - * Makefile, geninitrd, mod-fbsplash.sh (added): - fbsplash + * mod-fbsplash.sh (added), Makefile, geninitrd: - fbsplash modularized 2009-04-02 22:44 +0000 [r10288] Elan Ruusamäe @@ -1418,7 +1433,7 @@ * geninitrd: - load suspend module - * Makefile, geninitrd, mod-suspend.sh (added): - suspend + * geninitrd, mod-suspend.sh (added), Makefile: - suspend modularized * geninitrd.8.xml: - update manual with --initrdfs argument @@ -1427,7 +1442,7 @@ * geninitrd: - load tuxonice mod - * Makefile, geninitrd, mod-tuxonice.sh (added): - tuxonice + * geninitrd, mod-tuxonice.sh (added), Makefile: - tuxonice modularized * mod-udev.sh: - typo @@ -1438,13 +1453,13 @@ 2009-04-02 22:18 +0000 [r10280] Elan Ruusamäe - * mod-udev.sh, mod-blkid.sh, mod-multipath.sh, geninitrd, - mod-luks.sh, mod-lvm.sh, mod-dmraid.sh, mod-md.sh: - setup + * mod-dmraid.sh, mod-md.sh, mod-udev.sh, mod-blkid.sh, + mod-multipath.sh, geninitrd, mod-luks.sh, mod-lvm.sh: - setup modules _after_ parsing command-line args 2009-04-02 21:49 +0000 [r10279] Elan Ruusamäe - * geninitrd, mod-udev.sh (added), Makefile: - udev modularized + * mod-udev.sh (added), Makefile, geninitrd: - udev modularized 2009-04-02 21:38 +0000 [r10277-10278] Elan Ruusamäe @@ -1457,7 +1472,7 @@ * geninitrd, mod-dmraid.sh: - USE_DMRAID moved to dmraid module - * Makefile, geninitrd, mod-blkid.sh (added): - blkid modularized + * mod-blkid.sh (added), Makefile, geninitrd: - blkid modularized 2009-04-02 21:19 +0000 [r10274] Elan Ruusamäe @@ -1555,7 +1570,7 @@ 2009-02-27 17:25 +0000 [r10156] Elan Ruusamäe - * geninitrd, mod-multipath.sh: - dm_export is internal to + * mod-multipath.sh, geninitrd: - dm_export is internal to mod-multipath - dm_deps unused2H 2009-02-27 17:19 +0000 [r10154] Elan Ruusamäe @@ -1619,7 +1634,7 @@ 2008-12-10 15:34 +0000 [r10032] Elan Ruusamäe - * mod-ide.sh (added), Makefile, geninitrd: - modularize ide + * geninitrd, mod-ide.sh (added), Makefile: - modularize ide component 2008-12-10 15:22 +0000 [r10031] Elan Ruusamäe @@ -1638,7 +1653,7 @@ 2008-11-24 00:17 +0000 [r10003] Elan Ruusamäe - * geninitrd, mod-dmraid.sh (added), Makefile: - modularize dmraid + * mod-dmraid.sh (added), Makefile, geninitrd: - modularize dmraid 2008-11-18 15:03 +0000 [r10000] Elan Ruusamäe @@ -1671,7 +1686,7 @@ * Makefile: - 9000.17 release - * geninitrd, mod-luks.sh (added), Makefile: - put cryptsetup luks + * Makefile, geninitrd, mod-luks.sh (added): - put cryptsetup luks related files into separate file 2008-11-12 23:07 +0000 [r9984] Elan Ruusamäe @@ -2033,7 +2048,7 @@ * functions: - fix flow - * geninitrd, functions: - nfsroot patch from wolverine + * functions, geninitrd: - nfsroot patch from wolverine 2007-12-26 01:13 +0000 [r9161] Elan Ruusamäe @@ -2453,7 +2468,7 @@ * geninitrd: - remove dumping linuxrc and lvm.conf - * functions, geninitrd: - rootfs on lvm and dmraid hooks + * geninitrd, functions: - rootfs on lvm and dmraid hooks 2007-10-05 22:51 +0000 [r8792] Elan Ruusamäe @@ -2597,7 +2612,7 @@ 2007-04-03 10:18 +0000 [r8409] Arkadiusz Miśkiewicz - * functions, geninitrd: Create additional devices like xfs logdev. + * geninitrd, functions: Create additional devices like xfs logdev. Verbose copying of devices. 2007-03-20 14:13 +0000 [r8390-8391] Elan Ruusamäe @@ -2671,12 +2686,12 @@ * Makefile: - include functions in tarball - * geninitrd, functions: - allow setting prefix for function + * functions, geninitrd: - allow setting prefix for function messages via $PROGRAM global 2007-02-08 18:21 +0000 [r8240] Elan Ruusamäe - * functions (added), Makefile, geninitrd: - export functions so + * geninitrd, functions (added), Makefile: - export functions so other programs could reuse code - find_root() for now 2007-02-07 10:58 +0000 [r8236-8237] Elan Ruusamäe @@ -3077,7 +3092,7 @@ 2006-01-28 13:16 +0000 [r6893] Arkadiusz Miśkiewicz - * geninitrd.8.xml, geninitrd: Old raidtools no longer supported. + * geninitrd, geninitrd.8.xml: Old raidtools no longer supported. 2006-01-27 23:37 +0000 [r6892] Arkadiusz Miśkiewicz @@ -3411,7 +3426,7 @@ 2004-01-30 21:53 +0000 [r3228] Artur Frysiak - * geninitrd, geninitrd.8.xml: - write usage message to stdin not + * geninitrd.8.xml, geninitrd: - write usage message to stdin not stderr - check version of LVM tools not LVM volumen format - added --lvmversion options @@ -3617,7 +3632,7 @@ 2003-08-07 22:27 +0000 [r1269] Arkadiusz Miśkiewicz - * geninitrd, pci.ide (added): - support for automatic IDE module + * pci.ide (added), geninitrd: - support for automatic IDE module finding (needs testing) 2003-08-07 20:08 +0000 [r1266] Arkadiusz Miśkiewicz @@ -3994,7 +4009,7 @@ 2000-12-15 16:05 +0000 [r1170] Michał Moskal - * geninitrd, geninitrd.sysconfig: Updated to use bsp. + * geninitrd.sysconfig, geninitrd: Updated to use bsp. 2000-12-06 19:36 +0000 [r1168-1169] kloczek @@ -4051,7 +4066,7 @@ 2000-11-14 14:19 +0000 [r1156] Artur Frysiak - * geninitrd, geninitrd.8: - added cramfs support (untested) + * geninitrd.8, geninitrd: - added cramfs support (untested) 2000-11-14 13:33 +0000 [r1155] Artur Frysiak @@ -4063,6 +4078,7 @@ 2000-11-09 09:26 +0000 [r1152] Jacek Konieczny - * TODO (added), geninitrd.sysconfig (added), geninitrd.8 (added), - Makefile (added), / (added), geninitrd (added): Initial revision + * Makefile (added), / (added), geninitrd (added), TODO (added), + geninitrd.sysconfig (added), geninitrd.8 (added): Initial + revision diff --git a/Makefile b/Makefile index 24395cf..d0905e5 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # when making release, make sure you do it as RELEASE document describes -VERSION := 12635 +VERSION := 12639 MODS := ide luks multipath dmraid lvm md blkid udev tuxonice suspend fbsplash condecor bootsplash uvesafb nfs sata scsi usbkbd FILES_MODS := $(MODS:%=mod-%.sh) FILES_ADDON := extract-ikconfig -- 2.44.0