Displaying 20 results from an estimated 120 matches similar to: "[PATCH] nfsmount: free rem_name on errors"
2008 Jun 05
2
RESEND [PATCH][BUGFIX] Fix termination of the spoofing portmapper
Hi,
I'm resending since I got no feedback: I assume that the message was lost...
The attached patch fixes a few bugs related to the spoofing portmapper used
by nfsmount.
Regards,
Louis
--
Dr Louis Rilling Kerlabs
Skype: louis.rilling Batiment Germanium
Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de Coesmes
http://www.kerlabs.com/ 35700 Rennes
-------------- next part
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about.
The goal is not to be 100% checkpatch compliant,
but to have more consistent coding style.
As this is a trivial patch serie, will land in 24 hours in klibc git,
unless of course ml review hits a bugger.
Checked with size(3) that the generated kinit, fstype, ipconfig and
nfsmount are the same.
maximilian attems (4):
[klibc] ipconfig: reduce
2012 Jun 28
0
[klibc:master] nfsmount: Fix wrong NFS umount path
Commit-ID: 029622dfbfe25203275a385a5bf33d44c2409b00
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=029622dfbfe25203275a385a5bf33d44c2409b00
Author: Benjamin Cama <benjamin.cama at telecom-bretagne.eu>
AuthorDate: Fri, 22 Jun 2012 12:17:01 +0200
Committer: maximilian attems <max at stro.at>
CommitDate: Thu, 28 Jun 2012 17:23:14 +0200
[klibc] nfsmount: Fix
2012 Jan 11
1
[PATCH] nfsmount: defeat dummypmap compiler warning
Without this patch gcc 4.6 warns:
KLIBCCC usr/kinit/nfsmount/dummypmap.o
usr/kinit/nfsmount/dummypmap.c: In function 'dummy_portmap':
usr/kinit/nfsmount/dummypmap.c:191:13: warning: array subscript is below array bounds [-Warray-bounds]
Signed-off-by: Greg Thelen <gthelen at google.com>
---
usr/kinit/nfsmount/dummypmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
2006 May 12
1
nfsmount inside kinit
Hey all, bug report time. I started tracking this down, but am at a
bit of a loss for time, so I figured I'd report over this list to see
if anyone else has the time to fix this or at least find the error.
When calling nfsmount on it's own, say "nfsmount 1.2.3.4:/home/nfs
/root" it works just fine, however, when calling nfsmount_main from
within kinit (via nfsroot=), things get
2010 Feb 23
0
[PATCH 1/3] nfsmount.h: Add missing definitions.
linux-2.6 2ad780978b7c0c3e7877949f098cbd06e7c73839 cleaned up
linux/nfsmount.h and thus a klibc build would produce this:
> usr/kinit/nfsmount/mount.c:179: error: 'MNTPROC_MNT' undeclared (first use in this function)
> usr/kinit/nfsmount/mount.c:179: error: (Each undeclared identifier is reported only once
> usr/kinit/nfsmount/mount.c:179: error: for each function it appears
2012 Jun 22
1
[PATCH] Fix wrong NFS umount path
Hi,
When mounting a NFS share and an error occurs for some reason, the NFS
share is not unmounted correctly: the local path is used instead of the
remote path in the umount_v[23]() call. This patch fixes this.
I found this while debugging some problems mounting the root file system
on NFS in a test system; I saw this in the logs (/mnt/duplicated is the
legitimate remote path):
Jun 21
2011 Jun 14
0
klibc 1.5.23 release
This release features a dash sync to latest dash git (We continue in the
tradition of providing the freshest dash), porter fixes for arm Debian and
ppc64 Ubuntu. To the utils got added a minimal mv, so that /run initramfs
content can be moved to the real rootfs.
The shortlog is dominated by dash commits, plus usual minimal fixes.
git repository:
git://git.kernel.org/pub/scm/libs/klibc/klibc.git
2005 Jan 05
1
[PATCH] kinit/nfsmount.c path from bootp
kinit/nfsmount.c:mount_nfs_root() should use the bootpath specified by
bootp/dhcp. If the "nfsroot" option is specified then it overrides the
boot server bootpath and a message indicating the override is printed.
--- klibc-0.194/kinit/nfsroot.c.orig 2005-01-05 04:13:47.043897880 -0700
+++ klibc-0.194/kinit/nfsroot.c 2005-01-05 04:13:09.316633296 -0700
@@ -66,34 +66,21 @@
const int
2011 May 31
6
[PATCH 1/4] febootstrap: Look for insmod.static, mke2fs in /sbin
---
configure.ac | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index da03c9f..7606bca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,7 +68,8 @@ dnl For ArchLinux handler.
AC_CHECK_PROG(PACMAN,[pacman],[pacman],[no])
dnl Required programs, libraries.
-AC_PATH_PROG([INSMODSTATIC],[insmod.static],[no])
2011 Jun 14
0
[PATCH] ipconfig: do_pkt_recv() refix ret initialisation
fix:
usr/kinit/ipconfig/main.c: In function ?ipconfig_main?:
usr/kinit/ipconfig/main.c:350:7: warning: ?ret? may be used uninitialized in this function [-Wuninitialized]
usr/kinit/ipconfig/main.c:346:6: note: ?ret? was declared here
I think the initialisation change in 6df362216a2e5beb4f29feafeabc630034a76914
was unintentional.
Cc: Ulrich Dangel <uli at spamt.net>
Signed-off-by:
2011 Jun 11
0
[PATCH] utils add minimal mv
mv is needed these days in initramfs.
One needs to move all the data of initramfs /run to the real rootfs.
This minimal mv utiliy originates from the existing ln.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/utils/Kbuild | 4 ++-
usr/utils/mv.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+), 1 deletions(-)
create mode
2020 Nov 09
4
[[PATCH v1 0/3] Fix clang build warnings
New clangs emit some warnings. The code isn't wrong, but should be updated to
prevent warning creep.
Bill Wendling (3):
[klibc] dash: shell: Fix clang warnings
[klibc] dash: shell: Fix clang warnings about format string
[klibc] Kbuild: use an enum to silence a clang warning
usr/dash/eval.c | 6 +++---
usr/dash/jobs.c | 2 +-
usr/kinit/nfsmount/dummypmap.c
2011 Jun 04
3
[PATCH 1/3] febootstrap/helper/init: make sure /proc is mounted into chroot.
---
helper/init.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/helper/init.c b/helper/init.c
index 0ca3135..2b5dacf 100644
--- a/helper/init.c
+++ b/helper/init.c
@@ -163,8 +163,10 @@ main ()
chdir ("/");
- /* Run /init from ext2 filesystem. */
+ mount_proc ();
print_uptime ();
+
+ /* Run /init from ext2 filesystem. */
execl
2004 Jun 17
0
portmap spoofing in nfsmount
Hi all,
I have implemented portmap spoofing in klibc nfsmount (released as
klibc-0.144) This is basically a vestigial portmap daemon which gets
launched before the mount() call and then just records any transactions
it gets to a file and sends back an affirmative reply.
There are two ways to use it (this belongs in a README file, but it's
too late at night right now):
a) Set a fixed
2010 Feb 23
0
[PATCH 2/3] nfsmount: s/PF_INET/AF_INET/
use AF_INET directly.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/kinit/nfsmount/dummypmap.c | 2 +-
usr/kinit/nfsmount/mount.c | 4 ++--
usr/kinit/nfsmount/sunrpc.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/usr/kinit/nfsmount/dummypmap.c b/usr/kinit/nfsmount/dummypmap.c
index 43abe37..481e23b 100644
---
2006 May 06
1
NFSv4 support in nfsmount
Hi everybody and thanks to those persons who make klibc being possible.
I am booting a lessdisks system from a server. I have got it in NFSv3 but I
would like use the features of NFSv4. I am using initramfs-tools so I have
in my initrd.img the utility nfsmount wich make possible booting in NFSv3. I
would like know if exists some version of nfsmount or some patch or, if does
not, some program (a
2005 Jun 05
0
fancy dump_fs for nfsmount
The dump_fh() function in nfsmount can be misleading: always
mentions NFS_FHSIZE as size, but can print more,
can print nothing if passed less than 8 bytes.
This is a more robust implementation also suitable
for printing datastructures other than the file handle,
with ASCII rendering as bonus; output like so:
stuff: 0xbfffe41c, length 30
0000: 53 75 6e 20 4a 75 6e 20 20 35 20 31 34 3a 31 32
2003 Nov 22
0
[PATCH] bug in nfsmount/main.c parse_int()
I'm booting with nfs options, but klibc doesnt like the rsize= option.
This patch fixes it.
console=ttyS0,38400 rw ip=eth0 root=/dev/nfs nfsroot=192.168.1.2:/nfsroot/mac,rsize=8192,wsize=8192,tcp kinit=/bin/kinit
--- usr/klibc/klibc-0.81.orig/nfsmount/main.c 2003-05-06 00:15:09.000000000 +0200
+++ usr/klibc/klibc-0.81/nfsmount/main.c 2003-11-22 19:14:18.000000000 +0100
@@ -80,7
2006 Sep 03
0
Problems using nfsmount
Hi everybody
I'm booting a diskless workstation using nfsmount (included in the initial
ramdisk). First time I try to boot the diskless node, it says this error:
"nfs: server 192.168.1.33 not responding, timed out
nfs: server 192.168.1.33 not responding, timed out
mount: I/O error
short read: 0 < 28"
althought in the /var/log/syslog file of the server appears the message: