(g)libc6 2.13 (ReadyNAS OS 4 x86 only)

glibc_logo

Since some folks with ReadyNAS OS 4 systems seem to have problems with recent updates for software packages they use on their ReadyNAS (specifically CrashPlan) I decided to unbundle my version of the GNU C Library (aka glibc or libc6) from the Dropbox add-on and make it available as a separate free download.

Before installing please note the following things:

  • Libc6/Glibc is an integral part of your ReadyNAS, so replacing it is potentially dangerous
  • During installation several services on the ReadyNAS will be restarted, including Samba. This means existing connections to shares on the ReadyNAS may be lost and need to be reestablished.
  • During testing the version distributed here I found some utilities that needed to be updated as well. Those I know of are included in the add-on package. But those are the ones I know of and there’s no guarantee that others aren’t affected as well.  If you find a program on your NAS that is not working properly after installing the add-on, let me know and I’ll try to fix it.
  • Also included is an i686 optimized version of the library that should give you a small performance boost in the lower 1 digit percent range.
  • A reboot is not necessary after the installation of this add-on. However, I personally would recommend to restart your ReadyNAS after installation to make sure all programs and daemons are using the new version.
  • This is a “fire & forget” type of add-on which means that it will not show up in the list of installed add-ons. You can test for a successful install using the command “dpkg -l | grep libc6” on an SSH command line.

Ok, enough scare for now. I have Glibc 2.13 running on my ReadyNAS boxes for more than a year now and have yet to encounter a problem. So go grab it and have fun.

Comments

  1. fastfwd says:

    Thanks!

  2. Ben Smith says:

    Thank you *so* much! Been scratching my head on this for a few weeks now, it was exactly this issue. All better now with your Glibc 2.13!

  3. John King says:

    Brilliant! Just what I needed. Thanks heaps.

  4. John Renko says:

    Totally thrilled that I found this. CP stopped working 19 days ago and I was searching for a way to patch glibc. *Thanks* for making this available!

  5. Stephan Thomas says:

    Hi everyone !

    I was using a PCTV DVB S2 Stick (461e) on my R6/Ultra 6 Plus together with DVBLink-Server OS4 (x86) all the time.

    Now changed to OS6 (RN716) and Version 6.4.1, looks like the USB-Stick is not recognized any longer…even after I paid money for the newer version of DVBLink-Server ..any chance to get it functional again!?

    Any help or recommendation would be highly appreciated…

    @ whocares: Maybe you can provide some help (with your Kernel Modules) !?

    Kind regards,

    Stephan

    • Building the kernel modules for 6.4.1 has been made harder by NETGEAR by adding a custom module to the kernel. Right now this prevents me from successfully building a working kernel in a VM that I could use for building the LinuxTV modules. Working on it as I type but this may take a little while.

  6. Thank You says:

    Thank you!

  7. Maury Markowitz says:

    I’d like to talk to you about something only indirectly related to ReadyNAS, it has to do with a device driver issue it appears you have attacked. I cannot find an email for you anywhere. Would you mind dropping me a ping? I promise this will not take more than a few moments of your time.

  8. Swoosh says:

    Wow, thank you so very much!!

    CrashPlan support reps should be directing people here, rather than giving each ticket this caused a can “don’t care” response.

  9. Christoph says:

    Thanks for this. However, the update does not install on my ReadyNAS Ultra 2 with RAIDiator 4.2.28. After uploading the file to the server it is confirmed to be a valid update file. But when I click install and wait a while, I get an error message “Update file not found. Please select the update file again.” I have done so multiple times as well as rebooted the device.
    Any advice?
    Christoph

    • Sounds like the partition with the OS is (almost) full. Best thing would be to SSH into your ReadyNAS command line and check the free space.

  10. June says:

    Thank you so much for this! I’ve installed it and it works like charm! It’s smart people like you who makes the internet a better place!

  11. Danny Kellett says:

    Thank you

  12. Søren Friis says:

    Brilliant. Thanks a million.

  13. Bob Andres says:

    This update uploads and verifies by won’t install on my ReadyNAS pro running 4.2.28.
    Logs say
    Feb 5 23:00:14 ReadyNAS RAIDiator: The Glibc6 add-on encountered an error during installation.
    “Feb 5 23:02:34 ReadyNAS RAIDiator: nic.agent: “/etc/frontview/addons/bin/GLIBC6/start.sh” failed to start.”

    When I look at that location there is no /etc/frontview/addons/bin/GLIBC6/ directory, but there is a “GLIBC6.remove” file in /etc/frontview/addons/bin/

    There is plenty of space on the c: drive.

    any ideas?

    Thanks,
    Bob

  14. Actually, the add-on should be installed on your ReadyNAS just fine. You can verify by running “dpkg -l | grep libc.*2.13” which should produce a listing similar to this:

    ii libc-bin 2.13-38+deb7u8.0 i386 Embedded GNU C Library: Binaries
    ii libc-dev-bin 2.13-38+deb7u8.0 i386 Embedded GNU C Library: Development binaries
    ii libc6:i386 2.13-38+deb7u8.0 i386 Embedded GNU C Library: Shared libraries
    ii libc6-amd64 2.13-38+deb7u8.0 i386 Embedded GNU C Library: 64bit Shared libraries for AMD64
    ii libc6-dev:i386 2.13-38+deb7u8.0 i386 Embedded GNU C Library: Development Libraries and Header Files
    ii libc6-dev-amd64 2.13-38+deb7u8.0 i386 Embedded GNU C Library: 64bit Development Libraries for AMD64
    ii libc6-i686:i386 2.13-38+deb7u8.0 i386 Embedded GNU C Library: Shared libraries [i686 optimized]

    Since it is an “always-on” add-on, it won’t show in the list of installed add-ons. Thats also why there is no start.sh at the given location, simply because there’s nothing to start with this add-on. The error is caused by the installer on the ReadyNAS that is trying to run the script nevertheless and obviously fails.

    So in short: If you can verify that the add-on is installed as outlined above there’s no need for further action and everything should be fine.

    -Stefan

    • Bob Andres says:

      Thanks for the prompt response.
      Unfortunately, I get this:

      ReadyNAS:/etc/frontview/addons/bin# dpkg -l | grep libc.*2.13
      dpkg-query: parse error, in file `/var/lib/dpkg/status’ near line 7228 package `libtool’:
      EOF after field name `Stat’

      and

      ReadyNAS:/etc/frontview/addons/bin# ldd –version
      ldd (GNU libc) 2.7
      Copyright (C) 2007 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions. There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      Written by Roland McGrath and Ulrich Drepper.

      • Bob Andres says:

        Looks like i had a corrupt status file. Backed it up and replaced with “status-old”, tried the update again and it installed without error.

        Hopefully Crashplan will be back now.

  15. Colin Rafferty says:

    This is great! You are the best. My ReadyNAS Ultra 4 Plus is backing up to CrashPlan again.