Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-29 Thread clemens fischer
Thomas Bächler wrote: Your system has two versions of libc.so.6: A 32 bit and a 64 bit version (/usr/lib32/libc.so.6 vs. /lib/libc.so.6), and your script cannot distinguish them. Actually, using readelf, this is not so easy to solve: 1) A 64 bit binary always loads only 64 bit libraries, so

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-28 Thread clemens fischer
Karol Blazewicz wrote: On Thu, Oct 27, 2011 at 9:18 PM, clemens fischer ... wrote: Mkinitcpio already seems to be smart enough:  BINARIES=/usr/sbin/minilogd in etc/mkinitcpio.conf should do the trick. Sorry if I'm terribly mixing things up, but isn't minilogd dead?

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-28 Thread Karol Blazewicz
On Fri, Oct 28, 2011 at 3:20 PM, clemens fischer ino-n...@spotteswoode.dnsalias.org wrote: Karol Blazewicz wrote: On Thu, Oct 27, 2011 at 9:18 PM, clemens fischer ... wrote: Mkinitcpio already seems to be smart enough:  BINARIES=/usr/sbin/minilogd in etc/mkinitcpio.conf should do the

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-28 Thread Thomas Bächler
Am 27.10.2011 21:15, schrieb clemens fischer: $ readelf -d /usr/sbin/minilogd Dynamic section at offset 0x1e50 contains 20 entries: TagType Name/Value 0x0001 (NEEDED) Shared library: [libc.so.6] ... $ readelf -d /lib/libc.so.6 Dynamic

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-28 Thread Tom Gundersen
On Fri, Oct 28, 2011 at 3:20 PM, clemens fischer ino-n...@spotteswoode.dnsalias.org wrote: Karol Blazewicz wrote: On Thu, Oct 27, 2011 at 9:18 PM, clemens fischer ... wrote: Mkinitcpio already seems to be smart enough:  BINARIES=/usr/sbin/minilogd in etc/mkinitcpio.conf should do the

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-27 Thread clemens fischer
Dwight Schauer wrote: My root= on my kernel boot line is using /dev/by-uuid/ so if the initramfs can find the root device, I'm sure it can find the /usr device from the rootfs /etc/fstab. I've not noticed any breakage on all my system's that have a seperate /usr, apart from the message

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-27 Thread clemens fischer
Tom Gundersen wrote: On Wed, Oct 26, 2011 at 12:57 PM, clemens fischer ... wrote: Thomas Bächler wrote: Am 25.10.2011 20:12, schrieb clemens fischer: Mounting /usr needs to go to the initramfs. It is possible to implement a mount handler for this. At this stage, the by-label symlinks

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-27 Thread Thomas Bächler
Am 27.10.2011 10:38, schrieb clemens fischer: minilogd requires the following libs: -rwxr-xr-x 1 root root 11K Oct 18 18:34 /usr/sbin/minilogd lrwxrwxrwx 1 root root 12 Sep 9 01:23 /usr/lib32/libc.so.6 - libc-2.14.so -rwxr-xr-x 1 root root 1.4M Sep 9 01:23 /usr/lib32/libc-2.14.so

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-27 Thread C Anthony Risinger
On Wed, Oct 26, 2011 at 5:57 AM, clemens fischer ino-n...@spotteswoode.dnsalias.org wrote: Thomas Bächler wrote: Am 25.10.2011 20:12, schrieb clemens fischer: Mounting /usr needs to go to the initramfs. It is possible to implement a mount handler for this. At this stage, the by-label

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-27 Thread Dwight Schauer
On Thu, Oct 27, 2011 at 3:38 AM, clemens fischer wrote: Dwight Schauer wrote: My root= on my kernel boot line is using /dev/by-uuid/ so if the initramfs can find the root device, I'm sure it can find the /usr device from the rootfs /etc/fstab. I've not noticed any breakage on all my

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-27 Thread clemens fischer
clemens fischer wrote: Dwight Schauer wrote: My root= on my kernel boot line is using /dev/by-uuid/ so if the initramfs can find the root device, I'm sure it can find the /usr device from the rootfs /etc/fstab. I've not noticed any breakage on all my system's that have a seperate /usr,

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-27 Thread clemens fischer
Thomas Bächler wrote: Am 27.10.2011 10:38, schrieb clemens fischer: minilogd requires the following libs: -rwxr-xr-x 1 root root 11K Oct 18 18:34 /usr/sbin/minilogd lrwxrwxrwx 1 root root 12 Sep 9 01:23 /usr/lib32/libc.so.6 - libc-2.14.so -rwxr-xr-x 1 root root 1.4M Sep 9 01:23

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-27 Thread Karol Blazewicz
On Thu, Oct 27, 2011 at 9:18 PM, clemens fischer ino-n...@spotteswoode.dnsalias.org wrote: clemens fischer wrote: Dwight Schauer wrote: My root= on my kernel boot line is using /dev/by-uuid/ so if the initramfs can find the root device, I'm sure it can find the /usr device from the rootfs

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-26 Thread clemens fischer
Thomas Bächler wrote: Am 25.10.2011 20:12, schrieb clemens fischer: Mounting /usr needs to go to the initramfs. It is possible to implement a mount handler for this. At this stage, the by-label symlinks exist already. AFAIU udevd(8) is responsible for setting up those symlinks. How can

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-26 Thread Leif Warner
So a convention continuously in use longer than I've been alive is dropped, and the notification for this is tucked in the init script that you get to see on your next (broken) reboot? I had just partioned and set up an Arch system with seperate /usr, /var, /tmp, and /home partitions, as always,

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-26 Thread Tom Gundersen
On Wed, Oct 26, 2011 at 12:57 PM, clemens fischer ino-n...@spotteswoode.dnsalias.org wrote: Thomas Bächler wrote: Am 25.10.2011 20:12, schrieb clemens fischer: Mounting /usr needs to go to the initramfs. It is possible to implement a mount handler for this. At this stage, the by-label

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-26 Thread Dwight Schauer
On Wed, Oct 26, 2011 at 3:13 PM, Tom Gundersen wrote: On Wed, Oct 26, 2011 at 12:57 PM, clemens fischer wrote: Lucky you, I have a way to explain it:  There are udev rules referencing stuff in /usr.  If people mount /usr by-label or by-uuid, udev must have completed to setup those symlinks.  

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-25 Thread clemens fischer
Tom Gundersen wrote: From time to time we get bug reports that are really difficult to debug, and that eventually turn out to be due to a separate /usr. Once we figure out the cause, we usually end up having to say, sorry, there is nothing we can do about that, but in the meantime we have

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-25 Thread clemens fischer
Thomas Bächler wrote: No. Even if things fail entirely, we will provide a hook for mkinitcpio that mounts /usr before switching to the real root filesystem. This will eliminate all your potential bugs. However - this hook hasn't been written yet. Imagine somebody with a desktop arch-linux.

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-25 Thread Thomas Bächler
Am 25.10.2011 14:12, schrieb clemens fischer: We are currently working on adding support for the second approach, but we are not there yet (I have some patches against mkinitcpio to add this, but they rely on a patch by Thomas against busybox that has not yet landed upstream). What patch

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-25 Thread Thomas Bächler
Am 25.10.2011 16:19, schrieb Dwight Schauer: Would the /usr location be determined when the initramfs is created, or would it determine the location at runtime via /etc/fstab? Just wanted to make sure it is the latter. Yes, you mounted root, so you can now look at fstab. By label? Is that

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-25 Thread Tom Gundersen
On Tue, Oct 25, 2011 at 2:12 PM, clemens fischer ino-n...@spotteswoode.dnsalias.org wrote: What patch would that be?  THE-FAVOURITE-SEARCH-ENGINE didn't pull anything useful for patch Thomas-Bächler busybox.  Can somebody point us to the relevant code, please? Thomas is right, that is not

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-25 Thread Tom Gundersen
On Tue, Oct 25, 2011 at 8:09 PM, clemens fischer ino-n...@spotteswoode.dnsalias.org wrote:    10  +In order for this to work, /usr needs to be in your /etc/fstab and it    11  +should be marked for not being fsck'ed (the last option should be 0). This is getting weird.  Who/what is going to

[arch-general] /usr is not mounted. This is not supported.

2011-10-24 Thread Dwight Schauer
I've been using Arch Linux for about 4 years now. I have it on a few important systems at work and it has been doing very well. This morning I saw /usr is not mounted. This is not supported. in my boot up after a recent rc.sysinit update. What is this, bait and switch? I've been running Linux

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-24 Thread Sander Jansen
This is not a new thing, it has been broken for quite a while. http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken Sander On Mon, Oct 24, 2011 at 9:42 AM, Dwight Schauer dscha...@gmail.com wrote: I've been using Arch Linux for about 4 years now. I have it on a few important

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-24 Thread Mantas Mikulėnas
On 2011-10-24 17:42, Dwight Schauer wrote: This morning I saw /usr is not mounted. This is not supported. in my boot up after a recent rc.sysinit update. What is this, bait and switch? I've been running Linux and BSD systems since 1996 and typically always have /usr in a separate partition (as

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-24 Thread Thomas Bächler
Am 24.10.2011 16:42, schrieb Dwight Schauer: I've been using Arch Linux for about 4 years now. I have it on a few important systems at work and it has been doing very well. This morning I saw /usr is not mounted. This is not supported. in my boot up after a recent rc.sysinit update.

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-24 Thread Tom Gundersen
On Mon, Oct 24, 2011 at 4:42 PM, Dwight Schauer dscha...@gmail.com wrote: I've been using Arch Linux for about 4 years now. I have it on a few important systems at work and it has been doing very well. This morning I saw /usr is not mounted. This is not supported. in my boot up after a recent

Re: [arch-general] /usr is not mounted. This is not supported.

2011-10-24 Thread Dwight Schauer
On Mon, Oct 24, 2011 at 1:18 PM, Tom Gundersen t...@jklm.no wrote: There are two ways to solve this: either merge your / and your /usr partitions, or make your initramfs mount /usr so init won't even know that /usr is separate. We are currently working on adding support for the second