Re: make-kpkg: permission denied making modules_image

2003-07-10 Thread martin f krafft
also sprach Manoj Srivastava <[EMAIL PROTECTED]> [2003.07.11.0457 +0200]: > See? Each lndir directory only has files that were patched, or > object files; and the ../linux-2.4.20 is pristine, ready to be > patched up to 2.4.21. I see this, yes. I used to do it exactly the same way, with ha

Re: make-kpkg: permission denied making modules_image

2003-07-10 Thread Manoj Srivastava
On Sun, 6 Jul 2003 09:31:28 +0200, martin f krafft <[EMAIL PROTECTED]> said: > i hope you don't mind me asking a question... also sprach Manoj > Srivastava <[EMAIL PROTECTED]> [2003.07.06.0223 +0200]: >> % sudo echo 'debian := 5:501c' >> /etc/kernel-pkg.conf > what does this line do? I

Re: make-kpkg: permission denied making modules_image

2003-07-06 Thread martin f krafft
i hope you don't mind me asking a question... also sprach Manoj Srivastava <[EMAIL PROTECTED]> [2003.07.06.0223 +0200]: > % sudo echo 'debian := 5:501c' >> /etc/kernel-pkg.conf what does this line do? the reason why i don't like your approach, although i really appreciate you showing it to me, i

Re: make-kpkg: permission denied making modules_image

2003-07-05 Thread Manoj Srivastava
On Tue, 1 Jul 2003 18:25:15 -0400, Kevin McKinley <[EMAIL PROTECTED]> said: > On Tue, 01 Jul 2003 11:43:01 -0500 > Manoj Srivastava <[EMAIL PROTECTED]> wrote: >> > So I am wondering: what am I doing wrong? I *should* be able to >> > compile modules for an existing kernel tree without write privs

Re: make-kpkg: permission denied making modules_image

2003-07-02 Thread martin f krafft
also sprach martin f krafft <[EMAIL PROTECTED]> [2003.07.01.0006 +0200]: > I still don't understand why that would solve the problem. I am giving up. I thought it would be nice if make-kpkg could do some magic to be able to compile modules from /usr/src/modules even if /usr is read-only. Like some

Re: make-kpkg: permission denied making modules_image

2003-07-01 Thread Kevin McKinley
On Tue, 01 Jul 2003 11:43:01 -0500 Manoj Srivastava <[EMAIL PROTECTED]> wrote: > > So I am wondering: what am I doing wrong? I *should* be able to > > compile modules for an existing kernel tree without write privs to > > /usr/src/modules/..., right? > > > Right. > > What is MODULE_

Re: make-kpkg: permission denied making modules_image

2003-07-01 Thread David
On Monday 30 June 2003 05:06 pm, martin f krafft wrote: > also sprach Kevin McKinley <[EMAIL PROTECTED]> [2003.06.30.1548 +0200]: > > When you do "fakeroot make-kpkg ..." make-kpkg itself runs under > > fakeroot, so a root environment is provided whenever necessary, > > instead of "as expected" by

Re: make-kpkg: permission denied making modules_image

2003-07-01 Thread Manoj Srivastava
On Mon, 30 Jun 2003 22:17:58 +0200, martin f krafft <[EMAIL PROTECTED]> said: > also sprach David Z Maze <[EMAIL PROTECTED]> [2003.06.30.2141 +0200]: >> > cp: cannot create regular file >> > `/usr/src/modules/nvidia/debian/control': Permission denied >> >> Right: with the default setup, the u

Re: make-kpkg: permission denied making modules_image

2003-07-01 Thread Manoj Srivastava
On Fri, 27 Jun 2003 18:50:13 +0200, martin f krafft <[EMAIL PROTECTED]> said: > I just configured, then made the kernel_image for a custom 2.4.21 > kernel with a couple of patches: > make-kpkg --append-to-version > -diamond-grsec-1.9.10+freeswan-ext-1.99+preempt-20030617-2 > --revision 200

Re: make-kpkg: permission denied making modules_image

2003-07-01 Thread Kevin McKinley
On Mon, 30 Jun 2003 22:17:58 +0200 martin f krafft <[EMAIL PROTECTED]> wrote: > > Right: with the default setup, the user who runs make-kpkg needs write > > access to /usr/src/modules, or you need to run under sudo. > > what??? this must be a joke? /usr can be mounted read-only! That's not a jok

Re: make-kpkg: permission denied making modules_image

2003-07-01 Thread Kevin McKinley
On 01 Jul 2003 09:57:19 +0200 JG <[EMAIL PROTECTED]> wrote: > Setup: > 1.- Add yourself to the "src" group (/usr/src/ belongs to root.src) > 2.- Check that /usr/src/modules belongs to root.src, and has the sticky > bit on: > > $ls -lsd /usr/src/modules/ >4 drwxrwsr-x2 root src

Re: make-kpkg: permission denied making modules_image

2003-07-01 Thread martin f krafft
Package: kernel-package Version: 8.040 Severity: normal I am filing this as a bug. also sprach martin f krafft <[EMAIL PROTECTED]> [2003.06.30.2217 +0200]: > > fakeroot make-kpkg --options > > How will that help. It is actually trying to create a file under > /usr/src while being called as a non

Re: make-kpkg: permission denied making modules_image

2003-07-01 Thread martin f krafft
also sprach Kevin McKinley <[EMAIL PROTECTED]> [2003.06.30.1548 +0200]: > When you do "fakeroot make-kpkg ..." make-kpkg itself runs under > fakeroot, so a root environment is provided whenever necessary, > instead of "as expected" by make-kpkg's author. I still don't understand why that would so

Re: make-kpkg: permission denied making modules_image

2003-07-01 Thread Kevin McKinley
On Mon, 30 Jun 2003 22:17:58 +0200 martin f krafft <[EMAIL PROTECTED]> wrote: > How are other people doing it? Umm, I'm doing it the way I suggested to you. :) fakeroot make-kpkg ... Works fine for me. Kevin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Tro

Re: make-kpkg: permission denied making modules_image

2003-06-30 Thread martin f krafft
also sprach Kevin McKinley <[EMAIL PROTECTED]> [2003.06.29.2015 +0200]: > Try a different syntax for make-kpkg: > > fakeroot make-kpkg --options How will that help. It is actually trying to create a file under /usr/src while being called as a non-root user. fakeroot won't magically allow that...

Re: make-kpkg: permission denied making modules_image

2003-06-30 Thread Kevin McKinley
On Sun, 29 Jun 2003 17:13:41 -0500 David <[EMAIL PROTECTED]> wrote: > I noticed one oddity myself.. I've just been working with make-kpkg, and > noticed in the output, that when it tried to delete (I think) and > re-install the debian directory, that if I used --rootcmd fakeroot, it > reported

Re: make-kpkg: permission denied making modules_image

2003-06-30 Thread David Z Maze
martin f krafft <[EMAIL PROTECTED]> writes: > Then I tried to compile a module for that kernel: > > make-kpkg --append-to-version > -diamond-grsec-1.9.10+freeswan-ext-1.99+preempt-20030617-2 > --rootcmd fakeroot --added-modules nvidia modules_image Kernel modules' support for 'make-kpkg --r

Re: make-kpkg: permission denied making modules_image

2003-06-30 Thread David
On Friday 27 June 2003 11:50 am, martin f krafft wrote: > I just configured, then made the kernel_image for a custom 2.4.21 > kernel with a couple of patches: > > make-kpkg --append-to-version > -diamond-grsec-1.9.10+freeswan-ext-1.99+preempt-20030617-2 > --revision 20030627.1726 --rootcmd fa

Re: make-kpkg: permission denied making modules_image

2003-06-30 Thread Kevin McKinley
On Fri, 27 Jun 2003 18:50:13 +0200 martin f krafft <[EMAIL PROTECTED]> wrote: > cp: cannot create regular file > `/usr/src/modules/nvidia/debian/control': Permission denied > > which makes perfect sense, because > > diamond:...new/src/linux-2.4.21> id > uid=1000(madduck) gid=100(users) .