Re: [arch-general] journalctl and I/O errors

2014-02-05 Thread Anatol Pomozov
Hi I agree on both points. On Wed, Feb 5, 2014 at 10:03 PM, Sébastien Leblanc wrote: > Conclusion (as I understand it): > > 1. There is definitely a bug in Journalctl: it crashes (segfaults) on I/O > errors. A few months ago I had a problem with btrfs. I set +C attribute (disable copy-on-write)

Re: [arch-general] How to reboot remotely without hanging ssh session?

2014-02-05 Thread Emil Lundberg
On Thu, Feb 6, 2014 at 5:03 AM, Vincent Schumaker wrote: > I don't see why you can't just run: > > shutdown -r 30 > > Is it so urgent that the system be rebooted 'now?' I agree, why not just use `$ shutdown -r [+1]`? That'll make the command exit cleanly and give you a minute to end the SSH sessi

Re: [arch-general] journalctl and I/O errors

2014-02-05 Thread Sébastien Leblanc
Conclusion (as I understand it): 1. There is definitely a bug in Journalctl: it crashes (segfaults) on I/O errors. 2. You have a drive that is failing, or your BIOS might not be set correctly. This is causing the I/O errors. How large is the drive? You might have to turn off settings such as "SAT

Re: [arch-general] How to reboot remotely without hanging ssh session?

2014-02-05 Thread Delcypher
Although this isn't really solution you could simply terminate the ssh connection after running ``systemctl reboot`` by pressing the escape character ('~' by default) and then '.' (see "ESCAPE CHARACTERS" in ``man ssh``). If you know ssh is going to hang, exiting is just two keystrokes away. I kno

Re: [arch-general] How to reboot remotely without hanging ssh session?

2014-02-05 Thread Fons Adriaensen
On Wed, Feb 05, 2014 at 09:01:09PM +0100, Karol Babioch wrote: > Am 05.02.2014 20:19, schrieb David C. Rankin: > > However with systemd, using "systemctl reboot" the ssh session hangs > > until the remote host reboot or a timeout occurs. > > you probably want to follow the following discussion

Re: [arch-general] How to reboot remotely without hanging ssh session?

2014-02-05 Thread Vincent Schumaker
I don't see why you can't just run: shutdown -r 30 Is it so urgent that the system be rebooted 'now?' On Wed, Feb 5, 2014 at 3:01 PM, Karol Babioch wrote: > Hi, > > Am 05.02.2014 20:19, schrieb David C. Rankin: > > However with systemd, using "systemctl reboot" the ssh session hangs > > unt

Re: [arch-general] How to reboot remotely without hanging ssh session?

2014-02-05 Thread Karol Babioch
Hi, Am 05.02.2014 20:19, schrieb David C. Rankin: > However with systemd, using "systemctl reboot" the ssh session hangs > until the remote host reboot or a timeout occurs. you probably want to follow the following discussion(s): - https://bugs.archlinux.org/task/31250 - https://bbs.archlinux.

Re: [arch-general] How to reboot remotely without hanging ssh session?

2014-02-05 Thread Leonid Isaev
On Wed, 05 Feb 2014 13:19:56 -0600 "David C. Rankin" wrote: > Guys, > >I remote administer one arch server and after moving to systemd I haven't > found a way to reboot without hanging the ssh session. Prior to system, we > could simply pass the shutdown command via ssh and the ssh session

[arch-general] How to reboot remotely without hanging ssh session?

2014-02-05 Thread David C. Rankin
Guys, I remote administer one arch server and after moving to systemd I haven't found a way to reboot without hanging the ssh session. Prior to system, we could simply pass the shutdown command via ssh and the ssh session would complete/close before reboot took place: i.e. $ ssh remote.hos

Re: [arch-general] journalctl and I/O errors

2014-02-05 Thread Martti Kühne
On Tue, Feb 4, 2014 at 7:33 AM, Janna Martl wrote: > On Mon, Feb 3, 2014 at 5:48 AM, Martti Kühne wrote: >>Mind sharing the coredump so we could have a look? :) > > Here's a backtrace, in case that helps: > > (gdb) bt full > #0 journal_file_move_to_object (f=f@entry=0x969cbc0, type=type@entry=3,