FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 10-27-2011, 07:49 AM
Mick
 
Default coping with damaging updates

Following yet another update that has disabled user control of USB
sticks, cameras, etc. and blocked user from shutting down from the
desktop (in my case xfce4), I am at the end of my tether.

Is there some way to be fore-warned of these updates coming online and
avoid them or be ready with clear info on how to repair the damage they
are set to create.

mick
 
Old 10-27-2011, 08:09 AM
Karol Blazewicz
 
Default coping with damaging updates

On Thu, Oct 27, 2011 at 9:49 AM, Mick <bareman@tpg.com.au> wrote:
> Is there some way to be fore-warned of these updates coming online and
> avoid them or be ready with clear info on how to repair the damage they
> are set to create.
>
> mick
>

Read the mailing list.
 
Old 10-27-2011, 08:15 AM
Heiko Baums
 
Default coping with damaging updates

Am Thu, 27 Oct 2011 17:49:13 +1000
schrieb Mick <bareman@tpg.com.au>:

> Following yet another update that has disabled user control of USB
> sticks, cameras, etc. and blocked user from shutting down from the
> desktop (in my case xfce4), I am at the end of my tether.

Remove ck-launch-session from your ~/.xinitrc again.

Change "exec ck-launch-session startxfce4" back to "exec startxfce4"
and your user should be able to shut down from Xfce4 again. I don't
know if this will fix your USB issues.

Heiko
 
Old 10-27-2011, 02:45 PM
Martti Kühne
 
Default coping with damaging updates

On Thu, Oct 27, 2011 at 9:49 AM, Mick <bareman@tpg.com.au> wrote:
> Following yet another update that has disabled user control of USB
> sticks, cameras, etc. and blocked user from shutting down from the
> desktop (in my case xfce4), I am at the end of my tether.

hello

Indeed recent updateds did fuck around with group memberships, I had
to add myself again to disk, camera and iirc video groups in
/etc/group. I could swear I was a member in those groups before. There
is no way to be forewarned about this stuff, but if you could please
find out which updates are causing this stuff, we could inform the
devs about it in a more precise fashion. The other fact is that recent
udev changes modified many of the group-based permissions, which you
can only solve with manual intervention.

Solving these problems: USB sticks, cameras etc are basically
represented as device nodes in /dev, eg. /dev/usb respectively. You
can display those device nodes and their owner and group easily enough
by printing them with ls -l:
martti@deepthought:~$ ls -l /dev/sr0
brw-rw---- 1 root disk 11, 0 Oct 27 05:33 /dev/sr0

so, I have to check if I'm a member in group disk:
martti@deepthought:~$ groups
disk lp wheel video audio optical camera power vboxusers wireshark martti

Oh, I am a member in that group and may access/mount that device. If I
happen not to be, I can add myself to groups like so:
# usermod -G <groups,comma,delimited> <user>

cheers!
mar77i
 
Old 10-27-2011, 03:14 PM
Isaac Dupree
 
Default coping with damaging updates

On 10/27/2011 04:15 AM, Heiko Baums wrote:

Am Thu, 27 Oct 2011 17:49:13 +1000
schrieb Mick<bareman@tpg.com.au>:


Following yet another update that has disabled user control of USB
sticks, cameras, etc. and blocked user from shutting down from the
desktop (in my case xfce4), I am at the end of my tether.


Remove ck-launch-session from your ~/.xinitrc again.

Change "exec ck-launch-session startxfce4" back to "exec startxfce4"
and your user should be able to shut down from Xfce4 again. I don't
know if this will fix your USB issues.


Is that true? I don't see it in the Arch announcements (also shown as
news on the website), which I would hope it would be if it was a newly
required change.


(Also I last updated two days ago, still am using "exec
ck-launch-session startxfce4", and haven't noticed anything being
broken. Of course, I manually mounted my USB sticks with "sudo mount"
anyway so I might not have noticed...)


~isaac
 
Old 10-27-2011, 03:31 PM
Mick
 
Default coping with damaging updates

On Thu, 27 Oct 2011 16:45:20 +0200
Martti Kühne <mysatyre@gmail.com> wrote:

> On Thu, Oct 27, 2011 at 9:49 AM, Mick <bareman@tpg.com.au> wrote:
> > Following yet another update that has disabled user control of USB
> > sticks, cameras, etc. and blocked user from shutting down from the
> > desktop (in my case xfce4), I am at the end of my tether.
>
> hello
>
> Indeed recent updateds did fuck around with group memberships, I had
> to add myself again to disk, camera and iirc video groups in
> /etc/group. I could swear I was a member in those groups before.

> There is no way to be forewarned about this stuff,
Somebody, probably upstream, made a decision to code this behaviour
into the updated package therefore they can and should be documenting
it.

> but if you could please find out which updates are causing this stuff,
> we could inform the devs about it in a more precise fashion.
If I manage to track it down I will be putting in bug reports.

> The other fact is that recent udev changes modified many of the
> group-based permissions, which you can only solve with manual
> intervention.
>
> Solving these problems: USB sticks, cameras etc are basically
> represented as device nodes in /dev, eg. /dev/usb respectively. You
> can display those device nodes and their owner and group easily enough
> by printing them with ls -l:
> martti@deepthought:~$ ls -l /dev/sr0
> brw-rw---- 1 root disk 11, 0 Oct 27 05:33 /dev/sr0
>
> so, I have to check if I'm a member in group disk:
> martti@deepthought:~$ groups
> disk lp wheel video audio optical camera power vboxusers wireshark
> martti
>
> Oh, I am a member in that group and may access/mount that device. If I
> happen not to be, I can add myself to groups like so:
> # usermod -G <groups,comma,delimited> <user>
>

Just checked and I can't see any changes to what I set myself.

[mick@cave ~]$ groups
lp,wheel,log,locate,http,video,audio,optical,stora ge,scanner,camera,power,users,wireshark

oops disk is missing, no, group disk exists and I am a member of it, its
just the group command telling fibs.

Sometimes this breakage is silently fixed at a subsequent update,
otherwise I have stumbled on a fix by accident.

mick
 
Old 10-27-2011, 03:36 PM
Mick
 
Default coping with damaging updates

On Thu, 27 Oct 2011 10:15:32 +0200
Heiko Baums <lists@baums-on-web.de> wrote:

> Am Thu, 27 Oct 2011 17:49:13 +1000
> schrieb Mick <bareman@tpg.com.au>:
>
> > Following yet another update that has disabled user control of USB
> > sticks, cameras, etc. and blocked user from shutting down from the
> > desktop (in my case xfce4), I am at the end of my tether.
>
> Remove ck-launch-session from your ~/.xinitrc again.
>
> Change "exec ck-launch-session startxfce4" back to "exec startxfce4"
> and your user should be able to shut down from Xfce4 again. I don't
> know if this will fix your USB issues.
>
> Heiko
>
made the change but it didn't work, if I can't find what they butchered
this time before the night freight train to Cairns grinds past in half
an hour I'll give up and re-install tomorrow.

mick
 
Old 10-27-2011, 03:43 PM
Mick
 
Default coping with damaging updates

On Thu, 27 Oct 2011 10:09:48 +0200
Karol Blazewicz <karol.blazewicz@gmail.com> wrote:

> On Thu, Oct 27, 2011 at 9:49 AM, Mick <bareman@tpg.com.au> wrote:
> > Is there some way to be fore-warned of these updates coming online
> > and avoid them or be ready with clear info on how to repair the
> > damage they are set to create.
> >
> > mick
> >
>
> Read the mailing list.
>
I have just scanned the last 18 months of arch-general and
arch-announce list archives and found nothing that looked even vaguely
like "if you install this-package-update you will remove the ability to
mount your USB stick" or "this update will prevent you from rebooting
from within xfce"

next idea

mick
 
Old 10-27-2011, 04:24 PM
Leonid Isaev
 
Default coping with damaging updates

On (10/27/11 17:49), Mick wrote:
-~> Following yet another update that has disabled user control of USB
-~> sticks, cameras, etc. and blocked user from shutting down from the
-~> desktop (in my case xfce4), I am at the end of my tether.
-~>
-~> Is there some way to be fore-warned of these updates coming online and
-~> avoid them or be ready with clear info on how to repair the damage they
-~> are set to create.
-~>
-~> mick

OK, which update you are talking about?

Shutdown problems probably come from upower. Your user would loose control of
external devices only if you were in the storage/disk groups. Adding youself to
these groups was your mistake, since unless you understand what you are doing,
you should let console-kit do the permission granting. In fact, on a modern
linux system you only have to be a member of 1 group: users.

How do you start your desktop and do you have ck-launch-session running?

--
Leonid Isaev
GnuPG key ID: 164B5A6D
Key fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
 
Old 10-27-2011, 04:24 PM
Jesse Juhani Jaara
 
Default coping with damaging updates

On Fri, Oct 28, 2011 at 01:43:11AM +1000, Mick wrote:
> On Thu, 27 Oct 2011 10:09:48 +0200
> Karol Blazewicz <karol.blazewicz@gmail.com> wrote:
>
> I have just scanned the last 18 months of arch-general and
> arch-announce list archives and found nothing that looked even vaguely
> like "if you install this-package-update you will remove the ability to
> mount your USB stick" or "this update will prevent you from rebooting
> from within xfce"
>
> next idea
>
> mick

You wont have any problems if you are using a proper login manager
or have "exec ck-launc-session dbus-launch startxfce" in ya .xinitrc ^^
 

Thread Tools




All times are GMT. The time now is 08:36 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org