Some problems with mount --bind -o bind syntax

Bug #320623 reported by adrian15
18
Affects Status Importance Assigned to Milestone
busybox (Ubuntu)
Expired
Undecided
Unassigned
initramfs-tools (Ubuntu)
Expired
Undecided
Unassigned
live-initramfs (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools
Binary package hint: busybox
Binary package hint: live-initramfs

This is a somewhat metabug because it is not very clear to which package it is the bug from.

The bug is explained here: https://forja.rediris.es/tracker/index.php?func=detail&aid=255&group_id=428&atid=1577 (A tar.gz with the patch is available to download in the url).

Here there is a summary:

Whenever you try to set up: Fully Automatic Installation (FAI) package in Ubuntu 8.10 to server Ubuntu 8.10 (instead of default Ubuntu 8.04) the initramfs-tools scripts that are run at boot uses sometimes the new mount syntax:

mount --bind syntax instead of the old one mount -o bind that should one. Sometimes it is viceversa.

In my opinnion FAI uses live-initramfs package but it does not matter because live-initramfs uses some of the initramfs-tools scripts whenever running its mkinitrd equivalent.

The patch it is designed so that you can use it interactively whenever you try to install an installation client.

There are also problems about ld.so.conf configuration being lost without any apparent reason.

adrian15

initramfs-tools information:
1) I am using Ubuntu 8.10
2) The package version was: 0.92bubuntu15
3) No mount errors.
4) A lot of mount errors and some other strange things.

live-initramfs information:
1) I am using Ubuntu 8.10
2) The package version was: 1.132.1-1 .
3) No mount errors.
4) A lot of mount errors and some other strange things.

busybox information:
1) I am using Ubuntu 8.10
2) The package version was: I think busybox commands are incrusted into initramfs-tools package... or am I wrong? .
The initramfs-tools version was: 0.92bubuntu15
3) No mount errors.
4) A lot of mount errors and some other strange things.

Revision history for this message
adrian15 (adrian15) wrote :

I also posted the same bug to these other packages:

Meta bug in live-initramfs: https://bugs.launchpad.net/ubuntu/+source/live-initramfs/+bug/320626
Meta bug in busybox: https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/320629

adrian15 (adrian15)
description: updated
Revision history for this message
adrian15 (adrian15) wrote :
Revision history for this message
adrian15 (adrian15) wrote :

Previous patch was a initramfs-tools patch.
This is the live-initramfs patch.

Apart from the double mount syntax workaround this patch adds "wc" program to the initrd because FAI needs it.
I suppose that the "FAI needs wc program" is another bug... although it is part of the problem "FAI does not work in intrepid ok when serving intrepid to the clients."

Revision history for this message
adrian15 (adrian15) wrote :

I have built a repository with the needed changes for initramfs-tools, live-initramfs (the patches I have already send here) and also for fai package.

This changes make possible that fai installed in a Ubuntu 8.10 serves Ubuntu 8.10 to the clients instead of 8.04 installation as it is right now the default.

I do not know if it is going to be useful or not for this bug but I have to try.

This is the launchpad url for the repository:
https://launchpad.net/~adrian15/+archive/fai

Revision history for this message
Phillip Susi (psusi) wrote :

I don't understand the purpose of this. The old syntax still works, so why change?

Changed in busybox (Ubuntu):
status: New → Incomplete
Changed in initramfs-tools (Ubuntu):
status: New → Incomplete
Changed in live-initramfs (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for live-initramfs (Ubuntu) because there has been no activity for 60 days.]

Changed in live-initramfs (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for busybox (Ubuntu) because there has been no activity for 60 days.]

Changed in busybox (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for initramfs-tools (Ubuntu) because there has been no activity for 60 days.]

Changed in initramfs-tools (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.