From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 660AD1380DC for ; Wed, 5 Feb 2014 18:18:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC7F9E0A9F; Wed, 5 Feb 2014 18:17:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 861E8E09F3 for ; Wed, 5 Feb 2014 18:17:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A39AE33F912 for ; Wed, 5 Feb 2014 18:17:57 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.446 X-Spam-Level: X-Spam-Status: No, score=-1.446 tagged_above=-999 required=5.5 tests=[AWL=-0.880, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.564, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vf_eLh9nxsc2 for ; Wed, 5 Feb 2014 18:17:48 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2C08A33F95E for ; Wed, 5 Feb 2014 18:17:45 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WB72J-0002O7-O5 for gentoo-user@gentoo.org; Wed, 05 Feb 2014 19:17:24 +0100 Received: from rrcs-71-40-157-251.se.biz.rr.com ([71.40.157.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Feb 2014 19:17:23 +0100 Received: from wireless by rrcs-71-40-157-251.se.biz.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Feb 2014 19:17:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: James Subject: [gentoo-user] Re: module woes Date: Wed, 5 Feb 2014 18:16:59 +0000 (UTC) Message-ID: References: <52F27B97.7060609@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 71.40.157.251 (Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22.1) X-Archives-Salt: bdfd4262-e16e-4f73-9a9d-6aea1f077696 X-Archives-Hash: 33411fdc5cdba5b9815df34819075ea5 Alan McKinnon 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/ 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