Debian Bug report logs - #491114
dmsetup: udev rules breaks normal devices permissions (i.e /dev/null)

version graph

Package: dmsetup; Maintainer for dmsetup is Debian LVM Team <team+lvm@tracker.debian.org>; Source for dmsetup is src:lvm2 (PTS, buildd, popcon).

Reported by: "Jean-Luc Coulon (f5ibh)" <jean-luc.coulon@wanadoo.fr>

Date: Wed, 16 Jul 2008 18:42:01 UTC

Severity: critical

Merged with 491107

Found in version devmapper/2:1.02.27-2

Fixed in version devmapper/2:1.02.27-3

Done: Bastian Blank <waldi@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>:
Bug#491114; Package dmsetup. (full text, mbox, link).


Acknowledgement sent to "Jean-Luc Coulon (f5ibh)" <jean-luc.coulon@wanadoo.fr>:
New Bug report received and forwarded. Copy sent to Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Jean-Luc Coulon (f5ibh)" <jean-luc.coulon@wanadoo.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dmsetup: udev rules breaks normal devices permissions (i.e /dev/null)
Date: Wed, 16 Jul 2008 20:39:51 +0200
Package: dmsetup
Version: 2:1.02.27-1
Severity: critical
Justification: breaks unrelated software

Hi,

Version 2:1.02.27-2 introduces /etc/udev/rules.d/65_dmsetup.rules.
These rules break the normal behaviour of udev.

I remarked most of the devices have no more their permissions updated. i.e.
/dev/null, /dev/random, /dev/zero, ... which has 660 instead of 666. This
prevent some software to start (i.e fecthmail).
I tried to rebuild the initramfs (update-initramfs -k all -u) which renders the
system unbootable.
I've reverted to 1.02.27-1 which didnt fix the problem by itself. A diff from a
backup shows me that the udev rules was added. I've deleted it and rebuilt the
intitramfs which fixed the problem.

My system is built on lvm2 over raid1 (boot partition is not on lvm).

Regards

Jean-Luc

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-k8-7.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dmsetup depends on:
ii  libc6                        2.7-12      GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.27-1 The Linux Kernel Device Mapper use

dmsetup recommends no packages.

-- no debconf information





Forcibly Merged 491107 491114. Request was from Bastian Blank <waldi@debian.org> to control@bugs.debian.org. (Wed, 16 Jul 2008 19:24:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>:
Bug#491114; Package dmsetup. (full text, mbox, link).


Acknowledgement sent to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #12 received at 491114@bugs.debian.org (full text, mbox, reply):

From: Simon McVittie <smcv@debian.org>
To: control@bugs.debian.org
Cc: 491114@bugs.debian.org
Subject: notfound 491114 in 2:1.02.27-1
Date: Thu, 17 Jul 2008 01:34:31 +0100
# Automatically generated email from bts, devscripts version 2.10.33
# the reporter explained that -2 was the buggy version and -1 was a downgrade to fix it
notfound 491114 2:1.02.27-1





Bug no longer marked as found in version 2:1.02.27-1. Request was from Simon McVittie <smcv@debian.org> to control@bugs.debian.org. (Thu, 17 Jul 2008 00:36:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>:
Bug#491114; Package dmsetup. (full text, mbox, link).


Acknowledgement sent to David Härdeman <david@hardeman.nu>:
Extra info received and forwarded to list. Copy sent to Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #19 received at 491114@bugs.debian.org (full text, mbox, reply):

From: David Härdeman <david@hardeman.nu>
To: 491114@bugs.debian.org
Cc: 491107@bugs.debian.org
Subject: Solution
Date: Thu, 17 Jul 2008 09:24:54 +0200
/etc/udev/rules.d/65_dmsetup.rules needs to be changed so that the three 
first lines all have GOTO="device_mapper_end".

-- 
David Härdeman




Information forwarded to debian-bugs-dist@lists.debian.org, Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>:
Bug#491114; Package dmsetup. (full text, mbox, link).


Acknowledgement sent to Tim Brown <timb@nth-dimension.org.uk>:
Extra info received and forwarded to list. Copy sent to Debian LVM Team <pkg-lvm-maintainers@lists.alioth.debian.org>. (full text, mbox, link).


Message #24 received at 491114@bugs.debian.org (full text, mbox, reply):

From: Tim Brown <timb@nth-dimension.org.uk>
To: 491114@bugs.debian.org
Subject: Work around confirmation
Date: Thu, 17 Jul 2008 09:56:21 +0100
> /etc/udev/rules.d/65_dmsetup.rules needs to be changed so that the three 
first lines all have GOTO="device_mapper_end".

Confirmed that this resolves the problem.

Cheers,
Tim
-- 
Tim Brown
<mailto:timb@nth-dimension.org.uk>
<http://www.nth-dimension.org.uk/>




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 22 Aug 2008 07:26:16 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 14 01:22:07 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.