Recently I upgraded to debian jessie (current testing) and after that avg boot time has increased to 3-4 minutes.
Between grub
and gdm
start, I get this message for 2-3 minutes.
A job is running for creating volatile and temporary files and directories
Here is output of systemd-analyze blame
[smit: ~] $ systemd-analyze blame
3min 14.096s systemd-tmpfiles-setup.service
8.657s NetworkManager.service
8.244s apache2.service
7.048s ModemManager.service
6.328s networking.service
6.004s accounts-daemon.service
5.288s binfmt-support.service
4.557s systemd-logind.service
4.541s alsa-restore.service
4.541s console-kit-log-system-start.service
4.530s lm-sensors.service
4.521s pppd-dns.service
4.520s redis-server.service
4.519s hostapd.service
4.519s minissdpd.service
4.519s timidity.service
4.519s nvidia-kernel.service
4.518s rc-local.service
4.437s bluetooth.service
4.408s avahi-daemon.service
2.243s systemd-fsck-root.service
1.437s exim4.service
1.415s keyboard-setup.service
Once system is started, systemctl
doesn't report any error.
[smit: ~] $ sudo systemctl status systemd-tmpfiles-setup
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
Loaded: loaded (/lib/systemd/system/systemd-tmpfiles-setup.service; static)
Active: active (exited) since Fri 2014-10-17 01:19:09 IST; 1h 41min ago
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8)
Process: 230 ExecStart=/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev (code=exited, status=0/SUCCESS)
Main PID: 230 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/systemd-tmpfiles-setup.service
Why is systemd-tmpfiles-setup.service
starting slow? Where can I get detailed logs of systemd-tmpfiles-setup.service
?
/tmp
but it saysrm: cannot remove ‘/tmp/’: Device or resource busy