From: James <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: module woes
Date: Wed, 5 Feb 2014 18:16:59 +0000 (UTC) [thread overview]
Message-ID: <loom.20140205T190927-891@post.gmane.org> (raw)
In-Reply-To: 52F27B97.7060609@gmail.com
Alan McKinnon <alan.mckinnon <at> gmail.com> writes:
> > What did I miss, besides the permissions?
> Do you have some MAC system like SELinux configured?
NO. It this openbox system I've been hacking on.....
> Necessary
> filesystems like /proc or /dev omitted in that problematic kernel?
fstab (dirt simple):
/dev/sda1 /boot ext2 defaults,noatime 0 2
/dev/sda2 none swap sw 0 0
/dev/sda3 / ext4 defaults,noatime 0 1
/dev/sda4 /usr/local ext4 defaults,noatime 0 1
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
none /proc proc defaults 0 0
> I can't think of anything else that could interfere with root's ability
> to do what root does.
OK, the 3 /lib/module/<kernel> dir permissions have me stumped
as to why/how they could get different perms:
drwxr-xr-x 4 root root 4.0K Jan 16 16:13 3.10.25-gentoo
drwxr-xr-x 3 root root 4.0K Jan 28 14:52 3.13.0-gentoo-r1
drwx------ 3 root root 4.0K Feb 4 09:17 3.13.1-gentoo
chmod 755 3.13.1-gentoo (that's fixed)
cd 3.13.1-gentoo/
lrwxrwxrwx 1 root root 28 Feb 2 04:37 build -> /usr/src/linux-3.13.1-gentoo
drwx------ 4 root root 4.0K Feb 4 09:17 kernel
-rw------- 1 root root 34K Feb 4 09:17 modules.alias
-rw------- 1 root root 28K Feb 4 09:17 modules.alias.bin
-rw------- 1 root root 11K Feb 4 09:17 modules.builtin
-rw------- 1 root root 14K Feb 4 09:17 modules.builtin.bin
-rw------- 1 root root 1.1K Feb 4 09:17 modules.dep
-rw------- 1 root root 1.9K Feb 4 09:17 modules.dep.bin
-rw------- 1 root root 52 Feb 4 09:17 modules.devname
-rw------- 1 root root 577 Feb 4 09:17 modules.order
-rw------- 1 root root 131 Feb 4 09:17 modules.softdep
-rw------- 1 root root 16K Feb 4 09:17 modules.symbols
-rw------- 1 root root 19K Feb 4 09:17 modules.symbols.bin
lrwxrwxrwx 1 root root 28 Feb 4 09:17 source -> /usr/src/linux-3.13.1-gentoo
chmod 644 ./mod* (now that's fixed.........
lrwxrwxrwx 1 root root 28 Feb 2 04:37 build -> /usr/src/linux-3.13.1-gentoo
drwx------ 4 root root 4.0K Feb 4 09:17 kernel
-rw-r--r-- 1 root root 34K Feb 4 09:17 modules.alias
-rw-r--r-- 1 root root 28K Feb 4 09:17 modules.alias.bin
-rw-r--r-- 1 root root 11K Feb 4 09:17 modules.builtin
-rw-r--r-- 1 root root 14K Feb 4 09:17 modules.builtin.bin
-rw-r--r-- 1 root root 1.1K Feb 4 09:17 modules.dep
-rw-r--r-- 1 root root 1.9K Feb 4 09:17 modules.dep.bin
-rw-r--r-- 1 root root 52 Feb 4 09:17 modules.devname
-rw-r--r-- 1 root root 577 Feb 4 09:17 modules.order
-rw-r--r-- 1 root root 131 Feb 4 09:17 modules.softdep
-rw-r--r-- 1 root root 16K Feb 4 09:17 modules.symbols
-rw-r--r-- 1 root root 19K Feb 4 09:17 modules.symbols.bin
lrwxrwxrwx 1 root root 28 Feb 4 09:17 source -> /usr/src/linux-3.13.1-gentoo
and viola, still the problem exists. All and I can think of
is something in how the kernels are build (grub2)...?
I even pulled the make oldconfig script redid every thing and
I have the same problem.
I'm scratcing my head on this, as google offers little useful, that
I can find...........
???
James
next prev parent reply other threads:[~2014-02-05 18:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-05 16:50 [gentoo-user] module woes James
2014-02-05 17:57 ` Alan McKinnon
2014-02-05 18:16 ` James [this message]
2014-02-05 18:28 ` [gentoo-user] " James
2014-02-05 19:12 ` Alan McKinnon
2014-02-06 16:08 ` James
2014-02-06 19:17 ` Alan McKinnon
2014-02-07 8:27 ` Mick
2014-02-07 13:15 ` William Kenworthy
2014-02-10 14:51 ` James
2014-02-10 14:53 ` James
2014-02-07 22:04 ` walt
2014-02-10 14:55 ` James
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=loom.20140205T190927-891@post.gmane.org \
--to=wireless@tampabay.rr.com \
--cc=gentoo-user@lists.gentoo.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