Forum
[PROBLEM] "xbian-config reboot" in auth.log every 5 minutes - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Kodi (/forum-18.html)
+--- Thread: [PROBLEM] "xbian-config reboot" in auth.log every 5 minutes (/thread-2703.html)



"xbian-config reboot" in auth.log every 5 minutes - gelhack - 7th Feb, 2015 04:06 AM

Software
/etc/xbian_version: 20150114-2
XBMC/Kodi version: XBMC 13.2 Git:20140901-867305b compiled Dec 14 2014
Overclock settings:

gpu_mem_512=144
gpu_mem_256=100
initial_turbo=1
hdmi_ignore_cec_init=1
disable_overscan=1
disable_splash=1
arm_freq=700
core_freq=250
sdram_freq=400


Hardware
Device type and model Raspberry Pi Model B 512 MB
Power supply rating:
SD card size and make/type: Sony 8gb
Network (Ethernet or wireless): Wired Ethernet
Connected devices: TV & 1TB USB hard drive



Problem description:

Every 5 minutes I am seeing the following in /var/log/auth.log:

Feb 6 11:22:02 xbian sudo: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 6 11:22:02 xbian sudo: pam_unix(sudo:session): session closed for user root
Feb 6 11:27:02 xbian sudo: xbian : TTY=pts/6 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot


There are no corresponding entries in /home/xbian/.xbmc/temp/xbmc.log for these notices and XBMC is
not restarting. Does anyone know what is happening or how to stop this?

How to reproduce:
unknown


Thanks,

George


RE: "xbian-config reboot" in auth.log every 5 minutes - f1vefour - 7th Feb, 2015 09:41 AM

I'm not sure but that may be a check to ensure Kodi is still running.


RE: "xbian-config reboot" in auth.log every 5 minutes - gelhack - 7th Feb, 2015 10:00 AM

I was thinking it had something to do with unattended updates, which BTW I don't want to do...

Thanks,

George


RE: "xbian-config reboot" in auth.log every 5 minutes - Fabio72 - 17th Feb, 2015 11:35 PM

It's happening the same to me

Code:
cat auth.log|grep reboot
Feb 17 11:00:36 xbian sudo:    xbian : TTY=pts/5 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot
Feb 17 11:05:37 xbian sudo:    xbian : TTY=pts/5 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot
Feb 17 11:10:37 xbian sudo:    xbian : TTY=pts/5 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot
Feb 17 11:15:38 xbian sudo:    xbian : TTY=pts/5 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot
Feb 17 12:32:06 xbian sudo:    xbian : TTY=pts/4 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot
Feb 17 12:37:06 xbian sudo:    xbian : TTY=pts/4 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot
Feb 17 12:42:07 xbian sudo:    xbian : TTY=pts/4 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot
Feb 17 12:47:07 xbian sudo:    xbian : TTY=pts/4 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot
Feb 17 14:02:57 xbian sudo:    xbian : TTY=pts/3 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot
Feb 17 14:07:58 xbian sudo:    xbian : TTY=pts/3 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot
Feb 17 14:12:59 xbian sudo:    xbian : TTY=pts/3 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot
Feb 17 14:17:59 xbian sudo:    xbian : TTY=pts/3 ; PWD=/home/xbian ; USER=root ; COMMAND=/usr/local/sbin/xbian-config reboot

But xbian is also switching unattended off and on with a strange regularity since this morning (rebooted after last kernel update)



From the graphic I got this

Code:
09:45    off    
10:45    on    01:00
11:15    off    00:30
12:15    on    01:00
12:45    off    00:30
13:45    on    01:00
14:15    off    00:30

So I guess at 15:15 will be on again...
--

At 15:25 my raspi is on again...
so at 15:55 I presume it will be off

half an our on and an hour off since this morning

--
after half an hour is off again
I cannot find any clue from the logs
http://pastebin.com/PQmAg1iC

rootfs is on nfs so i can check the logs after shutdown


RE: "xbian-config reboot" in auth.log every 5 minutes - Fabio72 - 18th Feb, 2015 12:45 AM

Now I tried previous kernel
apt-get install xbian-package-kernel=3.17.7-ck2+-1421550584
till now uptime 15 m...

Everything is now ok
follows on https://github.com/xbianonpi/xbian/issues/678