ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Ildar Mulyukov <ildar@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] [FAQ] systemd vs dbus restart (Re: Падение DE при обновлении dbus)
Date: Fri, 03 Aug 2012 16:45:24 +0600
Message-ID: <1343990724.24887.12@ildar.innovations.kz> (raw)

Рву нить.

On 03.07.2012 16:35:51, Mikhail Efremov wrote:
> Если теперь он опять перезапускается при обновлении, то да, много кто
> это не переживает. Именно поэтому messagebus у нас не рестартовал  
> после
> обновления.

Действительно, рестарт dbus убивает иксы со всем, что в них.
Но, как оказалось, это ещё не всё!

У меня ещё перестаёт нормально работать systemd:
> # systemctl restart dnsmasq.service
> Job failed. See system journal and 'systemctl status' for details.
> # systemctl status dnsmasq.service
> dnsmasq.service - SYSV: This script starts your DNS caching server
> 	  Loaded: loaded (/etc/rc.d/init.d/dnsmasq)
> 	  Active: failed (Result: resources) since Thu, 02 Aug 2012  
> 15:13:50 +0600; 3s ago
> 	 Process: 15110 ExecStart=/etc/rc.d/init.d/dnsmasq start  
> (code=killed, signal=PIPE)
> 	Main PID: 28813 (code=exited, status=0/SUCCESS)
> 	  CGroup: name=systemd:/system/dnsmasq.service

При том, что вручную /etc/rc.d/init.d/dnsmasq restart вполне себе  
успешен.
Оказалось, что виновен тут systemd-journald.service !
> # systemctl status systemd-journald.service
> systemd-journald.service - Journal Service
> 	  Loaded: loaded (/lib/systemd/system/systemd-journald.service;  
> static)
> 	  Active: active (running) since Fri, 06 Jul 2012 05:17:55  
> +0600; 3 weeks and 6 days ago
> 	    Docs: man:systemd-journald.service(8)
> 	          man:journald.conf(5)
> 	Main PID: 1171 (systemd-journal)
> 	  Status: "Processing requests..."
> 	  CGroup: name=systemd:/system/systemd-journald.service
> 		  └ 1171 /lib/systemd/systemd-journald
> 
> Warning: Journal has been rotated since unit was started. Log output  
> is incomplete or unavailable.
> # systemctl status systemd-journald.socket
> systemd-journald.socket - Journal Socket
> 	  Loaded: loaded (/lib/systemd/system/systemd-journald.socket;  
> static)
> 	  Active: active (running) since Fri, 06 Jul 2012 05:17:55  
> +0600; 3 weeks and 6 days ago
> 	    Docs: man:systemd-journald.service(8)
> 	          man:journald.conf(5)
> 	  CGroup: name=systemd:/system/systemd-journald.socket
> 
> Warning: Journal has been rotated since unit was started. Log output  
> is incomplete or unavailable.

РЕШЕНИЕ такое:

# systemctl restart systemd-journald.service

После чего всё нормально работает!
В общую копилку с уважением,
-- 
Ildar Mulyukov,
   free SW designer/programmer/packager
======================================
email: ildar@altlinux.ru
Jabber: ildar.mulyukov@gmail.com
ICQ: 4334029
ALT Linux http://packages.altlinux.org/ru/Sisyphus/maintainers/ildar/
======================================

                 reply	other threads:[~2012-08-03 10:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1343990724.24887.12@ildar.innovations.kz \
    --to=ildar@altlinux.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git