You are not logged in.

#1 2011-10-30 07:22:37

Follmer
Member
Registered: 2011-10-30
Posts: 4

System broken after update

Hello,

after updating my system yesterday I the system is broken.
After login I get the message that the dbus-daemon is not running but it does.
On the console I get the message that I have no permission to access /dev/null.
It seams that everything in /dev has the permission set to
crw-------   1 root     root
/etc/udev/rules.d/ is empty
I have reinstalled udev but this didn't help

Offline

#2 2011-10-30 10:35:28

Laertes
Member
From: Munich
Registered: 2007-04-08
Posts: 66

Re: System broken after update

I have a similar issue. It is caused by the change to udev 174. I solved it downgrading to udev 173 but that's not the proper solution. I guess the solution is to write some udev rules manually but I have never done it before.

Offline

#3 2011-10-30 11:21:56

Follmer
Member
Registered: 2011-10-30
Posts: 4

Re: System broken after update

I can't downgrade because mkinitcpio want's this udev version.
Can someone point me to a good udev documentation where I can
create this udev rules?

Offline

#4 2011-10-30 11:24:46

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: System broken after update


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#5 2011-10-30 11:27:13

Laertes
Member
From: Munich
Registered: 2007-04-08
Posts: 66

Re: System broken after update

Yes, but you can downgrade mkinitcpio too. I have now udev-173-3 and mkinitcpio-0.7.4-1 working in my system.

Offline

#6 2011-10-30 15:04:34

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: System broken after update

Please don't downgrade. The likely culprit is rules you've added to /etc/udev/rules.d. There's been several posts about this on the forums and at least 1 bug report all with the same solution.

Last edited by falconindy (2011-10-30 15:04:56)

Offline

#7 2011-10-30 16:39:18

Laertes
Member
From: Munich
Registered: 2007-04-08
Posts: 66

Re: System broken after update

I've solved the issue. The problem was that all the devices in /dev where root/root owned so no regular user could access them. I hadn't added any rule to /etc/udev/rules.d so I thought the culprit was somewhere in /lib/udev/rules.d. I took the quickest way, I deleted all rules there (after making a copy somewhere else, of course) because I didn't know if I had changed something and I installed again udev 174 and now everything works.

I am now in the process of reinstalling all the packages that install udev rules in this folder. I guess this was not the "best" way of solving this, but at least it worked.

Offline

#8 2011-10-30 18:45:55

Follmer
Member
Registered: 2011-10-30
Posts: 4

Re: System broken after update

Moving /etc/udev/rules.d and reinstalling udev was one of the first things I tried, but it didn't work for me.
As a workaround I chmod -R a+rw /dev but this is not really a long-time solution.

Offline

#9 2011-10-30 20:40:06

Laertes
Member
From: Munich
Registered: 2007-04-08
Posts: 66

Re: System broken after update

Note that in my case the problem was in /lib/udev/rules.d not in /etc/udev/rules.d

Offline

#10 2011-10-31 06:47:05

Follmer
Member
Registered: 2011-10-30
Posts: 4

Re: System broken after update

Ooops, I didnt't read this correctly.
Moving /lib/udev/rules.d and
for i in $(pacman -Ql | grep /lib/udev/rules.d | awk '{ print $1 }' | sort -u); do pacman -S $i; done
solved the problem for me.
Thank you very much.

Offline

Board footer

Powered by FluxBB