Your message dated Sun, 28 May 2017 21:03:39 +0000 with message-id <E1dF5Lf-0000VH-Dg@fasolo.debian.org> and subject line Bug#698012: fixed in debian-policy 4.0.0.0 has caused the Debian Bug report #698012, regarding debian-policy: Please update 10.6 "Device files" for udev and the like to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 698012: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698012 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: debian-policy: Please update 10.6 "Device files" for udev and the like
- From: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
- Date: Sat, 12 Jan 2013 21:00:48 +0100
- Message-id: <1358020517@msgid.manchmal.in-ulm.de>
Package: debian-policy Severity: normal Hi, recently I stumbled over the following paragraph in 10.6: If a package needs any special device files that are not included in the base system, it must call MAKEDEV in the postinst script, after notifying the user. and I think it needs an improvement. Mostly, this sentence smells like it predates the times of dynamically populated /dev like udev, or formerly devfs. Today, creating the device files in postinst is often skipped if udev is running, for example in fuse. Therefore, technically fuse violates 10.6 but that's of course silly. The demand above is mostly historic. More important, at least on systems running udev, is to ensure the device files do exist after a reboot, or the latest if programs are started that rely on them. Aside: Although there's no other dynamically populated /dev in Debian at the moment but udev, all rules should be in a neutral wording so they will still fit any successors. I'll use "/dev manager" as a generalized term. A /dev manager is a subsystem that creates device dynamically as come into existance. As far as I can see, the following cases must be covered: * static /dev This is an opportunity to to legalize fuse's behaviour by stating that device files should (or must?) not be created if a /dev manager is running. A more flexible approach was any /dev manager must provide a policy whether static device files should be created, with "not at all" for udev, and a package's postinst must act accordingly. So the old sentence might we worded like If a package needs any special device files that are not included in the base system, and there's no /dev manager running, it must call MAKEDEV in the postinst script, after notifying the user. On a second thought, this opens an interesting question if there's a need to catch the case when a package is configured while udev is running, hence no static devices files created, but udev is later disabled, thus not device files present, likely causing breakage. But that's for another day. * /dev manager used This clarifies support for udev and the like to re-create devices during reboot. So it's about /lib/udev/rules.d/ sniplets. If a /dev manager needs additional information to create the device files, the package must provide according control data. A clarification for udev, nothing needs to be done if udev ... - somehow already knows how to create a device. - cannot create the device due to missing sysfs support in the underlying kernel module. The latter case does exists, is the reason for ... * fallback If any /dev manager cannot create device files needed by the package for reasons out of its domain, the package must create them in due time.[0] [0]preferably in an init script. Thanks in advance for comments, I probably missed a few points. ChristophAttachment: signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
- To: 698012-close@bugs.debian.org
- Subject: Bug#698012: fixed in debian-policy 4.0.0.0
- From: Russ Allbery <rra@debian.org>
- Date: Sun, 28 May 2017 21:03:39 +0000
- Message-id: <E1dF5Lf-0000VH-Dg@fasolo.debian.org>
Source: debian-policy Source-Version: 4.0.0.0 We believe that the bug you reported is fixed in the latest version of debian-policy, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 698012@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Russ Allbery <rra@debian.org> (supplier of updated debian-policy package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sun, 28 May 2017 12:27:07 -0700 Source: debian-policy Binary: debian-policy Architecture: source Version: 4.0.0.0 Distribution: experimental Urgency: low Maintainer: Debian Policy List <debian-policy@lists.debian.org> Changed-By: Russ Allbery <rra@debian.org> Description: debian-policy - Debian Policy Manual and related documents Closes: 175064 181123 568374 688220 698012 700532 734662 746514 759186 759492 768117 768292 781654 792853 793493 793999 794902 798309 809382 816249 816515 819660 820197 821365 821859 822059 823348 823910 824922 829367 830989 833177 835490 835876 841877 849483 850646 852314 Changes: debian-policy (4.0.0.0) experimental; urgency=low . [ Andreas Barth ] * Policy: Add the MPLs to /usr/share/common-licenses Wording: Charles Plessy <plessy@debian.org> Seconded: Russ Allbery <rra@debian.org> Seconded: Andrey Rahmatullin <wrar@debian.org> Closes: #768292 * Policy: [5.6.12] forbid colons in package version numbers Wording: Charles Plessy <plessy@debian.org> Seconded: Didier 'OdyX' Raboud <odyx@debian.org> Seconded: Sam Hartman <hartmans@debian.org> Thanks: Jakub Wilk <jwilk@debian.org> Closes: #792853 * Policy: [4.3] Update config.guess and config.sub during the build Wording: Bill Allombert <ballombe@debian.org> Seconded: Niels Thykier <niels@thykier.net> Seconded: Andreas Barth <aba@ayous.org> Closes: #746514 * Spelling fixes, thanks to Martin A. Brown. Closes: #820197 . [ Russ Allbery ] * Policy: [10.9] Don't contact base-passwd maintainer for dynamic users Wording: Colin Watson <cjwatson@debian.org> Seconded: Russ Allbery <rra@debian.org> Seconded: Didier 'OdyX' Raboud <odyx@debian.org> Seconded: gregor herrmann <gregoa@debian.org> Closes: #841877 * Policy: Document Build-Depends-Arch and Build-Conflicts-Arch Wording: Johannes Schauer <josch@debian.org> Seconded: Stuart Prescott <stuart@debian.org> Seconded: Russ Allbery <rra@debian.org> Closes: #823910 * Policy: Add nodoc tag to DEB_BUILD_OPTIONS Wording: Russ Allbery <rra@debian.org> Seconded: Johannes Schauer <j.schauer@email.de> Seconded: Charles Plessy <plessy@debian.org> Seconded: Andrey Rahmatullin <wrar@debian.org> Closes: #759186 * Policy: Prohibit file conflicts between /bin and /usr/bin Wording: Ansgar Burchardt <ansgar@debian.org> Wording: Russ Allbery <rra@debian.org> Seconded: Raphael Hertzog <hertzog@debian.org> Seconded: Felipe Sateler <fsateler@debian.org> Closes: #759492 * Policy: Debug packages don't need a debian/control paragraph Wording: Tanguy Ortolo <tanguy+debian@ortolo.eu> Seconded: Russ Allbery <rra@debian.org> Seconded: Raphael Hertzog <hertzog@debian.org> Closes: #819660 * Policy: New dpkg-architecture flags Wording: Guillem Jover <guillem@debian.org> Seconded: Russ Allbery <rra@debian.org> Seconded: Raphael Hertzog <hertzog@debian.org> Closes: #793493 * Policy: Remove even the fallback to calling /etc/init.d directly Wording: Ondřej Nový <onovy@debian.org> Seconded: Michael Stapelberg <stapelberg@debian.org> Seconded: Andreas Henriksson <andreas@fatal.se> Closes: #833177 * Policy: Limit strength of dependencies on -doc packages Wording: Josh Triplett <josh@joshtriplett.org> Seconded: Russ Allbery <rra@debian.org> Seconded: Raphael Hertzog <hertzog@debian.org> Seconded: Niels Thykier <niels@thykier.net> Closes: #823348 * Policy: Explicitly allow https form of copyright-format URL Wording: Russ Allbery <rra@debian.org> Seconded: Andrey Rahmatullin <wrar@debian.org> Seconded: gregor herrmann <gregoa@debian.org> Seconded: Didier 'OdyX' Raboud <odyx@debian.org> Closes: #850646 * Policy: Recommend libraryname-dev or librarynameAPIVERSION-dev Wording: Ansgar Burchardt <ansgar@debian.org> Seconded: Julien Cristau <jcristau@debian.org> Seconded: Emilio Pozuelo Monfort <pochu@debian.org> Closes: #568374 * Policy: Add optional try-restart init status, make status recommended Wording: Andreas Henriksson <andreas@fatal.se> Seconded: Simon McVittie <smcv@debian.org> Seconded: Felipe Sateler <fsateler@debian.org> Seconded: Ondřej Nový <novy@ondrej.org> Closes: #181123 * Policy: No special dependency now required for /run Wording: Marc Haber <mh+debian-packages@zugschlus.de> Seconded: Andreas Henriksson <andreas@fatal.se> Seconded: Russ Allbery <rra@debian.org> Closes: #852314 * Policy: Update policy on /dev and device file management Wording: Russ Allbery <rra@debian.org> Seconded: Andreas Henriksson <andreas@fatal.se> Seconded: Simon McVittie <smcv@debian.org> Closes: #698012 * Policy: Remove integration instructions for upstart Wording: Ansgar Burchardt <ansgar@debian.org> Seconded: Michael Biebl <biebl@debian.org> Seconded: Andrey Rahmatullin <wrar@debian.org> Seconded: Simon McVittie <smcv@debian.org> Closes: #835490 * Perl: Update module search path for multiarch support Wording: Dominic Hargreaves <dom@earth.li> Seconded: Niko Tyni <ntyni@debian.org> Seconded: Russ Allbery <rra@debian.org> Closes: #798309 * virtual-package-names-list: Add adventure Wording: Ben Finney <ben+debian@benfinney.id.au> Seconded: Russ Allbery <rra@debian.org> Seconded: Niels Thykier <niels@thykier.net> Closes: #821859 * virtual-package-names-list: Add httpd-wsgi3 Wording: Bill Allombert <ballombe@debian.org> Seconded: Brian May <bam@debian.org> Seconded: Russ Allbery <rra@debian.org> Closes: #768117 * virtual-package-names-list: Add virtual-mysql-* packages Wording: Otto Kekäläinen <otto@debian.org> Seconded: Russ Allbery <rra@debian.org> Seconded: Raphael Hertzog <hertzog@debian.org> Closes: #829367 * Convert all remaining DebianDoc-SGML source files in the package to DocBook XML. Many thanks to Osamu Aoki and Guillem Jover for lots of hard work on the conversion. This was a huge conversion, so there will probably be some lingering formatting issues, incorrect markup, and less-than-ideal output. Please report any problems as bugs. (Closes: #175064, #700532, #809382) * Additional fixes from Guillem Jover as part of the DocBook conversion: - Stop distributing the source SGML files as part of the installed package. There doesn't seem to be any point in doing this. - Switch to xsltproc and dblatex instead of OpenJade. - Stop using tidy on the generated files since it generates larger files and the output from xsltproc is already compliant and fairly clean. - Remove unused Build-Depends. - Use entities instead of literal <, >, and & characters. - Use <var> instead of escaped angle brackets for metavariables. - Use <var> instead of <em> inside <tt>. - Avoid slashes in section IDs. - Convert a comment about maintenance policy in the Menu Policy document to a regular paragraph in the document. - Replace a comment reference to the policy maintenance process with an actual link to Process.md. - Remove obsolete SGML comments. * Move the description of < and > relations to a footnote to make abundantly clear that they're no longer valid relation operators in dependencies. (Closes: #816515) * Clarify informative mentions of debian/tmp in the appendices to document the now-common use of debian/<pkg> instead as the temporary staging area. Document that convention, instead of debian/tmp-something, for multi-binary packages. Thanks, Niels Thykier. (Closes: #816249) * Remove lingering wording that implied that build-arch and build-indep targets are optional. Thanks, Ferenc Wagner, Jakub Wilk, and Charles Plessy. (Closes: #793999) * Rather than giving the paths to the installed shlibs and symbols files and then saying those paths shouldn't be used, just say to use dpkg-query --control-show. Recommend --control-show instead of --control-path, since the latter is deprecated. Patch from Salvatore Bonaccorso. (Closes: #688220) * Explicitly give Unicode code points in the definition of the syntax of Debian control files and, where appropriate, show the character. Patch from Ben Finney. (Closes: #821365) * Remove obsolete footnote about a versioned dependency on a liblockfile1 release from 1999. Thanks, Jakub Wilk. (Closes: #794902) * Fix the long name of the Common Public License in the copyright-format policy. It is just Common Public License, with no leading "IBM". Thanks, Stefano Zacchiroli. (Closes: #781654) * Fix the copyright-format examples to not have duplicate License paragraphs. Thanks, Stefan <bd@bc-bd.org>. (Closes: #824922) * Replace reference to dbus-launch in the autopkgtest documentation with dbus-run-session. Patch from Simon McVittie. (Closes: #835876) * Add an example of an architecture restriction in a dependency with multiple architectures separated by spaces. (Closes: #734662) * Replace use of markdown with MultiMarkdown for the autopkgtest documentation and convert README and Process to MultiMarkdown, thus dropping the last org-mode files and the build dependency on Emacs. Patch from Guillem Jover. (Closes: #849483) * Add some additional information to the upgrading-checklist entry for the 3.9.8.0 release. * Fix debian/changelog and upgrading-checklist dates for the 3.9.8.0 release to match the actual upload. (Closes: #822059) * Fix duplicated "the" words in 4.4 and 8.6.3.2. Patch from Valentin Samir. (Closes: #830989) * Clean up the upgrading checklist a bit: - Rewrite the introduction to read a bit more smoothly and mention that the Standards-Version value omits the minor patch number. - Remove the minor patch number from all the version headings except for the anomalies that contain normative changes, and note those explicitly. - Remove some unhelpful section headings and trailing colons in very old upgrading checklist entries. - Standardize the release date format. * Compress all files with gzip -n to avoid embedding timestamps, enabling reproducible builds. * Redo some of the Makefile and debian/rules dependencies to avoid ambiguous pattern rules and to ensure that make at the top level rebuilds output files if input files change. * Switch to https URLs for Vcs-Git and Vcs-Browser. * Use the same URL for both Vcs-Git and Vcs-Browser, which now works fine and has some advantages over the gitweb version for Vcs-Browser. Thanks, Mattia Rizzolo. * Run wrap-and-sort -ast. * Tag as Multi-Arch: foreign (mostly to silence the hinter). . [ Sean Whitton ] * Remove references to DebianDoc-SGML from README.md. * Fix typo & comma splice in Process.md. Checksums-Sha1: 67549dd71ee43fecadc298baadedb53d66140acd 1586 debian-policy_4.0.0.0.dsc 94c933d5c4b474500185adab753affe6962562df 659440 debian-policy_4.0.0.0.tar.xz Checksums-Sha256: 5e2ec94dbf584b2889b309ad45fb12d1fd03bc953d90273d8ea0fee402e62ecc 1586 debian-policy_4.0.0.0.dsc 539fe5c192532eb53fb7d5ffe05a241a0a1ead3cc9f39d88f4656f27110ee877 659440 debian-policy_4.0.0.0.tar.xz Files: f759af808fe56dbb1b3c0469c755fa48 1586 doc optional debian-policy_4.0.0.0.dsc 9fe33a84526b82d4544e30f604e6523f 659440 doc optional debian-policy_4.0.0.0.tar.xz -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE1zk0tJZ0z1zNmsJ4fYAxXFc23nUFAlkrM1UACgkQfYAxXFc2 3nWPrgf/X6/Hn4HFhSQk4uX2Rz7SMU9Mo+dVkSNrzPCVhVjR0EfHu5UbBmwGnXTO 3yshmDFJhz2YKcyjHKB63kmC4rYhoJdCWHDDqjCzCPtmaKRqEHUBJ3pPyOkPz3ZB h637OyUtQEuxXnp1+a6l6aPxBhz/r1mfa/efDNoJAgmXhTREnwOiAi6BXkK6pG81 fqzW9+cyKK0okJdUKNmAu/mgCtKF1iSIWd86oQUzxs9lNXUVEwbUSqLH9hfe0XvJ 4OmO62NCeoQUFuSFSke97ugadrt8LXezgNNSKr+OXRcz5pSRCBQXpBaFFpYHg7OV IsLauUljsVlA60IDzAV6kamuBqmMJw== =5fyI -----END PGP SIGNATURE-----
--- End Message ---