FS#30865 - [systemd 187-3] dhcpcd failed to start (eth0)

Attached to Project: Arch Linux
Opened by gyrvim (gyrvim) - Thursday, 26 July 2012, 18:59 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 26 July 2012, 20:13 GMT
Task Type Support Request
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

* package version(s)
systemd 187-3
systemd-arch-units 20120704-1
dhcpcd 5.5.6-1

* config and/or log files etc.
systemctl status dhcpcd@.service
Failed to issue method call: Unit name dhcpcd@.service is not valid.

NB: downgrade to systemd 187-2 works fine.
This task depends upon

Closed by  Dave Reisner (falconindy)
Thursday, 26 July 2012, 20:13 GMT
Reason for closing:  Not a bug
Comment by Dave Reisner (falconindy) - Thursday, 26 July 2012, 19:06 GMT
So where is this unit file, exactly? You shouldn't expect that calling status for the uninstantiated unit works.
Comment by gyrvim (gyrvim) - Thursday, 26 July 2012, 19:10 GMT
I have installed systemd-arch-units

systemctl enable dhcpcd@.service
ln -s '/usr/lib/systemd/system/dhcpcd@.service' '/etc/systemd/system/multi-user.target.wants/dhcpcd@eth0.service'
Comment by Dave Reisner (falconindy) - Thursday, 26 July 2012, 19:17 GMT
Right...and what does status show on the unit instance?
Comment by gyrvim (gyrvim) - Thursday, 26 July 2012, 19:37 GMT
i think dhcpcd@.service is ok.

[Unit]
Description=dhcpcd on %I
Wants=network.target
Before=network.target

[Service]
Type=forking
PIDFile=/run/dhcpcd-%I.pid
ExecStart=/sbin/dhcpcd -A -q -w %I
ExecStop=/sbin/dhcpcd -k %I

[Install]
Alias=multi-user.target.wants/dhcpcd@eth0.service


dhcpcd start without errors on boot but can't connect to internet.

when i restart pc i get this warning:
[DEPEND] Dependency failed for graphical interface.
Comment by Dave Reisner (falconindy) - Thursday, 26 July 2012, 19:39 GMT
So you're missing a display-manager.service alias... What are you using for a DM unit? does it have Alias=display-manager.service?
Comment by gyrvim (gyrvim) - Thursday, 26 July 2012, 19:51 GMT
I use kde 4.9 from kde-unstable.

kdm.service

[Unit]
Description=K Display Manager
After=systemd-user-sessions.service

[Service]
ExecStart=/usr/bin/kdm -nodaemon

[Install]
Alias=display-manager.service


i enabled it via: systemctl enable kdm.service
display-manager.service is linked in /etc/systemd/system/
Comment by Dave Reisner (falconindy) - Thursday, 26 July 2012, 20:00 GMT
Does the kdm.service symlink still exist in /etc/systemd/system/graphical.target.wants ?
Comment by gyrvim (gyrvim) - Thursday, 26 July 2012, 20:10 GMT
ok problem solved!

symlinks are corrupted.

thanks

Loading...