You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2011-10-24 18:10:43

nemesis2all
Member
Registered: 2011-10-07
Posts: 10

[Solved] udev 174-1 issue

With the recent change to udev optical drives belong to disk group instead of optical. To play a dvd I either have to add my self to disk group or setup up a rule in /etc/udev/rules.d/ to change the group to optical. Those are the two methods that I've been able to make work but I believe they will be depreciated.

Moving forward how is archbang going to handle this? Policykit, udisks, what? If someone can shed some light on this for me I'd appreciate it.

Last edited by nemesis2all (2011-10-25 07:56:22)

Offline

#2 2011-10-25 01:54:51

ArchVortex
Retired AB Overlord
From: Jakarta, Indonesia
Registered: 2011-04-01
Posts: 1,449

Re: [Solved] udev 174-1 issue

Thanks for bringing this to attention!!

I'm not sure what's going to happen because apparently there will be more work done by Tom Gunderson this week on udev. Some things changed with storage as well. We'll have to wait to hear what Will says as he will be the one to make the decisions and changes.

Until then it is probably easier for everyone to:

  # gpasswd -a yourusername disk

to add yourself to disk group if watching DVD's is required for now.

For those of you who want to know what groups you are added to:

# nano /etc/groups

will show you the groups.


GUI's?? We don't need no stinkin' GUI's!!!

Offline

#3 2011-10-25 03:24:11

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,662
Website

Re: [Solved] udev 174-1 issue

It think this is something that belongs in update warnings.
I will do it.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#4 2011-10-25 03:26:58

ArchVortex
Retired AB Overlord
From: Jakarta, Indonesia
Registered: 2011-04-01
Posts: 1,449

Re: [Solved] udev 174-1 issue

Thanks pablokal!

I have three lectures to give today and very busy.


GUI's?? We don't need no stinkin' GUI's!!!

Offline

#5 2011-10-25 05:30:59

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,892

Re: [Solved] udev 174-1 issue

@pablokal can you add code tags to warning thread please, I cannot edit it [no special powers!] just make it more clearer

bring back hotplug smile

Offline

#6 2011-10-25 05:49:00

ArchVortex
Retired AB Overlord
From: Jakarta, Indonesia
Registered: 2011-04-01
Posts: 1,449

Re: [Solved] udev 174-1 issue

@ Mr Green

I just did. You can't edit the post? Let me check.


GUI's?? We don't need no stinkin' GUI's!!!

Offline

#7 2011-10-25 05:58:40

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,892

Re: [Solved] udev 174-1 issue

Cannot even reply... not a bad thing keeps forum nice and tidy....

Offline

#8 2011-10-25 07:54:50

nemesis2all
Member
Registered: 2011-10-07
Posts: 10

Re: [Solved] udev 174-1 issue

Also the other part of upgrade is udev isn't creating symlinks. So if needed you can add this to /etc/rc.local

# create optical drive symlinks
ln -s /dev/sr0 /dev/cdrom
ln -s /dev/sr0 /dev/cdrw
ln -s /dev/sr0 /dev/dvd
ln -s /dev/sr0 /dev/dvdrw

Below is an alternative method to adding yourself to the group disk. You can create your own udev rule in /etc/udev/rules.d
81-custom-optical-group.rules

# permissions for IDE CD devices
SUBSYSTEMS=="ide", KERNEL=="hd[a-z]", ATTR{removable}=="1", ATTRS{media}=="cdrom*", GROUP="optical"

# permissions for SCSI CD devices
SUBSYSTEMS=="scsi", KERNEL=="s[rg][0-9]*", ATTRS{type}=="5", GROUP="optical"

Last edited by nemesis2all (2011-10-25 08:04:19)

Offline

Board footer

Powered by FluxBB