[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
This bug was fixed in the package nano - 2.4.2-1ubuntu0.1 --- nano (2.4.2-1ubuntu0.1) wily; urgency=medium * d/p/trim-long-hostname.patch: - Cherry pick upstream fix for a hostname that is longer than expected, fixing crash (LP: #1509081). -- Marc DeslauriersTue, 08 Dec 2015 10:10:10 -0500 ** Changed in: nano (Ubuntu Wily) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Unpacking nano (2.4.2-1ubuntu0.1) over (2.4.2-1) ... Re-enabled locking and now nano doesn't segfault (in default config) on the target machine Tag updated :) Thankyou! ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Hello reedy, or anyone else affected, Accepted nano into wily-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nano/2.4.2-1ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: nano (Ubuntu Wily) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Uploaded same fix to Wily for processing by the SRU team. ** Description changed: + [Impact] + + On systems with a long hostname, nano either segfaults or refuses to + work properly. + + [Test Case] + 1- set a long hostname with "hostname thisisareallyreallyreallylonghostname" + 2- try and edit a file: "nano /etc/hosts" + 3- make sure there is no segfault, or error in nano window: "Couldn't determine host name..." + + [Regression Potential] + + Patch is quite simple an obvious. A regression would mean lock files + wouldn't work properly. + + + + + + Original description: + Description: Ubuntu 15.10 Release: 15.10 nano: - Installed: 2.4.2-1 - Candidate: 2.4.2-1 - Version table: - *** 2.4.2-1 0 - 500 http://mirror.bytemark.co.uk/ubuntu/ wily/main amd64 Packages - 100 /var/lib/dpkg/status + Installed: 2.4.2-1 + Candidate: 2.4.2-1 + Version table: + *** 2.4.2-1 0 + 500 http://mirror.bytemark.co.uk/ubuntu/ wily/main amd64 Packages + 100 /var/lib/dpkg/status - - After upgrading Ubuntu 15.04 to 15.10, when I run nano as root on a file it just segfaults. I'm not having this problem on other 15.04->15.10 upgrades + After upgrading Ubuntu 15.04 to 15.10, when I run nano as root on a file + it just segfaults. I'm not having this problem on other 15.04->15.10 + upgrades strace is https://p.defau.lt/?q7xGwt3HoqB74xTawUUHDA catchsegv is https://p.defau.lt/?0SPQY_bDj6F6j1ZKeToQoA - Under gdb with nano-dbgsym installed, it gives #0 main (argc=2, argv=0x7fffe688) at ../../src/nano.c:2768 - - If I run it as sudo nano filename.txt, it gives an error as below rather than segfaulting + If I run it as sudo nano filename.txt, it gives an error as below rather + than segfaulting [ Couldn't determine hostname for lock file: File name too long ] - Both my user and root have the same locale settings. I've tried regenerating the locales ** Changed in: nano (Ubuntu Wily) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Benno, thanks for the patch! I've uploaded it to xenial, which will be 16.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Any chance we could get it backported to 15.10 too please? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
** Also affects: nano (Ubuntu Wily) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
This bug was fixed in the package nano - 2.4.2-1ubuntu1 --- nano (2.4.2-1ubuntu1) xenial; urgency=medium [ Benno Schulenberg ] * d/p/trim-long-hostname.patch: - Cherry pick upstream fix for a hostname that is longer than expected, fixing crash (LP: #1509081). Can be dropped with 2.4.3. -- Michael TerryMon, 07 Dec 2015 16:28:36 -0500 ** Changed in: nano (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
** Changed in: nano (Ubuntu Wily) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
** Changed in: nano (Ubuntu) Importance: Undecided => High ** Tags added: wily -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Wow, thanks for reply. I've pressed affect link :) And "comment out the "set locking" in your /etc/nanorc file." - had helped me :) Thanks again ! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
> I've got the same error. Then please click at the top of this page that you are affected too. > Could you please provide patch's URL You can find the patch somewhere on the right. But this is the direct URL: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+attachment/4513318/+files /trim-an-overlong-hostname.patch > and how-to install ? No. You will have to google how to get the source, apply the patch, compile, and install. Or wait for Ubuntu to apply the patch and push it out. Or change your hostname to something shorter. Or comment out the "set locking" in your /etc/nanorc file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Hello ! I've got the same error. Could you please provide patch's URL and how-to install ? Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
** Tags added: patch-accepted-upstream -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
** Patch removed: "trims an overlong hostname instead of complaining" https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+attachment/4513012/+files/trim-long-hostname.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
The patch works! Got a little confused by caching of the paths, which was returning /usr/local/bin/nano, but without the qualified path, it was using /bin/nano. Easily fixed What happens next? I noticed your thread over at https://lists.gnu.org/archive/html/nano-devel/2015-11/msg0.html - I guess a patch to their svn, and then something related in debian/ubuntu repo? Then poking someone to get a new package built and distributed? Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Post sent to nano-devel too -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
> The patch works! Thanks for testing. The patch will go into SVN soon, it will be in 2.4.3. But this newer version will not make it into Wily, so some Ubuntu maintainer will have to apply the attached patch to 2.4.2 and release an updated ubuntu version of nano-2.4.2. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Yup, 15.10 seems to. I have never edited the /etc/nanorc file, so I guess it was just updated to the default package maintainers version as per the usual. So the grep gives the obvious output: reedy@ko-kra:~$ grep locking /etc/nanorc set locking reedy@ko-kra:~$ Yeah, I ended up applying the patch by hand. I guess debugging tired (on unfamiliar source code). I should have really noticed what the issue was! Will try the patch again on the source from the 15.10 apt repo Will post the ./configure stuff to nano-devel; that's fine by me. Certainly no config on my part, rather than just installing the necessary packages (libncurses dev packages, dh-autoconf etc) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
> ./configure: line 8316: syntax error near unexpected token `NCURSESW,' > ./configure: line 8316: ` PKG_CHECK_MODULES(NCURSESW, ncursesw,' Oh dear, autoconf stuff. Could you post your ./configure to nano-devel -- this error not directly related to this bug, so let's take it elsewhere. On that list (https://lists.gnu.org/mailman/listinfo/nano- devel) there will be people who understand autoconf. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
> but it is in the /etc/nanorc file Ubuntu sets 'locking' by default? What's the output of 'grep locking /etc/nanorc'? > files.c: In function ‘write_lockfile’: > files.c:149:6: error: label ‘free_and_fail’ used but not defined > goto free_and_fail; Ah. But then applying the patch should have failed. Did you edit the file by hand? Nevermind. See the updated patch for version 2.4.2. (Yes, sorry, SVN is far ahead of 2.4.2 -- there should have been a 2.4.3 two months ago.) ** Patch added: "trims an overlong hostname instead of complaining" https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+attachment/4513318/+files/trim-an-overlong-hostname.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Can you attach a strace of a run of 'nano --ignore' (without a filename)? Is your computer part of some network, does it need to ask the network about its hostname? What is the output of 'env | grep MALLOC'? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Sorry, that was a silly request. What is needed of course is a strace of: 'nano --ignore --locking filename'. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Yay, rabbit holes... Checked out from svn, extra packages installed, run autogen, then ./configure is giving ./configure: line 8316: syntax error near unexpected token `NCURSESW,' ./configure: line 8316: ` PKG_CHECK_MODULES(NCURSESW, ncursesw,' root@ko-kra:~/nano# dpkg -l | grep ncurses ii libncurses5:amd64 5.9+20150516-2ubuntu1 amd64 shared libraries for terminal handling ii libncurses5-dev:amd64 5.9+20150516-2ubuntu1 amd64 developer's libraries for ncurses ii libncursesw5:amd64 5.9+20150516-2ubuntu1 amd64 shared libraries for terminal handling (wide character support) ii libncursesw5-dev:amd64 5.9+20150516-2ubuntu1 amd64 developer's libraries for ncursesw ii mtr-tiny0.85-3 amd64 Full screen ncurses traceroute tool ii ncurses-base5.9+20150516-2ubuntu1 all basic terminal type definitions ii ncurses-bin 5.9+20150516-2ubuntu1 amd64 terminal-related programs and man pages ii ncurses-term5.9+20150516-2ubuntu1 all additional terminal type definitions root@ko-kra:~/nano# -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Neither root, nor my user have a .nanorc file, but it is in the /etc/nanorc file Thought I'd just use `apt-get source nano` on wily, but seems that's a few revisions behind the svn repo, as free_and_fail doesn't seem to be defined (else something else is out of date/out of sync) .deps/files.Tpo -c -o files.o files.c files.c: In function ‘write_lockfile’: files.c:149:6: error: label ‘free_and_fail’ used but not defined goto free_and_fail; ^ Will try getting the svn sources and try that Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
I suggest you to try Long Path Tool. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
How does the long path tool help? It worked before on 15.04 (and before), but broke upgrading to 15.10... It shouldn't segfault! env | grep MALLOC returns nothing nano --ignore works fine... `strace -o nano.txt nano --ignore` is http://p.defau.lt/?ggvjOCTok9EfbnKi_XNNBA My computer is a vm from Bytemark over on their bigv platform https://www.bigv.io/ - I don't think it needs to ask the network about its hostname... How would I even verify this? Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
But yeah, nano --ignore works via sudo or as root -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
`strace -o nano2.txt nano --ignore --locking filename.txt` is http://p.defau.lt/?T04ctRlETH_GkL6kEuqSLA -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
> It worked before on 15.04 (and before), but broke upgrading to 15.10... Well, on 15.04 (nano-2.2.6), nano didn't have any file locking. > env | grep MALLOC returns nothing Good. > nano --ignore works fine... It should, because it ignores the 'set locking' that uou have in your .nanorc. As a temporary measure you can comment out that setting. > My computer is a vm from Bytemark over on their bigv platform Well, when it's a virtual machine, then it's not really a computer. :) And yes, then it's likely that it gets its hostname over the network. But it doesn't matter. If you can compile from source, please try the attached patch. ** Patch added: "trims an overlong hostname instead of complaining" https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+attachment/4513012/+files/trim-long-hostname.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
The attachment "trims an overlong hostname instead of complaining" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
I'm getting this too. When I tried to nano my ~/bashrc file (just as me, not as root), the first two times it segfaulted. The third (and any later) times, now it displays "Couldn't determine hostname for lock file: File name too long" for ANY file I try to open or create. Upgraded from Ubuntu 15.04 to 15.10 two days ago. Attached is the crash log that apport created when nano segmentation faulted the first two times. ** Attachment added: "crash log" https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+attachment/4506693/+files/_bin_nano.1000.crash -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
I forgot to mention, now I get "Couldn't determine hostname for lock file: File name too long" when I try to run nano as both me AND root. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1509081] Re: nano segfaults as root after upgrade to 15.10
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: nano (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509081 Title: nano segfaults as root after upgrade to 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1509081/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs