NFSv4 not enabled in JeOS

Bug #224138 reported by Mike on 2008-04-29
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Invalid
Undecided
Unassigned
linux (Ubuntu)
Medium
Tim Gardner
Hardy
Undecided
Stefan Bader

Bug Description

The JeOS kernel doesn't appear to be compiled with support for NFSv4, although NFS3 works fine.

Symptoms:

# mount.nfs4 debian.local:/music /home/music
mount.nfs4: No such device

mount.nfs debian.local:/export/music /home/music
(succeeds)

and also nfs4 is missing from /proc/filesystems

I realise there are aspects which need to be sacrificed for the sake of a smaller kernel with JeOS, but I'd argue the NFSv4 is "the way forward" for NFS and should be supported, as like IPv6 and iSCSI it's an important aspect for a virtual server.

Dan Delaney (dan-launchpad) wrote :

JeOS 8.04-1 was released last week and I see that this issue has not been address. Nor has anyone even commented here to say it is acknowledged and being looked into.

Is anyone looking into this issue? This seems like a big mistake when the kernel for JeOS was configured. As the OP said, users need to be able to switch to NFSv4 for many reasons. Leaving this out of JeOS is a mistake.

--Dan

Dan Delaney (dan-launchpad) wrote :

I just used GIT to download the latest Ubuntu Kernel -- 2.6.24-20 -- and sure enough, the config.virtual file contains the following:

# CONFIG_NFS_V4 is not set

Can someone please take two minutes to fix this so that we don't have to recompile the kernel ourselves just to use what should already be there to begin with?

And if not, can someone please at least explain the rationale for this? Why would NFSv4 be disables for the JeOS edition?

Thanks
--Dan

Zack (zack-gilburd) wrote :

This also affects 8.10. Is this a WONTFIX? Seems like NFSv4 should most certainly be included. Perhaps just an oversight?

Mike (mike32767) wrote :

Actually it is working for me in 8.10 - /proc/filesystems lists nfs4, and I can successfully mount an NFS4 export. Kernel is "2.6.27-9-server".

Mike B: This bug is about the *-virtual kernel, not the server kernel.

Tim Gardner (timg-tpi) wrote :

Assigning to correct package

Changed in ubuntu-jeos:
assignee: nobody → timg-tpi
status: New → In Progress
Tim Gardner (timg-tpi) wrote :

SRU Justification

Impact: The Ubuntu JeOS kernel cannot attach to NFS V4 servers
Patch description: Enable CONFIG_NFSD_V4=y in -virtual flavour
Patch: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=7b1fedfc152b99ccebfcaf9134dc168124a18238

Test Case: see bug description

Changed in linux:
assignee: timg-tpi → nobody
status: In Progress → Invalid
assignee: nobody → timg-tpi
importance: Undecided → Medium
milestone: none → ubuntu-8.04.2
status: New → Fix Committed
Stefan Bader (smb) on 2009-01-13
Changed in linux:
milestone: ubuntu-8.04.2 → ubuntu-8.04.3
Tim Gardner (timg-tpi) on 2009-01-13
Changed in linux:
assignee: nobody → stefan-bader-canonical
status: New → In Progress
Steve Langasek (vorlon) on 2009-01-23
Changed in linux:
milestone: ubuntu-8.04.3 → none
Steve Langasek (vorlon) wrote :

Accepted into hardy-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in linux:
status: In Progress → Fix Committed
Steve Beattie (sbeattie) wrote :

I can confirm that the latest update kernel in hardy-updates used in JeOS, linux--image-virtual 2.6.24-23.48, does not have NFSV4 enabled in its config, and that the linux-image-virtual package in hardy-proposed, 2.6.24-23.49, has the option enabled.

Steve Beattie (sbeattie) wrote :

This is also addressed in jaunty and intrepid, where the -virtual kernel shares the same configuration as the -server kernel, which has NFSV4 enabled.

Changed in linux:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :
Download full text (5.1 KiB)

This bug was fixed in the package linux - 2.6.24-24.53

---------------
linux (2.6.24-24.53) hardy-proposed; urgency=low

  [Stefan Bader]

  * Rebuild of 2.6.24-24.51 with 2.6.24-23.52 security patches applied.

linux (2.6.24-24.51) hardy-proposed; urgency=low

  [Alessio Igor Bogani]

  * rt: Updated PREEMPT_RT support to rt27
    - LP: #324275

  [Steve Beattie]

  * fix apparmor memory leak on deleted file ops
    - LP: #329489

  [Upstream Kernel Changes]

  * KVM: MMU: Add locking around kvm_mmu_slot_remove_write_access()
    - LP: #335097, #333409
  * serial: 8250: fix shared interrupts issues with SMP and RT kernels
    - LP: #280821
  * 8250.c: port.lock is irq-safe
    - LP: #280821
  * ACPI: Clear WAK_STS on resume
    - LP: #251338

linux (2.6.24-24.50) hardy-proposed; urgency=low

  [Alok Kataria]

  * x86: add X86_FEATURE_HYPERVISOR feature bit
    - LP: #319945
  * x86: add a synthetic TSC_RELIABLE feature bit
    - LP: #319945
  * x86: vmware: look for DMI string in the product serial key
    - LP: #319945
  * x86: Hypervisor detection and get tsc_freq from hypervisor
    - LP: #319945
  * x86: Use the synthetic TSC_RELIABLE bit to workaround virtualization
    anomalies.
    - LP: #319945
  * x86: Skip verification by the watchdog for TSC clocksource.
    - LP: #319945
  * x86: Mark TSC synchronized on VMware.
    - LP: #319945

  [Colin Ian King]

  * SAUCE: Bluetooth USB: fix kernel panic during suspend while streaming
    audio to bluetooth headset
    - LP: #331106

  [James Troup]

  * XEN: Enable architecture specific get_unmapped_area_topdown
    - LP: #237724

  [Stefan Bader]

  * Xen: Fix FTBS after Vmware TSC updates.
    - LP: #319945

  [Upstream Kernel Changes]

  * r8169: fix RxMissed register access
    - LP: #324760
  * r8169: Tx performance tweak helper
    - LP: #326891
  * r8169: use pci_find_capability for the PCI-E features
    - LP: #326891
  * r8169: add 8168/8101 registers description
    - LP: #326891
  * r8169: add hw start helpers for the 8168 and the 8101
    - LP: #326891
  * r8169: additional 8101 and 8102 support
    - LP: #326891
  * Fix memory corruption in console selection
    - LP: #329007

linux (2.6.24-23.52) hardy-security; urgency=low

  [Stefan Bader]
  * rt: Fix FTBS caused by shm changes
    - CVE-2009-0859

  [Steve Beattie]

  * fix apparmor memory leak on deleted file ops
    - LP: #329489

  [Upstream Kernel Changes]

  * NFS: Remove the buggy lock-if-signalled case from do_setlk()
    - CVE-2008-4307
  * sctp: Avoid memory overflow while FWD-TSN chunk is received with bad
    stream ID
    - CVE-2009-0065
  * net: 4 bytes kernel memory disclosure in SO_BSDCOMPAT gsopt try #2
    - CVE-2009-0676
  * sparc: Fix mremap address range validation.
    - CVE-2008-6107
  * copy_process: fix CLONE_PARENT && parent_exec_id interaction
    - CVE-2009-0028
  * security: introduce missing kfree
    - CVE-2009-0031
  * eCryptfs: check readlink result was not an error before using it
    - CVE-2009-0269
  * dell_rbu: use scnprintf() instead of less secure sprintf()
    - CVE-2009-0322
  * drivers/net/skfp: if !capable(CAP_NET_ADMIN): inverted logic
    - CVE-2009-0675
  * Ext4: Fix online res...

Read more...

Changed in linux (Ubuntu Hardy):
status: Fix Committed → Fix Released
Alvin (alvind) wrote :

NFS is gone again in Karmic (linux-image-virtual2.6.31.14.27)

Alvin wrote:
> NFS is gone again in Karmic (linux-image-virtual2.6.31.14.27)
>
The virtual package was missing quite a few modules on i386. Please have a look at -15
which is currently in proposed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers