[Bug 238675] New: mkinitrd has too many dependencies
https://bugzilla.novell.com/show_bug.cgi?id=238675 Summary: mkinitrd has too many dependencies Product: openSUSE 10.3 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: hare@novell.com ReportedBy: aj@novell.com QAContact: qa@suse.de CC: kkaempf@novell.com, kukuk@novell.com mkinitrd requires a couple of packages that are not necessarily needed. For example it requires reiserfs even if my system does not use any Reiser filesystem. # rpm -q --requires mkinitrd coreutils modutils util-linux grep e2fsprogs gzip sed gawk cpio udev pciutils sysvinit reiserfs file I propose to cleanup the dependencies and do runtime checking. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=238675 ------- Comment #1 from aj@novell.com 2007-01-25 05:28 MST ------- Just discussed with Thorsten: The question is whether we 1) add the filesystems (e2fsprogs, reiserfs - and it looks like this list is incomplete, what about ocfs, xfs, jfs etc?) by default to ensure that the system always works via mkinitrd 2) or whether yast2 adds those once it detects such a filesystem. This has the problem if you later want to add external media with other filesystems. 3) The filesystems are added via patterns, perhaps together with option 2 so that a minimal base system will only have the packages really needed but a default install will have everything. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=238675 ------- Comment #2 from kkaempf@novell.com 2007-01-25 05:37 MST ------- Please rule out option 2). Installing the right packages should be based on package (or run-time) dependencies, not on a specific application. So I'd propose to attack this from two directions 1. Have mkinitrd check & report missing packages at runtime This will cover the 'non-YaST' cases. 2. Extend package dependencies to be able to express such dependencies (require package based on root-fs) This will cover all applications able to interpret these dependencies, this would include yast and zypper. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=238675 hare@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #3 from hare@novell.com 2007-01-26 06:47 MST ------- I'd favour the 'report any missing packages' approach. Actually, I don't think I'd be reporting the package but rather the missing program; quite hard to figure out to which non-installed rpm a specific program belongs to ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=238675 kkaempf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com ------- Comment #4 from kkaempf@novell.com 2007-01-26 07:30 MST ------- comment #3: "I don't think I'd be reporting the package but rather the missing program;" I agree. In this case, yast (resp. zypper) should have the ability to install the right package based on the program name (and path !) So please report missing programs with full path (e.g. /usr/sbin/foobar). I just added FATE "#301956: Ability to install package by refering to its provided tags/files" to cover this usecase in zypper and YaST. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=238675 visnov@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Partner ID| |FATE 301956 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=238675 hare@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hare@novell.com |agraf@novell.com Status|ASSIGNED |NEW ------- Comment #5 from hare@novell.com 2007-04-27 04:19 MST ------- We're currently doing a complete mkinitrd rewrite. This will addressed there. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=238675 judas_iscariote@shorewall.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |judas_iscariote@shorewall.net ------- Comment #6 from judas_iscariote@shorewall.net 2007-05-14 03:03 MST ------- (In reply to comment #2)
Please rule out option 2). Installing the right packages should be based on package (or run-time) dependencies, not on a specific application.
So I'd propose to attack this from two directions 1. Have mkinitrd check & report missing packages at runtime This will cover the 'non-YaST' cases.
2. Extend package dependencies to be able to express such dependencies (require package based on root-fs) This will cover all applications able to interpret these dependencies, this would include yast and zypper.
just my $2. yes the approach that Klaus mention is the better one.. ;) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=238675 agraf@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #7 from agraf@novell.com 2007-05-21 09:29 MST ------- Fixed in the new mkinitrd. If no fsck was found a warning gets triggered (normally booting works without as well). Everything else is up to the user. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com