From: Ivailo Monev <xakepa10@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: udev rules prefix
Date: Thu, 14 Nov 2013 12:08:47 +0000 [thread overview]
Message-ID: <5284BD4F.8080205@gmail.com> (raw)
In-Reply-To: <s5hr4ajqy5d.wl%tiwai@suse.de>
On 11/14/13 02:48, David Henningsson wrote:
> On 11/13/2013 09:36 PM, Ivailo wrote:
>> Hello,
>>
>> the default prefix for alsa-utils is /usr however the udev rules directory
>> is /lib/udev/rules.d thus on setups with separate partition for /usr the
>> binaries, from /usr/bin and /usr/sbin, will likely not be available during
>> the boot process and the udev rule will fail to restore the state.
>>
>> I suggest that the udev rules directory follows the prefix or append /usr
>> to it to resolve this.
>>
>> Cheers!
> Hi,
>
> ALSA merely follows what udev dictates, so I think your
> question/suggestion is better redirected on the udev (now systemd)
> mailinglist. Or potentially that of your distro.
>
Actually, you are not following what udev dictates (unless I'm missing
something).
By default, systemd (and more importantly udev) will be installed with
/usr prefix
(which is wrong in it self because it blindly assumes that /usr has been
mounted
via initrd/initramfs where separate /usr partition is in use but let's
not talk about
this here).
On 11/14/13 06:45, Takashi Iwai wrote:
> At Wed, 13 Nov 2013 20:36:48 +0000,
> Ivailo wrote:
>> Hello,
>>
>> the default prefix for alsa-utils is /usr however the udev rules directory
>> is /lib/udev/rules.d thus on setups with separate partition for /usr the
>> binaries, from /usr/bin and /usr/sbin, will likely not be available during
>> the boot process and the udev rule will fail to restore the state.
> Not true. /lib must be always present at boot even if /usr isn't
> mounted. That's the reason why /lib/udev was chosen as default in the
> past.
>
>
> Takashi
You got me wrong, I know that /lib should be available on early boot
(unless it's a
symlink, like in Arch Linux) but the point is that since the alsa-utils
binaries are
installed in /usr so should be the udev rules otherwise during boot
without /usr
being mounted you will see error message about /usr/sbin/alsactl.
next prev parent reply other threads:[~2013-11-14 9:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-13 20:36 udev rules prefix Ivailo
2013-11-14 2:48 ` David Henningsson
2013-11-14 6:45 ` Takashi Iwai
2013-11-14 12:08 ` Ivailo Monev [this message]
2013-11-14 9:42 ` Takashi Iwai
2013-11-14 13:24 ` Ivailo Monev
2013-11-14 10:51 ` Takashi Iwai
2013-11-14 18:49 ` Ivailo Monev
2013-11-14 16:14 ` Takashi Iwai
2013-11-15 13:16 ` Ivailo Monev
2013-11-15 10:29 ` Takashi Iwai
2013-11-16 14:00 ` Ivailo Monev
2013-11-17 9:07 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5284BD4F.8080205@gmail.com \
--to=xakepa10@gmail.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).