Slow systemd-vconsole-setup service at boot (apparently)
Hello,
I am trying to understand the timing of my boot sequence, particularly the systemd part. I have the feeling that systemd-vconsole-setup.service is taking quite a long time for what it is supposed to do, since I get
systemd-analyze blame | head
3.744s systemd-vconsole-setup.service
1.871s accounts-daemon.service
1.425s systemd-logind.service
1.357s alsa-restore.service
1.356s dhcpcd.service
1.256s polkit.service
983ms systemd-binfmt.service
952ms NetworkManager.service
832ms systemd-remount-fs.service
762ms gdm.service
I know that this time may not be a true indicator, so I have modify my systemd-vconsole-setup.service to prefix the command with a "strace" and redirect the output to a file (as indicated there), and here it seems that the process takes at least 1.5s (the output itself is a huge file). However, I could not follow the suggestion any further since we do not have the same output (presumably due to the fact that those are not the same distros).
Could anyone give me an advice to know a little bit more about this service and why it takes that time? Actually, it's more about knowing how the things work rather than optimizing at all cost my boot time.
Thanks!
Guillaume
Last edited by gdlr (2014-05-01 10:04:09)
Hello,
I am trying to understand the timing of my boot sequence, particularly the systemd part. I have the feeling that systemd-vconsole-setup.service is taking quite a long time for what it is supposed to do, since I get
systemd-analyze blame | head
3.744s systemd-vconsole-setup.service
1.871s accounts-daemon.service
1.425s systemd-logind.service
1.357s alsa-restore.service
1.356s dhcpcd.service
1.256s polkit.service
983ms systemd-binfmt.service
952ms NetworkManager.service
832ms systemd-remount-fs.service
762ms gdm.service
I know that this time may not be a true indicator, so I have modify my systemd-vconsole-setup.service to prefix the command with a "strace" and redirect the output to a file (as indicated there), and here it seems that the process takes at least 1.5s (the output itself is a huge file). However, I could not follow the suggestion any further since we do not have the same output (presumably due to the fact that those are not the same distros).
Could anyone give me an advice to know a little bit more about this service and why it takes that time? Actually, it's more about knowing how the things work rather than optimizing at all cost my boot time.
Thanks!
Guillaume
Last edited by gdlr (2014-05-01 10:04:09)
Similar Messages
-
Systemd and systemd-vconsole-setup.service (long time)
Hi,
today I switched to systemd. It's amazing.
I have problem. one of 'service' start very long. Can someone help my figurout how to reduce boot time for: systemd-vconsole-setup.service?
# systemd-analyze blame
4646ms systemd-vconsole-setup.service
927ms dev-hugepages.mount
924ms dev-mqueue.mount
907ms sys-kernel-debug.mount
889ms wicd.service
759ms systemd-udevd.service
705ms systemd-udev-trigger.service
459ms systemd-sysctl.service
306ms systemd-remount-fs.service
296ms ip6tables.service
233ms systemd-logind.service
226ms iptables.service
209ms console-kit-log-system-start.service
181ms var.mount
167ms console-kit-daemon.service
116ms systemd-tmpfiles-setup.service
115ms systemd-readahead-collect.service
99ms home.mount
93ms systemd-user-sessions.service
85ms systemd-readahead-replay.service
18ms boot.mount
4ms tmp.mount
4ms proc-sys-fs-binfmt_misc.mount
# systemd-analyze
Startup finished in 1583ms (kernel) + 2946ms (initramfs) + 12669ms (userspace) = 17200ms
My /etc/vconsole.conf doesn't exist (I don't need it). But nothing change if I create it with proper conent.
Any ideas?
Regards
Last edited by ajes (2012-08-27 20:00:30)@teateawhy I tried your options (de and us) but both makes pretty the same results.
I tried also on my second machine (diffrent hardware, but VGA's in both case are from Intel (MSI Wind U100 and Toshiba Satellite PRO S500-150), but with the same list of packages, and the result are the same. So for me it is hardware independent.
Perhaps I am missing some packages?
Here is my list of 'pacman -Qet':
alsa-utils 1.0.25-3
aspell-pl 20111117-1
autoconf 2.69-1
automake 1.12.3-1
bash-completion 2.0-2
bootchart2-git 20120829-1
calibre 0.8.66-1
cdrdao 1.2.3-6
chromium 21.0.1180.81-2
clamav 0.97.5-2
cups-pdf 2.6.1-1
djview4 4.8-2
dnsutils 9.9.1.P2-1
dosfstools 3.0.12-1
dvd+rw-tools 7.1-4
fakeroot 1.18.4-1
firefox 15.0-1
flashplugin 11.2.202.238-1
fontconfig-infinality 1-20120615
git 1.7.12-1
gnu-netcat 0.7.1-4
google-talkplugin 3.5.1.0-2
gpicview 0.2.3-1
grub-bios 2.00-1
gstreamer0.10-bad-plugins 0.10.23-2
gstreamer0.10-ffmpeg 0.10.13-1
gstreamer0.10-ugly-plugins 0.10.19-2
hdparm 9.39-1
hunspell-pl 20111216-1
hyphen-pl 20060726-1
intel-ucode 20120606-1
iptables 1.4.15-1
iputils 20101006-4
k3b 2.0.2-6
kdegraphics-okular 4.9.0-1
keepass 2.19-1
ktorrent 4.2.1-1
less 444-3
libdvdcss 1.2.12-1
libreoffice-calc 3.5.6-1
libreoffice-extension-languagetool 1.8-2
libreoffice-impress 3.5.6-1
libreoffice-writer 3.5.6-1
libtool 2.4.2-6
lvm2 2.02.97-1
lxappearance-obconf 0.2.0-1
lxde-common 0.5.5-2
lxdm 0.4.1-14
lxinput 0.3.2-2
lxlauncher 0.2.2-1
lxpanel 0.5.10-1
lxrandr 0.1.2-2
lxsession-edit 0.2.0-2
lxshortcut 0.1.2-1
lxtask 0.1.4-3
lxterminal 0.1.11-2
make 3.82-4
man-db 2.6.2-1
man-pages 3.42-1
mc 4.8.4-1
modemmanager 0.5.2.0-4
mtr 0.82-1
mythes-pl 1.5-1
network-manager-applet 0.9.6.2-1
nmap 6.01-2
ntp 4.2.6.p5-11
obconf 2.0.3.git20100309-3
openssh 6.1p1-1
pacbuilder-svn 138-2
patch 2.6.1-3
pcmanfm 1.0-1
pkg-config 0.27.1-1
qnapi 0.1.6_rc2-1
rpmextract 1.0-5
skype 4.0.0.8-1
smartmontools 5.43-1
subtitleeditor 0.40.0-1
sudo 1.8.5.p3-1
systemd-sysvcompat 189-3
ttf-liberation 2.00.0-1
ttf-microsoft-tahoma 5.10-1
ttf-ms-fonts 2.0-9
ttf-ubuntu-font-family 0.80-3
unrar 4.2.4-1
unzip 6.0-6
usb_modeswitch 1.2.4-1
usbutils 006-1
vim 7.3.600-1
virtualbox-ext-oracle 4.1.20-1
vpnc 0.5.3.svn516-3
wget 1.14-1
which 2.20-5
wine 1.5.11-1
wireshark-gtk 1.8.2-1
wvdial 1.61-4
xdotool 2.20110530.1-1
xf86-input-synaptics 1.6.2-1
xf86-video-intel 2.20.5-1
xlockmore 5.40-1
xorg-utils 7.6-8
yaourt-git 20120829-1
zip 3.0-3
and my /etc/makeinitcpio.conf (if it will help):
# grep -v ^# /etc/mkinitcpio.conf
MODULES="ext4 i915 ahci sd_mod"
BINARIES=""
FILES=""
HOOKS="base udev lvm2 autodetect timestamp"
COMPRESSION="xz"
COMPRESSION_OPTIONS="-9" -
[SOLVED]systemd-tmpfiles-setup.service failure
Hi guys,
I just reinstalled arch with the following partitions:
[root@arch_vinnom vinnom]# gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.0
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 625142448 sectors, 298.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): BD3CA679-FA08-4F60-9BAD-B845DE9FF7EB
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 625142414
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 4095 1024.0 KiB EF02 BIOS
2 4096 52432895 25.0 GiB 8300 ROOT
3 52432896 53481471 512.0 MiB 8300 BOOT
4 53481472 74452991 10.0 GiB 8300 TMP
5 74452992 95424511 10.0 GiB 8300 VAR
6 95424512 602935295 242.0 GiB 8300 HOME
7 602935296 625142414 10.6 GiB 8200 SWAP
The problem is that tmpfs is mounted at '/tmp' through '/usr/lib/systemd/system/tmp.mount'
# This file is part of systemd.
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Temporary Directory
Documentation=man:hier(7)
Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
ConditionPathIsSymbolicLink=!/tmp
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount.target
[Mount]
What=tmpfs
Where=/tmp
Type=tmpfs
Options=mode=1777,strictatime
Because of this, I'm always getting:
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Dom 2015-05-03 03:29:58 BRT; 27min ago
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8)
Process: 278 ExecStart=/usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev (code=exited, status=1/FAILURE)
Main PID: 278 (code=exited, status=1/FAILURE)
Then I tried to change '/tmp' to '/run/tmpfs', folder that I created for this, using tmpfs wiki as reference.
# This file is part of systemd.
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Temporary Directory
Documentation=man:hier(7)
Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
ConditionPathIsSymbolicLink=!/run/tmpfs
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount.target
[Mount]
What=tmpfs
Where=/run/tmpfs
Type=tmpfs
Options=mode=1777,strictatime,nodev,nosuid,size=1536M
But the error persists. What I'm missing?
Last edited by vinnom (2015-05-03 16:51:38)ooo wrote:Couldn't you just mask the tmp.mount service? (as mentioned in the wiki page you linked)
Then your /tmp partition would be mounted according to your fstab
Raynman wrote:
The tmp.mount generated from your fstab should override the tmp.mount in /usr/lib/systemd/system. You say
The problem is that tmpfs is mounted at '/tmp' through '/usr/lib/systemd/system/tmp.mount'
If that is true (could you show output of mount and your fstab?) that is worth investigating.
However, your original problem seems to be that systemd-tmpfiles-setup.service fails. If something is wrong with your mounts, that could be related, but it might very well be something else. Is there any more information in the journal to indicate why the service fails (maybe even mentioning a tmpfiles.d config file that is responsible)? Did you create any config files for tmpfiles.d yourself?
Sorry guys, I tried to be concise, but ended up that I didn't make myself clear.
My '/tmp' is mounting fine as it takes priority over systemd. In fact, what I wanted to say is that '/tmp' mounts fine, systemd tried to mount tmpfs at '/tmp' and fails and I want to point tmpfs to mount at '/run/tmpfs' which I created for this, but just editing '/usr/lib/systemd/system/tmp.mount' didn't solve.
As for journalctl, it repeats several times this message:
Mai 02 22:43:32 arch_vinnom systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=exited, status=1/FAILURE
Mai 02 22:43:32 arch_vinnom systemd[1]: Failed to start Create Volatile Files and Directories.
Mai 02 22:43:32 arch_vinnom systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state.
Mai 02 22:43:32 arch_vinnom systemd[1]: systemd-tmpfiles-setup.service failed.
foutrelis wrote:
Depending on how your '/var' file system is created/mounted, you might need to enable ACL on it:
https://wiki.archlinux.org/index.php/Sy … rt_at_boot
hmm
I created my /var during arch installation, with mkfs.reiserfs.
Using
tune2fs -l /dev/sdXY | grep "Default mount options:"
To check if acl was already enabled, I got:
[root@arch_vinnom vinnom]# tune2fs -l /dev/sda5 | grep "Default mount options:"
tune2fs: Bad magic number in super-block while trying to open /dev/sda5
Couldn't find valid filesystem superblock.
Then I searched a bit and noted that reiserfs isn't compatible with acl =/
Last edited by vinnom (2015-05-03 15:12:18) -
Systemd-tmpfiles-setup.service failure
Good evening friends.
I recently made a fresh install of arch linux on my pc and since the first boot up i get this error:
systemd-tmpfiles-setup.service failure
Failded to start create volatile files and directories
When i used "systemctl status" command on it, it said something about unkwnon groups in usr/lib/... somewhere, i can't remember all of it, because after i rebooted and tried the same command, it only said that the process failed, without giving much on details.
What might be the problem here?
Last edited by NotaName (2014-09-14 17:42:37)falconindy wrote:
Just a guess, but I think you might have some unknown groups in usr/lib/... somewhere.
You'll really need to try harder to get the logs. They're still in the journal.
Thanks for the answer.
Well, i'm still working on the log finding part, as i'm not sure where they are supposed to be. I checked the /var/log folder files, but it seems that they are not readable/binary maybe?
P.S. Is this something that i might ignore if i don't find a way to fix it?
Last edited by NotaName (2014-09-14 19:36:47) -
[SOLVED]systemd-tmpfiles-setup.service fails
Hi,
I have installed arch on an old laptop (dell inspiron 6000). I haven't used arch linux for last 2 years. It seems system management style has changed drastically.
Anyways, systemctl status systemd-tmpfiles-setup.service returns this;
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Sal 2015-06-09 11:00:18 EEST; 38min ago
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8)
Process: 228 ExecStart=/usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev (code=exited, status=1/FAILURE)
Main PID: 228 (code=exited, status=1/FAILURE)
Haz 09 11:00:18 yasar-laptop systemd[1]: Starting Create Volatile Files and Directories...
Haz 09 11:00:18 yasar-laptop systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=exited, status=1/FAILURE
Haz 09 11:00:18 yasar-laptop systemd[1]: Failed to start Create Volatile Files and Directories.
Haz 09 11:00:18 yasar-laptop systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state.
Haz 09 11:00:18 yasar-laptop systemd[1]: systemd-tmpfiles-setup.service failed.
Is this something that I should be concerned? I don't really know what this service supposed to do?
If I should be concerned, how to troubleshoot it? Keep in mind that this is a fresh arch install.
Last edited by yasar11732 (2015-06-09 16:31:04)Thanks,
I have add acl option to fstab file, it works now. If anyone else has this problem, here is how my fstab file looks now;
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
UUID=936297ec-2bc3-45ef-bdb0-0a4ce7239204 / ext4 rw,relatime,data=ordered 0 1
UUID=d1fd9d31-99b5-45ba-97f4-a4c20b96e48b /var reiserfs rw,relatime,acl 0 2
UUID=6a9b3e39-8ea2-446f-9a71-79faab7cdafe /home xfs rw,relatime,attr2,inode64,noquota 0 2
# UUID=eb0b40d3-43ac-4f1f-8b29-97cd16a534d4
UUID=eb0b40d3-43ac-4f1f-8b29-97cd16a534d4 none swap defaults 0 0 -
[SOLVED]Systemd Tmpfile Setup Service Fails
I'm not sure what version this began but I'm using systemd 185-1 and systemd-arch-units 20120606-4. Service just fails to start. Is this fixable?
└╼ $ systemctl status systemd-tmpfiles-setup.service
systemd-tmpfiles-setup.service - Recreate Volatile Files and Directories
Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
Active: failed (Result: exit-code) since Fri, 22 Jun 2012 04:22:15 -0400; 36s ago
Docs: man:tmpfiles.d(5)
Process: 931 ExecStart=/usr/bin/systemd-tmpfiles --create --remove (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/systemd-tmpfiles-setup.service
Last edited by Hspasta (2012-06-23 04:31:05)swanson wrote:Check fstab and comment out the tmp there.
Did and didn't help.
WorMzy wrote:
Do you have any aur/custom-made packages that put *.conf files in /usr/lib/tmpfiles.d or /usr/local/lib/tmpfiles.d?
Does the system journal have any more information about the failure?
Hm...I have a lot of stuff in /usr/lib/tmpfiles.d/
└╼ $ ls /usr/lib/tmpfiles.d/
total 44K
-rw-r--r-- 1 root root 30 Jun 4 16:12 console.conf
-rw-r--r-- 1 root root 29 May 27 00:29 consolekit.conf
-rw-r--r-- 1 root root 74 Jun 6 19:02 initscripts.conf
-rw-r--r-- 1 root root 719 Jun 4 16:12 legacy.conf
-rw-r--r-- 1 root root 61 Jun 16 01:28 lvm2.conf
-rw-r--r-- 1 root root 24 Jun 1 00:04 mpd.conf
-rw-r--r-- 1 root root 27 Jun 9 03:29 nscd.conf
-rw-r--r-- 1 root root 30 Jun 9 01:41 openssh.conf
-rw-r--r-- 1 root root 729 Jun 4 16:12 systemd.conf
-rw-r--r-- 1 root root 449 Jun 4 16:12 tmp.conf
-rw-r--r-- 1 root root 622 Jun 4 16:12 x11.conf
I feel like something in my system is broken... -
Slow systemd boot on laptop.
Hey folks!
I'm having an issue with my boot speed since re-installing arch on my laptop. (Lenovo Y580).
[root@shard matt]# systemd-analyze
Startup finished in 2.796s (kernel) + 3min 3.038s (userspace) = 3min 5.834s
It's taking 3 min's to boot.
[root@shard matt]# systemd-analyze blame
3.136s NetworkManager.service
1.768s dev-sdb3.swap
1.488s systemd-logind.service
1.022s systemd-journal-flush.service
697ms polkit.service
410ms wpa_supplicant.service
390ms kmod-static-nodes.service
368ms systemd-user-sessions.service
292ms [email protected]
276ms dev-mqueue.mount
274ms dev-hugepages.mount
168ms systemd-udev-trigger.service
163ms systemd-remount-fs.service
156ms systemd-vconsole-setup.service
155ms systemd-sysctl.service
151ms systemd-backlight@acpi_video0.service
151ms systemd-backlight@acpi_video1.service
141ms upower.service
134ms udisks2.service
131ms systemd-tmpfiles-setup-dev.service
94ms systemd-update-utmp.service
44ms sys-kernel-debug.mount
42ms sys-kernel-config.mount
37ms systemd-random-seed.service
16ms systemd-udevd.service
6ms alsa-restore.service
5ms systemd-tmpfiles-setup.service
1ms tmp.mount
[root@shard matt]# systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.
graphical.target @1min 33.912s
`-multi-user.target @1min 33.912s
`-NetworkManager.service @1min 30.775s +3.136s
`-basic.target @1min 30.775s
`-timers.target @1min 30.773s
`-systemd-tmpfiles-clean.timer @1min 30.772s
`-sysinit.target @1min 30.771s
`-systemd-backlight@acpi_video1.service @4.920s +151ms
`-systemd-remount-fs.service @1.009s +163ms
`-systemd-journald.socket @772ms
`--.mount @771ms
`-system.slice @1.048s
`--.slice @1.048s
I'm still not sure which process is causing the delay, but it was only seconds to boot before.
Last edited by vanic (2013-09-25 12:04:10)Try systemd-analyze plot > plot.svg and have a look at that file; maybe it shows you what you want
-
Systemd-update-utmp.services wastes 16.990s while booting.
Info:
uname -a
Linux arch-linux-desk 3.13.5-1-ARCH #1 SMP PREEMPT Sun Feb 23 00:25:24 CET 2014 x86_64 GNU/Linux
lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 16
Model: 4
Model name: AMD Phenom(tm) II X4 965 Processor
Stepping: 3
CPU MHz: 3816.867
BogoMIPS: 7636.80
Virtualization: AMD-V
L1d cache: 64K
L1i cache: 64K
L2 cache: 512K
L3 cache: 6144K
NUMA node0 CPU(s): 0-3
journalctl -u system-update-utmp
-- Reboot --
Mar 01 19:00:28 arch-linux-desk systemd[1]: Merged into installed job systemd-update-utmp.service/start as 51
Mar 01 19:00:48 arch-linux-desk systemd[1]: Starting Update UTMP about System Reboot/Shutdown...
Mar 01 19:00:48 arch-linux-desk systemd[1]: About to execute: /usr/lib/systemd/systemd-update-utmp reboot
Mar 01 19:00:48 arch-linux-desk systemd[1]: Forked /usr/lib/systemd/systemd-update-utmp as 532
Mar 01 19:00:48 arch-linux-desk systemd[1]: systemd-update-utmp.service changed dead -> start
Mar 01 19:00:48 arch-linux-desk systemd[532]: Executing: /usr/lib/systemd/systemd-update-utmp reboot
Mar 01 19:00:48 arch-linux-desk systemd[1]: Child 532 belongs to systemd-update-utmp.service
Mar 01 19:00:48 arch-linux-desk systemd[1]: systemd-update-utmp.service: main process exited, code=exited, status=0/SUCCESS
Mar 01 19:00:48 arch-linux-desk systemd[1]: systemd-update-utmp.service changed start -> exited
Mar 01 19:00:48 arch-linux-desk systemd[1]: Job systemd-update-utmp.service/start finished, result=done
Mar 01 19:00:48 arch-linux-desk systemd[1]: Started Update UTMP about System Reboot/Shutdown.
Mar 01 19:29:41 arch-linux-desk systemd[1]: Installed new job systemd-update-utmp.service/stop as 2431
Mar 01 19:29:44 arch-linux-desk systemd[1]: Stopping Update UTMP about System Reboot/Shutdown...
Mar 01 19:29:44 arch-linux-desk systemd[1]: About to execute: /usr/lib/systemd/systemd-update-utmp shutdown
Mar 01 19:29:44 arch-linux-desk systemd[1]: Forked /usr/lib/systemd/systemd-update-utmp as 20268
Mar 01 19:29:44 arch-linux-desk systemd[1]: systemd-update-utmp.service changed exited -> stop
Mar 01 19:29:44 arch-linux-desk systemd[20268]: Executing: /usr/lib/systemd/systemd-update-utmp shutdown
Mar 01 19:29:45 arch-linux-desk systemd[1]: Child 20268 belongs to systemd-update-utmp.service
Mar 01 19:29:45 arch-linux-desk systemd[1]: systemd-update-utmp.service: control process exited, code=exited status=0
Mar 01 19:29:45 arch-linux-desk systemd[1]: systemd-update-utmp.service got final SIGCHLD for state stop
Mar 01 19:29:45 arch-linux-desk systemd[1]: systemd-update-utmp.service changed stop -> dead
Mar 01 19:29:45 arch-linux-desk systemd[1]: Job systemd-update-utmp.service/stop finished, result=done
Mar 01 19:29:45 arch-linux-desk systemd[1]: Stopped Update UTMP about System Reboot/Shutdown.
-- Reboot --
Mar 01 19:31:00 arch-linux-desk systemd[1]: Merged into installed job systemd-update-utmp.service/start as 52
Mar 01 19:31:03 arch-linux-desk systemd[1]: Starting Update UTMP about System Reboot/Shutdown...
Mar 01 19:31:03 arch-linux-desk systemd[1]: About to execute: /usr/lib/systemd/systemd-update-utmp reboot
Mar 01 19:31:03 arch-linux-desk systemd[1]: Forked /usr/lib/systemd/systemd-update-utmp as 550
Mar 01 19:31:03 arch-linux-desk systemd[1]: systemd-update-utmp.service changed dead -> start
Mar 01 19:31:03 arch-linux-desk systemd[550]: Executing: /usr/lib/systemd/systemd-update-utmp reboot
Mar 01 19:31:03 arch-linux-desk systemd[1]: Child 550 belongs to systemd-update-utmp.service
Mar 01 19:31:06 arch-linux-desk systemd[1]: systemd-update-utmp.service: main process exited, code=exited, status=0/SUCCESS
Mar 01 19:31:20 arch-linux-desk systemd[1]: systemd-update-utmp.service changed start -> exited
Mar 01 19:31:20 arch-linux-desk systemd[1]: Job systemd-update-utmp.service/start finished, result=done
Mar 01 19:31:20 arch-linux-desk systemd[1]: Started Update UTMP about System Reboot/Shutdown.
Mar 01 19:36:32 arch-linux-desk systemd[1]: systemd-update-utmp.service changed dead -> exited
Mar 01 21:54:04 arch-linux-desk systemd[1]: Installed new job systemd-update-utmp.service/stop as 1797
Mar 01 21:54:07 arch-linux-desk systemd[1]: Stopping Update UTMP about System Reboot/Shutdown...
Mar 01 21:54:07 arch-linux-desk systemd[1]: About to execute: /usr/lib/systemd/systemd-update-utmp shutdown
Mar 01 21:54:07 arch-linux-desk systemd[1]: Forked /usr/lib/systemd/systemd-update-utmp as 11234
Mar 01 21:54:07 arch-linux-desk systemd[1]: systemd-update-utmp.service changed exited -> stop
Mar 01 21:54:07 arch-linux-desk systemd[11234]: Executing: /usr/lib/systemd/systemd-update-utmp shutdown
Mar 01 21:54:07 arch-linux-desk systemd[1]: Child 11234 belongs to systemd-update-utmp.service
Mar 01 21:54:07 arch-linux-desk systemd[1]: systemd-update-utmp.service: control process exited, code=exited status=0
Mar 01 21:54:07 arch-linux-desk systemd[1]: systemd-update-utmp.service got final SIGCHLD for state stop
Mar 01 21:54:07 arch-linux-desk systemd[1]: systemd-update-utmp.service changed stop -> dead
Mar 01 21:54:07 arch-linux-desk systemd[1]: Job systemd-update-utmp.service/stop finished, result=done
Mar 01 21:54:07 arch-linux-desk systemd[1]: Stopped Update UTMP about System Reboot/Shutdown.
-- Reboot --
Mar 02 16:06:04 arch-linux-desk systemd[1]: Merged into installed job systemd-update-utmp.service/start as 52
Mar 02 16:06:09 arch-linux-desk systemd[1]: Starting Update UTMP about System Reboot/Shutdown...
Mar 02 16:06:09 arch-linux-desk systemd[1]: About to execute: /usr/lib/systemd/systemd-update-utmp reboot
Mar 02 16:06:09 arch-linux-desk systemd[1]: Forked /usr/lib/systemd/systemd-update-utmp as 526
Mar 02 16:06:09 arch-linux-desk systemd[1]: systemd-update-utmp.service changed dead -> start
Mar 02 16:06:09 arch-linux-desk systemd[526]: Executing: /usr/lib/systemd/systemd-update-utmp reboot
Mar 02 16:06:09 arch-linux-desk systemd[1]: Child 526 belongs to systemd-update-utmp.service
Mar 02 16:06:11 arch-linux-desk systemd[1]: systemd-update-utmp.service: main process exited, code=exited, status=0/SUCCESS
Mar 02 16:06:26 arch-linux-desk systemd[1]: systemd-update-utmp.service changed start -> exited
Mar 02 16:06:26 arch-linux-desk systemd[1]: Job systemd-update-utmp.service/start finished, result=done
Mar 02 16:06:26 arch-linux-desk systemd[1]: Started Update UTMP about System Reboot/Shutdown.
Mar 02 16:33:59 arch-linux-desk systemd[1]: systemd-update-utmp.service changed dead -> exited
Mar 02 16:34:11 arch-linux-desk systemd[1]: systemd-update-utmp.service changed dead -> exited
Mar 02 16:34:24 arch-linux-desk systemd[1]: systemd-update-utmp.service changed dead -> exited
Mar 02 16:34:37 arch-linux-desk systemd[1]: systemd-update-utmp.service changed dead -> exited
Mar 02 16:34:46 arch-linux-desk systemd[1]: systemd-update-utmp.service changed dead -> exited
Mar 02 16:34:58 arch-linux-desk systemd[1]: systemd-update-utmp.service changed dead -> exited
Mar 02 16:35:02 arch-linux-desk systemd[1]: systemd-update-utmp.service changed dead -> exited
Mar 02 16:51:11 arch-linux-desk systemd[1]: systemd-update-utmp.service changed dead -> exited
systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.
graphical.target @43.083s
└─multi-user.target @43.082s
└─spamassassin.service @31.838s +11.243s
└─network.target @31.831s
└─NetworkManager.service @27.053s +4.774s
└─basic.target @26.943s
└─timers.target @26.934s
└─systemd-tmpfiles-clean.timer @26.934s
└─sysinit.target @26.870s
└─systemd-update-utmp.service @9.874s +16.990s
└─systemd-tmpfiles-setup.service @9.287s +577ms
└─local-fs.target @9.278s
└─tmp.mount @9.118s +155ms
└─local-fs-pre.target @1.972s
└─systemd-tmpfiles-setup-dev.service @1.567s +397ms
└─kmod-static-nodes.service @686ms +872ms
└─systemd-journald.socket @648ms
└─-.mount @647ms
└─system.slice @1.069s
└─-.slice @1.061s
Last edited by 814ckf0x (2014-03-02 18:03:00)Okay. For reference, that step takes 0.055 seconds on my box.
ewaller$@$odin ~ 1002 %systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.
graphical.target @24.443s
`-multi-user.target @24.443s
`-postfix.service @21.770s +2.672s
`-network.target @21.768s
`[email protected] @11.892s +9.876s
`-basic.target @11.062s
`-timers.target @11.059s
`-systemd-tmpfiles-clean.timer @11.059s
`-sysinit.target @11.059s
`-systemd-update-utmp.service @11.003s +55ms
`-systemd-tmpfiles-setup.service @10.904s +98ms
`-local-fs.target @10.903s
`-home.mount @10.750s +152ms
`-systemd-fsck@dev-disk-by\x2duuid-1e70da27\x2d41c7\x2d4
`-dev-disk-by\x2duuid-1e70da27\x2d41c7\x2d43fc\x2d963b
ewaller$@$odin ~ 1003 %
I think you should look through your journal for more information. You may want to pastebin it and post a link here. -
Systemd-udev-settle.service suddenly active after last system update
Hi,
with my last pacman -Syu I noticed that my boot time went up from 4s to 8s.
Using systemd-analyze, I saw that systemd-udev-settle.service is the culprit.
I am not using lvm or similar, so AFAIK systemd-udev-settle.service should not be running on my system.
Does anybody know why this was activated by the last system update and if it is safe to just mask or disable the unit?
With best regards,
p90I noticed that it is slowing down my boot also, I checked and for some reason the lvm2 package was installed which looks like it was partially causing it. It has a couple messages at boot and in dmesg. I removed lvm2 and by boot time is a little better, and masking systemd-udev-settle brings my boot back to where it should be.
Last edited by Kopkins (2014-11-11 15:55:33) -
Systemd-remount-fs.service fails [SOLVED]
After a fresh install on a brandnew laptop, my root partition is being mounted read only, and I see that systemd-remount-fs.service fails:
[root@anton ~]# systemctl status systemd-remount-fs.service
systemd-remount-fs.service - Remount Root and Kernel File Systems
Loaded: loaded (/usr/lib/systemd/system/systemd-remount-fs.service; static)
Active: failed (Result: exit-code) since Sat, 2012-12-01 21:00:05 MST; 18min ago
Docs: man:systemd-remount-fs.service(8)
Process: 186 ExecStart=/usr/lib/systemd/systemd-remount-fs (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/systemd-remount-fs.service
Dec 01 21:00:05 anton systemd-remount-fs[186]: mount: / not mounted or bad option
Dec 01 21:00:05 anton systemd-remount-fs[186]: In some cases useful info is found in syslog - try
Dec 01 21:00:05 anton systemd-remount-fs[186]: dmesg | tail or so
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
I have no idea why this is happening, or what to do to try and fix it - any help/advice would be greatly appreciated. Following is the information I think is necessary for assistance:
Note that I have /usr on a separate partition, which I suspect is possibly involved in the issue somehow.
Here's my fstab:
[root@anton ~]# cat /etc/fstab
# /dev/sda5
#UUID=a09ff37e-ce60-4173-b95a-4b71a53c01d3 / ext4 defaults,rw,noatime,discard,data=writeback 0 1
# /dev/sda6
UUID=f4ab3551-c4f8-4e77-97bb-cc754c81af24 /usr ext4 defaults,noatime,discard,data=writeback 0 0
# /dev/sda7
UUID=c8d2776b-faaa-4a9d-ad49-4b09489faaaa /var ext4 defaults,rw,noatime,discard 0 2
# /dev/sda8
UUID=3dff3fa5-3291-4227-907a-258f12e1b3cf /home ext4 defaults,rw,relatime,discard 0 2
Here's the relevant output from mount (note that my root (sda5) partition is not being mount with the options I specified in fstab):
[root@anton ~]# mount | grep sda
/dev/sda5 on / type ext4 (ro,relatime,data=ordered)
/dev/sda6 on /usr type ext4 (rw,noatime,discard,data=writeback)
/dev/sda7 on /var type ext4 (rw,noatime,discard,data=ordered)
/dev/sda8 on /home type ext4 (rw,relatime,discard,data=ordered)
Relavant snippet from /boot/grub/grub.cfg:
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-a09ff37e-ce60-4173-b95a-4b71a53c01d3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 a09ff37e-ce60-4173-b95a-4b71a53c01d3
else
search --no-floppy --fs-uuid --set=root a09ff37e-ce60-4173-b95a-4b71a53c01d3
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=a09ff37e-ce60-4173-b95a-4b71a53c01d3 ro init=/usr/lib/systemd/systemd
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
Finally, here's my mkinitcpio.cfg:
[root@anton ~]# cat /etc/mkinitcpio.conf
MODULES=""
BINARIES=""
FILES=""
HOOKS="base udev autodetect sata filesystems usbinput usr fsck shutdown"
Last edited by corey_s (2012-12-02 08:57:35)Thanks for the quick response, WonderWoofy ( by the way, great username! )!
When I removed or modified the the mount options in the bootloader kernel command line, there was no change to the status of the fs after boot-up. I had changed it at one point from 'ro', to 'rw'; but doing so had no affect on the output of the mount command.
However, I did finally identify the cause: turns out if I specify 'data=writeback', in fstab for the root partition, then systemd-remount-fs.service fails, as per my OP - leaving me with a 'ro'-mounted root filesystem. Simply removing that, or changing it to 'data=ordered', solved the issue: when I rebooted, the root partition was mounted as per my fstab config.
So, my fstab now looks like this:
# /dev/sda5
UUID=a09ff37e-ce60-4173-b95a-4b71a53c01d3 / ext4 rw,noatime,discard 0 1
# /dev/sda6
UUID=f4ab3551-c4f8-4e77-97bb-cc754c81af24 /usr ext4 defaults,ro,noatime,discard,data=writeback 0 0
# /dev/sda7
UUID=c8d2776b-faaa-4a9d-ad49-4b09489faaaa /var ext4 defaults,rw,noatime,discard 0 2
# /dev/sda8
UUID=3dff3fa5-3291-4227-907a-258f12e1b3cf /home ext4 defaults,rw,relatime,discard 0 2
... and all is now well.
I'll mark this as solved, but I'll also ask: why does specifying 'data=writeback' on my root partition cause the systemd-remount-fs.service to fail? Any experts out there know?
Last edited by corey_s (2012-12-02 06:46:32) -
How to Setup Service Desk and CHARM in Solu Man 4.0
Hi Gurus
I am New to Solution Manager 4.0 and i want to setup Service Desk and Change Request Management for my client. Any one help me to guide where i can start and after configuring how the functionality of service desk and change request management.
Can anybody send the documents with screen shot how to configure and how it lokks after Configuration.
My client requirement is he wants to make Service desk as a ticketing tool and Charm as Change management tool
Please help me
Piont rewarded for solution
RajeshHello
I have configured Ibase for Charm, i followed spro config info as follows:
Manually Create and Assign the Component Systems asiBase
In this IMG activity, you define the Installed Base (iBase) manually, that is for refreshing existing iBases after solutions have been changed.
An iBase component has to be created for each satellite system from which Service Desk messages will be sent to the SAP Solution Manager system.
For the Value Added Reseller (VAR), it is not absolutely necessary to manually define the iBase at this point. We recommend, however, that you carry out this step so that you have a functioning test scenario.
Activities
1. In transaction Change Installed Base (IB52), choose iBase No. 1 (SOL_MAN_DATA_REP).
2. Create under the IBase Header (SOL_MAN_DATA_REP) an IBase component, for example the SAP component system (SAP WEB AS) or use an existing one.
3. To assign the systems as iBase components, go to the Text item tab.
Three components are included in the standard package.
4. Add all the satellite systems as text items to the table:
Column Short text: Description of the system
Column Identification: System ID, installation number, client
5. Save.
After changes have been made to a solution, repeat these steps to update system landscape data for iBase.
Note:
Every system is only listed once in the iBases. That means a system is not listed in an iBase if it has been listed in another iBase before.
If the identification is not entered correctly, the system cannot correctly identify the component from the incoming Service Desk message.
Its really good and I have set up the config in that way only.
If useful reward the points.
Thanks
Regards
Sharmishtha -
Hi,
I am running BPA on My Exchange 2010 VM (Server 2008 R2 VM on Hyper-V) and get the following errors:
The 'Services' string type value located in 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\Setup\Services' registry key is missing or inaccessible. The Microsoft Exchange Information Store service won't start. As a result, all services that depend
on this service won't be able to start
Exchange server [Exchange Server FQDN] is a virtual machine but the additional tools are not installed. This configuration is not supported. Install Virtual Machine Additions for this guest.
Problem is that, for the first, that Key exists and the service is actually running fine. And for the second my VM tools are already installed.
Hopefully someone out there has had the same issue and can assist.
PeteHi Pete,
For the first error message, please try the following steps:
Make sure the Information Store service is in Starting status,
Automatic startup type and works well, as a test we can try to
restart the Infroamtion Store service and verify the service works well.
Start
Registry Editor, find the registry key “Services” under “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14\Setup”, its value is “C:\Program
files\Microsoft\Exchange Server\v14”(default install location), please check your registry, make sure the key “Services” exist and value is the Exchange Server install location and the
location is accessible;
Start
Registry Editor, and locate the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\Setup
Use the
Permission option under the Security tab to check the permission setting on this key. Make sure
System is in the list with Full Control permissions if the service account is Local System. If you are not using Local System as the service account, check the existence of the corresponding account in the list and ensure that
it has Full Control permissions. Please refer to this article:
Title: Exchange Store Does Not Start: Errors 7024, 1026, 9542, and 5000
Link:
http://support.microsoft.com/kb/285116
Start
ADSI Edit, and then browse to the following location:
Domain.com/Configuration/Services/Microsoft Exchange/Org/Administrative Groups/AdminGroup/Servers/Server Name
Right-click the
server name, and then click Properties.
Click the
Security tab, make sure this own server’s server object have
full control permission on its own server.
If not or the object is missing, please modify the permission or click
Add, locate the computer account for the Exchange Server computer, add it to the Permissions list with full control.
Click OK, and then close ADSI Edit.
Use
Active Directory Users and Computers to add the current affected
Exchange Server computer account to the Exchange Servers(previous version should be “Exchange Domain Servers”) group in the
Microsoft Exchange Security Groups( or Users) OU. Refer to this article:
http://support.microsoft.com/kb/297295.
Restart the Exchange Server computer, then rerun the ExBPA.
For the second error message, Microsoft don’t recommend to install Exchange Server on virtual machine without additional tools, so the error message occurs. We can just ignore
this message, it will not affect the Exchange servers.
Regards, Eric Zou -
Solaris 9
I need to start a service at boot time and cannot figure out where to place it. I Googled it but I could not find anything of real value.
Thanks,
DBIn Solaris 9, this is found with the 'initdefault' line in /etc/inittab. It is 3 by default.
Default will have the system go through sysinit (which runs /sbin/rcS, running the scripts in /etc/rcS.d), then to run level 3. (which runs the scripts in rc2.d and rc3.d in order).
Darren -
Core Services and Boot X "duplicates" -- can't trash
I am cleaning up various files and hard drives on my G4 tower.
I'm running OS 10.4.11.
I had a complete duplicate of the Applications folder on a 2nd Hard Drive.
I put it into Trash and selected Secure Empty Trash.
Most of the items in the folder were trashed okay.
But I got a warning window about "Core Services" being in use.
Yet I still have a folder of it in the System folder in the main Hard Drive.
There is (1) file inside of "Core Services" called Boot X.
I unlocked it to help the process -- but still no success with Trash.
Any suggestions to eliminate the duplicate "Core Services" folder.
Thanks,
DanIt worked!
Thank you.
I actually Googled Mac + Trash + Option Key to get the correct procedure.
There are several possible methods for "forcing" Trash to empty.
Using the Option key seems to be the easiest by far.
Thanks, again
Dan -
[SOLVED] systemd uses cronie.service in /usr/lib instead of /etc
I've been having a little problem getting systemd to use my custom service file for cronie. I've tried doing the same thing with ntpd and a few other services, and they all work fine.
[root@garrett garrett]# cp /{usr/lib,etc}/systemd/system/cronie.service
[root@garrett garrett]# systemctl reenable cronie.service
rm '/etc/systemd/system/multi-user.target.wants/cronie.service'
ln -s '/etc/systemd/system/cronie.service' '/etc/systemd/system/multi-user.target.wants/cronie.service'
[root@garrett garrett]# systemctl status cronie.service
cronie.service - Periodic Command Scheduler
Loaded: loaded (/usr/lib/systemd/system/cronie.service; enabled)
Active: inactive (dead)
CGroup: name=systemd:/system/cronie.service
Sep 13 21:32:52 garrett /usr/sbin/crond[622]: (CRON) INFO (running with inotify support)
It appears to have something to do with the crond.service symlink to cronie.service, since when I remove it, systemd will use the service file in /etc.
[root@garrett garrett]# rm /usr/lib/systemd/system/crond.service
[root@garrett garrett]# cp /{usr/lib,etc}/systemd/system/cronie.service
[root@garrett garrett]# systemctl reenable cronie.service
rm '/etc/systemd/system/multi-user.target.wants/cronie.service'
ln -s '/etc/systemd/system/cronie.service' '/etc/systemd/system/multi-user.target.wants/cronie.service'
[root@garrett garrett]# systemctl status cronie.service
cronie.service - Periodic Command Scheduler
Loaded: loaded (/etc/systemd/system/cronie.service; enabled)
Active: inactive (dead)
CGroup: name=systemd:/system/cronie.service
Sep 13 21:32:52 garrett /usr/sbin/crond[622]: (CRON) INFO (running with inotify support)
However, these symlinks don't cause problems in other packages such as with cups.service, which has a symlink cupsd.service. I also tried the same commands above on another arch computer I have that is running systemd and encountered the same results. This just seems really strange, and I'm not exactly sure where to go from here. Any help would be greatly appreciated.
Last edited by Floft (2012-09-14 06:40:23)I can not replicate on my system.
# find {/usr/lib,/etc}/systemd/system/ -name "*cron*" -ls
803795 4 -rw-r--r-- 1 root root 174 Aug 8 22:24 /usr/lib/systemd/system/cronie.service
803798 0 lrwxrwxrwx 1 root root 14 Aug 8 22:24 /usr/lib/systemd/system/crond.service -> cronie.service
793796 4 -rw-r--r-- 1 root root 174 Sep 14 03:01 /etc/systemd/system/cronie.service
932745 0 lrwxrwxrwx 1 root root 34 Sep 14 03:01 /etc/systemd/system/multi-user.target.wants/cronie.service -> /etc/systemd/system/cronie.service
# systemctl status cronie
cronie.service - Periodic Command Scheduler
Loaded: loaded (/etc/systemd/system/cronie.service; enabled)
Active: active (running) since Fri, 14 Sep 2012 03:06:05 -0300; 1s ago
Main PID: 13956 (crond)
CGroup: name=systemd:/system/cronie.service
└ 13956 /usr/sbin/crond -n
Maybe you are looking for
-
Price difference between PO and after GR
Hi Experts, we have an issue in price after the goods receipt. PO item price for 1PCE is 10EUR. After goods receipt the price is updated in order history as 490EUR at amount in local currency. GR has been done thourgh inbound delivery and no chance o
-
Why is the time in every official picture or video of an iDevice always 9:41 AM ?
I have seen in every official picture or video that the time is always 9:41 AM. I wonder what is the reason after this ? Any help is greatly appreciated. THANK YOU
-
When viewing photo albums photos show in random. How do you get photos to show in sequecne?
-
DB Connect Data featching problem
Hi all, I connect Sql2000 to BW server and trying to make a report for this i have done all the things i mean to say make infosource , cube , update rule . in sql data source i take 2 fields for data selection ID and Name when i make infopkg these tw
-
Ability to sort by status, ignoring who set the status
We are utilizing Shared reviews (currently using Acrobat Pro 8 & Reader 8 on Macs & PCs) to faciliate review cycles with a large number of internal clients within the company. Our workflow dictates that multiple people 'set status' (Accepted, Rejecte