linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Marco d'Itri" <md@Linux.IT>
To: linux-hotplug@vger.kernel.org
Subject: Bug#261181: udev: doesn't notice parentheses in rules files
Date: Mon, 13 Sep 2004 12:18:44 +0000	[thread overview]
Message-ID: <20040913121844.GA6208@wonderland.linux.it> (raw)

Looks like it has some merit, invalid % sequences are not reported.

----- Forwarded message from Joe Pfeiffer <pfeiffer@zianet.com> -----

Subject: Bug#261181: udev: doesn't notice parentheses in rules files
Reply-To: Joe Pfeiffer <pfeiffer@zianet.com>, 261181@bugs.debian.org
Original-Sender: Joe Pfeiffer <pfeiffer@zianet.com>
X-Debian-PR-Message: report 261181
X-Debian-PR-Package: udev
X-Debian-PR-Keywords: 
From: Joe Pfeiffer <pfeiffer@zianet.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>

Package: udev
Version: 0.026-1
Severity: wishlist

some udev rules require the use of braces, as in
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%c{1}", SYMLINK="%k %c{2}"

It is easy to mistakenly attempt to create a rule using parentheses
instead.

I'm not quite sure what udev does with these errors, but it doesn't
report a syntax error, and finding the mistake can take longer than it
should...

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7snowball
Locale: LANG=C, LC_CTYPE=C

Versions of packages udev depends on:
ii  debconf [debconf-2.0]    1.4.29          Debian configuration management sy
ii  hotplug                  0.0.20040329-11 Linux Hotplug Scripts
ii  initscripts              2.85-22         Standard scripts needed for bootin
ii  libc6                    2.3.2.ds1-13    GNU C Library: Shared libraries an
ii  libnewt0.51              0.51.6-5        Not Erik's Windowing Toolkit - tex
ii  makedev                  2.3.1-70        Creates device files in /dev

-- debconf information:
* udev/devfs-warning:
* udev/reboot-warning:

----- End forwarded message -----

-- 
ciao, |
Marco | [7974 scPL7EWZC1tNI]


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2004-09-13 12:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-13 12:18 Marco d'Itri [this message]
2005-04-26  5:51 ` Bug#261181: udev: doesn't notice parentheses in rules file Robert Bihlmeyer
2005-04-26 11:30 ` Kay Sievers
2005-04-28  5:21 ` Robert Bihlmeyer
2005-04-28  6:06 ` Greg KH
2005-04-28 17:26 ` Robert Bihlmeyer
2005-04-28 18:30 ` Kay Sievers
2005-04-29  5:28 ` Robert Bihlmeyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040913121844.GA6208@wonderland.linux.it \
    --to=md@linux.it \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).