You are not logged in.
Ok using systemctl's shutdown command is paramount, since the chance of non-contiguous files with a regular shutdown is quite high. Also nice is that halt for systemd is actually halt instead of poweroff, while gnu halt just shuts everything down on my system.
ᶘ ᵒᴥᵒᶅ
Offline
Upgrading seems to error out:
( 6/14) upgrading initscripts-systemd
Failed to get D-Bus connection: Connection terminated during authentication.
error: command failed to execute correctly
ᶘ ᵒᴥᵒᶅ
Offline
Offline
Hi,
I have two questions regarding systemd
1- I get a small trouble with ntfs partition they do not get mounted. As suggested I tried a fuser to see if something was accessing it but nothing is stated.
Mar 31 16:22:21 myhost kernel: mount[894]: Mount is denied because the NTFS volume is already exclusively opened.
Mar 31 16:22:21 myhost kernel: mount[894]: The volume may be already mounted, or another software may use it which
Mar 31 16:22:21 myhost kernel: mount[894]: could be identified for example by the help of the 'fuser' command.
Mar 31 16:22:21 myhost kernel: systemd[1]: storage.mount mount process exited, code=exited status=16
Mar 31 16:22:21 myhost kernel: systemd[1]: Unit storage.mount entered failed state.
2- I wanted to boot directly into with the old startx trick in xinit. So I have done this. And everything is quite nice except that I get a sh as shell and I start at / instead of my home directory.
[Unit]
Description=xinit for %i
Requires=dev-tty3.device
After=dev-tty3.device systemd-user-sessions.service
[Service]
User=%i
ExecStart=/bin/zsh -c startx
[Install]
WantedBy=graphical.target
Otherwise systemd is quite amazing thanks for the great work
Last edited by lymphatik (2011-03-31 15:01:45)
Offline
Huh. Since the update to systemd 21-1, wicd.service is no longer started during boot. I have to start it manually by doing 'systemctl start wicd.service'. I tried disabling and re-enabling it, but no go. Anybody else have the same issue?
Offline
2- I wanted to boot directly into with the old startx trick in xinit.
I created a /etc/systemd/system/xinit.service file like this:
[Unit]
Description=Direct login to X
Requires=dev-tty7.device
After=dev-tty7.device systemd-user-sessions.service
[Service]
ExecStart=/bin/su litemotiv -l -c "/bin/bash --login -c xinit >/dev/null 2>&1"
StandardOutput=syslog
[Install]
WantedBy=graphical.target
ᶘ ᵒᴥᵒᶅ
Offline
Hi. What's the current state about /run directory?
I now have /run AND /var/run, both with the same files and same timestamps. I hope systemd makes a symlink or sth like that
When will /var/run go away?
Offline
Hi. What's the current state about /run directory?
I now have /run AND /var/run, both with the same files and same timestamps. I hope systemd makes a symlink or sth like that
When will /var/run go away?
Straight from the mail with the announcement:
- There's now /run, which will act as new place for /var/run, but is
available during early boot. There's going to be a longer announcement
about this on fedora-devel soon.
Offline
Hi. What's the current state about /run directory?
I now have /run AND /var/run, both with the same files and same timestamps. I hope systemd makes a symlink or sth like that
When will /var/run go away?
You're looking at a bind mount of tmpfs.
It's going to be years before /var/run goes away, if it ever does.
Offline
Yeah maybe you're right. Let's try to guess when Debian STABLE will have systemd
Offline
Just pushed systemd-22. It's built with optional support for systemadm, which requires gtk2 and libnotify. Astute observers will also notice systemd-analyze, which is supposed to be some silly boot time analyzer (similar to bootchartd). You'll need dbus-python for that.
Offline
Alright, I think I solved my problem with wicd.service. Apparently, systemd doesn't use network.target any more on either of my machines. I don't know if this is by design or if I'm just doing something wrong. Anyway, I simply changed to multi-user.target under the [Install] section and put the new wicd.service in /etc/systemd/system.
[Unit]
Description=Wicd Network Manager
After=syslog.target
[Service]
Type=dbus
BusName=org.wicd.daemon
ExecStart=/usr/sbin/wicd -f
Restart=always
[Install]
#WantedBy=network.target
WantedBy=multi-user.target
After a 'systemctl disable wicd.service' and 'systemctl enable wicd.service' it works again.
Offline
Just did a "dmesg | grep systemd" and there was a small warning:
Where's the depmod.service gone?
Is it no more needed? Which service does now manage modules?
EDIT: software:
community/initscripts-systemd v21-1 (systemd) [installed]
community/systemd 22-2 (systemd) [installed]
community/systemd-arch-units 20110320-2 (systemd) [installed]
Last edited by benneque (2011-04-01 10:34:41)
Offline
depmod.service did nothing but call depmod -A (which refreshes module dependency files only if required). This was ripped straight from arch initscripts, but upon closer inspection, it's really not something that makes sense. It's called late in the boot process -- after your root is mounted rw, for obvious reasons. Because it's called so late, it's not fixing anything crucial that's going to prevent you from booting. Packages which install kernel modules should be calling 'depmod $(uname -r)' or 'depmod -a' on install, so there's really not much point in keeping this silly depmod -A check around as well.
This coincides with its imminent destruction in /etc/rc.sysinit as well: http://mailman.archlinux.org/pipermail/ … 00508.html
Offline
Thanks!
But still nobody answered my question: (It's again plymouth)
Where can I see services that were started as dependencies? plymouth-quit.service gets called at every boot (I think). But "systemctl | grep -i ply" doesn't give any hint. "systemctl --all | grep -i ply" gives me:
plymouth...t-wait.service loaded inactive dead Wait for Plymouth Boot Screen to Quit
plymouth-start.service loaded inactive dead Show Plymouth Boot Screen
systemd-...ymouth.service error inactive dead systemd-ask-password-plymouth.service
so no plymouth-quit (just plymouth-quit-wait).
And I have still NO plymouth at shutdown/reboot...
EDIT: FOUND MISSING FILES (or wrong units):
plymouth-start.service:
Wants=systemd-ask-password-plymouth.path
Before=systemd-ask-password-plymouth.service
Those 2 unit files don't exist (at least for me)
Last edited by benneque (2011-04-01 20:18:42)
Offline
Hi,
Is there a service doing the job of the "Removing Leftover Files" part of /etc/rc.sysinit ? Because /tmp (amongst other files/dirs) is not flushed at boot time.
Offline
systemd is ignoring /etc/crypttab. Is there any way I can avoid having to type 3 separate passwords each boot? I searched around a bit but I didn't find anything useful.
Offline
systemd is ignoring /etc/crypttab. Is there any way I can avoid having to type 3 separate passwords each boot? I searched around a bit but I didn't find anything useful.
I'm seeing /etc/crypttab being parsed in src/cryptsetup-generator.c. The fopen call is line 232 in current git HEAD. Check your logs to make sure it isn't barfing on a malformed file (might need to boot with 'verbose'). I'm not sure how closely Arch's cryptsetup adheres to the standard.
Last edited by falconindy (2011-04-02 02:09:52)
Offline
Fixed it. My passwords in /etc/crypttab were interpreted as paths to key files. I'm not sure if this is a bug or not, but it certainly doesn't support all the features of crypttab that Arch does. I also had to remove Arch-specific handling of encrypted swap.
Offline
I do not know if it's a bug or not but every time I want to launch lighttpd service I have to create a directory "/var/run/lighttpd"
So I created a conf file in /etc/tmpfile.d but I am not sure it should be done that way
d /var/run/lighttpd 755 http http
Last edited by lymphatik (2011-04-02 09:06:01)
Offline
@lymphatik: That's exactly the way it should be done! (The other "right" way would be, if lighthttpd creates the folder itself)
Offline
I get this error when I install systemd
Failed to get D-Bus connection: Failed to connect to socket /org/freedesktop/systemd1/private: Connection refused
any ideas?
Last edited by Cosmin (2011-04-03 12:10:30)
Offline
I get this error when I install systemd
Failed to get D-Bus connection: Failed to connect to socket /org/freedesktop/systemd1/private: Connection refused
any ideas?
If you installed (not upgraded) just systemd, something in awry. Nothing in the install scriptlet could generate this error. Did you mean that this came from installing the initscripts package? In the end, you can ignore this error and reboot. It's harmless if systemd isn't even running (which is generally what causes the error).
Offline