Bug#778565: 215-12 does not set correct rights for hidraw devices (and others) anymore

2015-02-17 Thread Klaus Ethgen
Hi Martin,

thanks for your answer.

Am Di den 17. Feb 2015 um 14:34 schrieb Martin Pitt:
 Klaus Ethgen [2015-02-16 23:02 +0100]:
   The udev rules shipped by the udev package do not use the plugdev group
   *at all*. I fail to see why an update of udev should have changed
   anything in that regard.
  
  Well, it is in fact. Installing version 215-11 fixes the bug.
 
 Which particular binary packages did you downgrade? Just udev (and
 libudev), or systemd as well?

Only udev and libudev. I have no systemd in use.

 Also, what exactly are the permissions with 215-11, and 215-12? Can
 you please give us the output of getfacl /dev/input/...?

You mean with 215-11 installed?

In /dev/input all devices writable by group input; no acl defined.

/dev/hidraw0 owned by root:plugdev and mode 0660. Also no acl defined
beside common unix rights.

  The point where I seen that directly is using solaar to look/configure
  my logitech mouse. There is a special rule that comes with it,
  /lib/udev/rules.d/60-solaar.rules, that is not working after the update.
 
 Please also attach or copy/paste that udev rule, as that seems
 relevant.

I'll attach the file to this mail.

  And even more. There was many desktop notifications about late detected
  devices. It was too many to see all of them. I believe that there is
  something really strange happen with this update.
 
 It is indeed. Like Michael said, the only difference in udev 215-12
 was for mmcblk devices with RPMB functionality which are not very
 widespread (and even then, this wouldn't affect input devices).
 
 So I'm afraid we need a lot more information here, like the udevadm
 test input/... output  from both a working and a failing situation.

Ask for everything you need. I will provide them if I can.

Here is the output for /dev/hidraw (Still version 215-11):
   ~ udevadm test /dev/hidraw0
   calling: test
   version 215
   This program is for debugging only, it does not run any program
   specified by a RUN key. It may show incorrect results, because
   some values may be different, or not available at a simulation run.

   load module index
   Network interface NamePolicy= disabled on kernel commandline, ignoring.
   Created link configuration context.
   timestamp of '/etc/udev/rules.d' changed
   timestamp of '/lib/udev/rules.d' changed
   read rules file: /lib/udev/rules.d/39-usbmuxd.rules
   read rules file: /lib/udev/rules.d/40-tlp.rules
   read rules file: /lib/udev/rules.d/40-usb_modeswitch.rules
   read rules file: /lib/udev/rules.d/42-usb-hid-pm.rules
   read rules file: /etc/udev/rules.d/45-hpdjconsole.rules
   read rules file: /lib/udev/rules.d/50-bluetooth-hci-auto-poweron.rules
   read rules file: /lib/udev/rules.d/50-firmware.rules
   read rules file: /lib/udev/rules.d/50-udev-default.rules
   read rules file: /lib/udev/rules.d/55-Argyll.rules
   read rules file: /lib/udev/rules.d/55-dm.rules
   read rules file: /lib/udev/rules.d/56-lvm.rules
   read rules file: /lib/udev/rules.d/60-bridge-network-interface.rules
   read rules file: /lib/udev/rules.d/60-cdrom_id.rules
   read rules file: /lib/udev/rules.d/60-crda.rules
   read rules file: /lib/udev/rules.d/60-drm.rules
   read rules file: /lib/udev/rules.d/60-flashrom.rules
   read rules file: /lib/udev/rules.d/60-fuse.rules
   read rules file: /lib/udev/rules.d/60-garmin-forerunner-tools.rules
   read rules file: /lib/udev/rules.d/60-gnupg.rules
   read rules file: /lib/udev/rules.d/60-heimdall-flash.rules
   read rules file: /lib/udev/rules.d/60-inputattach.rules
   read rules file: /lib/udev/rules.d/60-joystick.rules
   read rules file: /lib/udev/rules.d/60-keyboard.rules
   read rules file: /lib/udev/rules.d/60-libgphoto2-6.rules
   read rules file: /lib/udev/rules.d/60-libpisock9.rules
   read rules file: /lib/udev/rules.d/60-libsane.rules
   read rules file: /lib/udev/rules.d/60-persistent-alsa.rules
   read rules file: /lib/udev/rules.d/60-persistent-input.rules
   read rules file: /lib/udev/rules.d/60-persistent-serial.rules
   read rules file: /lib/udev/rules.d/60-persistent-storage-dm.rules
   read rules file: /lib/udev/rules.d/60-persistent-storage-tape.rules
   read rules file: /lib/udev/rules.d/60-persistent-storage.rules
   read rules file: /lib/udev/rules.d/60-persistent-v4l.rules
   read rules file: /lib/udev/rules.d/60-solaar.rules
   read rules file: /lib/udev/rules.d/61-accelerometer.rules
   read rules file: /lib/udev/rules.d/64-btrfs.rules
   read rules file: /lib/udev/rules.d/64-xorg-xkb.rules
   read rules file: /lib/udev/rules.d/69-libmtp.rules
   read rules file: /lib/udev/rules.d/69-lvm-metad.rules
   read rules file: /lib/udev/rules.d/70-android-tools-adb.rules
   read rules file: /lib/udev/rules.d/70-android-tools-fastboot.rules
   read rules file: /lib/udev/rules.d/70-btrfs.rules
   read rules file: /etc/udev/rules.d/70-persistent-cd.rules
   read rules file: /etc/udev/rules.d/70-persistent-net.rules
   read rules file: /lib/udev/rules.d/70-power-switch.rules
   read 

Bug#778565: 215-12 does not set correct rights for hidraw devices (and others) anymore

2015-02-17 Thread Martin Pitt
Control: tag -1 unreproducible moreinfo

Hello Klaus,

Klaus Ethgen [2015-02-16 23:02 +0100]:
  The udev rules shipped by the udev package do not use the plugdev group
  *at all*. I fail to see why an update of udev should have changed
  anything in that regard.
 
 Well, it is in fact. Installing version 215-11 fixes the bug.

Which particular binary packages did you downgrade? Just udev (and
libudev), or systemd as well?

Also, what exactly are the permissions with 215-11, and 215-12? Can
you please give us the output of getfacl /dev/input/...?

 The point where I seen that directly is using solaar to look/configure
 my logitech mouse. There is a special rule that comes with it,
 /lib/udev/rules.d/60-solaar.rules, that is not working after the update.

Please also attach or copy/paste that udev rule, as that seems
relevant.

 And even more. There was many desktop notifications about late detected
 devices. It was too many to see all of them. I believe that there is
 something really strange happen with this update.

It is indeed. Like Michael said, the only difference in udev 215-12
was for mmcblk devices with RPMB functionality which are not very
widespread (and even then, this wouldn't affect input devices).

So I'm afraid we need a lot more information here, like the udevadm
test input/... output  from both a working and a failing situation.

Martin

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


signature.asc
Description: Digital signature


Bug#778565: 215-12 does not set correct rights for hidraw devices (and others) anymore

2015-02-16 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Package: udev
Version: 215-12
Severity: important

After updating from 215-11 to 215-12, usb hidraw devices stopped to be
accessable by plugdev group after reboot. I only checked that rights as
this ist the most important for me but had also some other error
messages after the reboot.

So the system is only partial working after that update.

- -- Package-specific info:

- -- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (800, 'unstable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.6 (SMP w/8 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to 
de_DE)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages udev depends on:
ii  adduser3.113+nmu3
ii  debconf [debconf-2.0]  1.5.55
ii  libacl12.2.52-2
ii  libblkid1  2.25.2-5
ii  libc6  2.19-15
ii  libkmod2   18-3
ii  libselinux12.3-2
ii  libudev1   215-12
ii  lsb-base   4.1+Debian13+nmu1
ii  procps 2:3.3.9-8
ii  util-linux 2.25.2-5

udev recommends no packages.

udev suggests no packages.

- -- debconf information:
  udev/new_kernel_needed: false
  udev/title/upgrade:
  udev/sysfs_deprecated_incompatibility:
  udev/reboot_needed:

- -- 
Klaus Ethgen  http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen kl...@ethgen.de
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQGcBAEBCgAGBQJU4jwEAAoJEKZ8CrGAGfasgygL/1ROlK85k13ZlZZzeME1KRTK
YwGlbEhZB1svyoSjoGLHXg6mRKSW01Ogomen/ozFIfZrTsoXsoMUfI3Dvm2vef2g
DyWkzwwq3fPtQFBaL7EgHKTqYSk/IjEPRN1hTIvqBoAknkDijrNIrqtqEgaNe70l
oR2RyZhYT4mjG9r0RFhqpfBgwQF3z+RpPofAj7XcBX1LNs0tGO06ACz4+tpN+yOX
6RrSAVUpj4bMN+WUqWM1b37rDX6Wtq0q3nplDZ1r4Y85tb/tqqe5+BmQbwd1p2wl
JCy5nGXRXGtXlhullR+ZquQefkbLBRJJjkEOSUAPUCbJai2ZRWcaGgmT9aeYLBmC
bdgW7X19aPpZ8Iyga5xtiq4V1f0weiD4Z8jvZgKWGTduyeIE0cqPnTVqbjARwKU8
ijquB2YVr//70QgVJ9LobUYOxfrfyqJoZQuyjCSuJIVR6dk81UTQ9llfmt0BJYCz
42khGJByYFOPp7v+TEDKBwDGkQ2GvwLrr9Rf8mgvIw==
=ktTJ
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778565: 215-12 does not set correct rights for hidraw devices (and others) anymore

2015-02-16 Thread Michael Biebl
Am 16.02.2015 um 23:02 schrieb Klaus Ethgen:
 Am Mo den 16. Feb 2015 um 21:46 schrieb Michael Biebl:
 Am 16.02.2015 um 19:50 schrieb Klaus Ethgen:
 Package: udev
 Version: 215-12
 Severity: important

 After updating from 215-11 to 215-12, usb hidraw devices stopped to be
 accessable by plugdev group after reboot. I only checked that rights as
 this ist the most important for me but had also some other error
 messages after the reboot.

 So the system is only partial working after that update.
 
 The udev rules shipped by the udev package do not use the plugdev group
 *at all*. I fail to see why an update of udev should have changed
 anything in that regard.
 
 Well, it is in fact. Installing version 215-11 fixes the bug.
 
 And aside from that, the only udev related change in 215-12 was [1],
 which isn't relevant regarding hidraw devices.
 
 Well, then I suspect that there got something else into that package
 under the radar.
 

Please run git bisect to find the commit then.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#778565: 215-12 does not set correct rights for hidraw devices (and others) anymore

2015-02-16 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Am Mo den 16. Feb 2015 um 21:46 schrieb Michael Biebl:
 Am 16.02.2015 um 19:50 schrieb Klaus Ethgen:
  Package: udev
  Version: 215-12
  Severity: important
  
  After updating from 215-11 to 215-12, usb hidraw devices stopped to be
  accessable by plugdev group after reboot. I only checked that rights as
  this ist the most important for me but had also some other error
  messages after the reboot.
  
  So the system is only partial working after that update.
 
 The udev rules shipped by the udev package do not use the plugdev group
 *at all*. I fail to see why an update of udev should have changed
 anything in that regard.

Well, it is in fact. Installing version 215-11 fixes the bug.

 And aside from that, the only udev related change in 215-12 was [1],
 which isn't relevant regarding hidraw devices.

Well, then I suspect that there got something else into that package
under the radar.

 I suspect that the problem you have lies elsewhere, but with the given
 information it's hard to tell.

Then please tell me why the problem is gone when I go back to 215-11
without changing anything else?

I believe that it is not that easy to find. But it is clearly udev
update that triggered the issue.

The point where I seen that directly is using solaar to look/configure
my logitech mouse. There is a special rule that comes with it,
/lib/udev/rules.d/60-solaar.rules, that is not working after the update.

And even more. There was many desktop notifications about late detected
devices. It was too many to see all of them. I believe that there is
something really strange happen with this update.

Regards
   Klaus
- -- 
Klaus Ethgen  http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen kl...@ethgen.de
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQGcBAEBCgAGBQJU4mkJAAoJEKZ8CrGAGfasSKEL/1ZFBd/IEWyVHWN6D+KHvByU
BG3sQwe32gwzFSiynN5kLg31gL8CcWh6+T4La9xOOIGb7xl1cn9P7mJsjxaaMVS0
YG5KRZw8rT1314pSaf2c3UkQti0ezLHXS9+3Rq2VFaZIfC51xgTVd94v7wEYziqf
nHKjdQ/f+P/7u3NvOsKFdpj49NNOxy1slxLDwCg7FY9Xby7jxSHSrAO4+gzHq4En
fOnLQnfhAGSILUrSNU9rKWBYypi/TMpQjKJ4DhAS2dlnS5IvGMwZ6w7Ib8hNU/zl
1jcdfHTpFWsJpldZfMCrtTMeMbL9PqLbAg3rBXq8+x84oQAHPuOh3ttvWrcsVpd0
o142LLDekAGSpjQSG3fP4ya2okEY/lTnLgKWRHX7t0jujreQpzpD8Hg260fg55dd
siWETB3qi1LF6LYLklx6PjZtqm4KjE6tHR4awv5ir8yUbodpP/fAUx2iLHIBMKew
WAuWSdQc9+FTR/7gDEeHDwWSwYwVCs/0wilsnrkavA==
=v3EC
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org