You are not logged in.
I've got this error in journal;
systemd-tmpfile[247]: Two or more conflicting lines for /tmp configured, ignoring.This is from a leftover from arch initscripts, /usr/lib/tmpfiles.d/arch.conf shich is doubled by systemd's, /usr/lib/tmpfiles.d/x11.conf (almost).
arch.conf;
D /tmp 1777 root root 10d
d /run/daemons 0755 root root -
d /tmp/.X11-unix 1777 root root 10d
d /tmp/.ICE-unix 1777 root root 10d
d /tmp/.XIM-unix 1777 root root 10d
d /tmp/.font-unix 1777 root root 10d
d /tmp/.Test-unix 1777 root root 10d
F /run/utmp 0664 root utmp -
r /tmp/.X[0-9]-lock
r /etc/nologin
r /etc/shutdownpid
r /forcefsck
r /fastbootx11.conf;
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# See tmpfiles.d(5) for details
# Make sure these are created by default so that nobody else can
d /tmp/.X11-unix 1777 root root 10d
d /tmp/.ICE-unix 1777 root root 10d
d /tmp/.XIM-unix 1777 root root 10d
d /tmp/.font-unix 1777 root root 10d
d /tmp/.Test-unix 1777 root root 10d
# Unlink the X11 lock files
r /tmp/.X[0-9]*-lockCan I delete the arch one - where is it started from at boot? I'm running only systemd and got rid of all arch units. Or can I merge them? I really can't tell which tmpfiles are needed.
Last edited by swanson (2012-05-31 19:11:46)
Offline
Copied /usr/lib/tmpfiles.d/arch.conf to /etc/tmpfiles.d/ commented it all out. The error message is gone and this looks nice; 410ms systemd-tmpfiles-setup.service . Don't know yet if it works. Before the tmpfiles service could take 2-4s to start.
Offline
On my system (just checked) systemd-tmpfiles-setup.service takes 346ms, didn't edit/remove /usr/lib/tmpfiles.d/arch.conf. That may not be the source of your 2-4s (any exact numbers?). I do get that error though.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
It seems OK now with the start and arch.conf totally commented out;
Startup finished in 6943ms (kernel) + 5327ms (userspace) = 12271ms
511ms systemd-tmpfiles-setup.service
Earlier I had;
2656ms systemd-tmpfiles-setup.service
and longer.
But does the systemd tmpfiles ;
ls /usr/lib/tmpfiles.d
totalt 180K
drwxr-xr-x 2 root root 4,0K 19 maj 07.06 .
drwxr-xr-x 168 root root 128K 30 maj 14.23 ..
-rw-r--r-- 1 root root 434 30 maj 21.01 arch.conf # copied to /etc and deactivated
-rw-r--r-- 1 root root 29 3 maj 04.37 console.conf
-rw-r--r-- 1 root root 29 28 apr 19.06 consolekit.conf
-rw-r--r-- 1 root root 915 3 maj 04.37 legacy.conf
-rw-r--r-- 1 root root 32 19 maj 00.26 libvirtd.conf
-rw-r--r-- 1 root root 61 19 maj 00.26 lvm2.conf
-rw-r--r-- 1 root root 33 19 maj 00.26 openntpd.conf
-rw-r--r-- 1 root root 30 19 maj 00.26 openssh.conf
-rw-r--r-- 1 root root 679 3 maj 04.37 systemd.conf
-rw-r--r-- 1 root root 440 3 maj 04.37 tmp.conf
-rw-r--r-- 1 root root 613 3 maj 04.37 x11.confreplace all in arch.conf ? I'm worried about other problems because of my poor knowledge of all the tmpfiles.
Offline
I'm worried about other problems because of my poor knowledge of all the tmpfiles.
As am I. Its highly unlikely that the maintainers would notice this thread though, so either bring it up directly to them or file a flyspray request. Or ask on the arch-general list.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
I might just do that since this seems to be a somewhat older problem with no solution yet. There are hints; https://bbs.archlinux.org/viewtopic.php?pid=962928
and mostly here (august 2011) ; https://bugs.archlinux.org/task/25557
As I undertand it an all native systemd system shoudn't need the arch.conf file which is a part of the initscripts package. But uninstalling initscripts is impossible since systemd depends on them.
(I've managed to cut down my boot time from 28s to 12s going all native, but there are still some arch initscripts leftovers)
Offline
https://projects.archlinux.org/initscri … cddd0d60d8
the next initscripts release will depend on systemd-tools, so this should be fixed by then.
But uninstalling initscripts is impossible since systemd depends on them.
not sure what you mean, I've been running systemd without initscripts for months and have no problems whatsoever.
Offline
It's this puzzling message;
sudo pacman -R initscripts
Password:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: initscripts-systemd: requires initscriptsBecause falconindy said in the big systemd thread that they could be uninstalled. But I'll gladly wait for an update. Thanks!
Offline
You can replace initscripts with systemd-sysvcompat.
Offline
It's this puzzling message;
sudo pacman -R initscripts Password: checking dependencies... error: failed to prepare transaction (could not satisfy dependencies) :: initscripts-systemd: requires initscriptsBecause falconindy said in the big systemd thread that they could be uninstalled. But I'll gladly wait for an update. Thanks!
well do you really still need initscripts-systemd? If you have everything configured natively (/etc/locale.conf, vconsole.conf, /etc/modules-load.d/ etc.) and have native service files for all your services, there is no reason to keep it anymore.
Offline
That was it - now they are gone. Thanks!
Offline
Solved now! Boot times are as fast as posssible on my HDD I think. Only thing after uninstalling initscripst and initscripts-systemd was that locale was not set inspite of a correct /etc/locale.conf. I had to make /etc/profile.d/locale.sh with this content;
if [ -s /etc/locale.conf ]; then
. /etc/locale.conf
fi
export LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE
export LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS
export LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATIONOffline
Boot time went up again with the new systemd-tools package from yesterday. Don't know why and no threads about it yet. 5s lost somewhere but the indivual services don't show much change;
Startup finished in 7589ms (kernel) + 9858ms (userspace) = 17448ms
2010ms mnt-SERVER_NYTT.mount
676ms systemd-udev-trigger.service
650ms systemd-vconsole-setup.service
646ms dev-hugepages.mount
599ms systemd-remount-fs.service
449ms console-kit-daemon.service
407ms systemd-sysctl.service
407ms sys-kernel-debug.mount
398ms home.mount
386ms systemd-modules-load.service
380ms dev-mqueue.mount
178ms systemd-logind.service
123ms rpcbind.service
108ms dev-sda3.swap
97ms systemd-udev.service
91ms console-kit-log-system-start.service
69ms rpc-statd.service
36ms systemd-tmpfiles-setup.service
33ms eth0-network.service
26ms dbus.service
22ms crond.service
13ms systemd-user-sessions.service
1ms sys-fs-fuse-connections.mount
0ms tmp.mountSo no way to pinpoint it.
Last edited by swanson (2012-06-03 06:10:38)
Offline