这是indexloc提供的服务,不要输入任何密码

Debian Bug report logs - #1017028
dpkg: support for extended attributes (e.g. for IMA and SELinux)

version graph

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: Eric Chiang <ericchiang@google.com>

Date: Thu, 11 Aug 2022 18:45:01 UTC

Severity: wishlist

Tags: patch

Merged with 850340

Found in versions dpkg/1.21.8, 1.17.5ubuntu5.6

Reply or subscribe to this bug.

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


Report forwarded to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#1017028; Package dpkg. (Thu, 11 Aug 2022 18:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Eric Chiang <ericchiang@google.com>:
New Bug report received and forwarded. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Thu, 11 Aug 2022 18:45:03 GMT) (full text, mbox, link).


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

From: Eric Chiang <ericchiang@google.com>
To: submit@bugs.debian.org
Cc: Nicolás Videla <nvidela@google.com>
Subject: dpkg: support for extended attributes (e.g. for IMA and SELinux)
Date: Thu, 11 Aug 2022 11:40:46 -0700
Package: dpkg
Version: 1.21.8

Hey!

We've been exploring signing executables with IMA/EVM, but dpkg
currently doesn't have support for setting extended attributes on
files it writes to disk[1].

One of our coworkers prototyped an mtree approach a while back[2].
Though the PAX approach might be simpler :)

Would it be okay for us to send a patch to add extended attributes
support to dpkg through PAX format entries? That approach aligns
nicely with other Tar libraries[3][4].

[1] https://wiki.debian.org/Teams/Dpkg/Spec/MetadataTracking
[2] https://gitlab.com/mjg59/dpkg/-/commits/mtree/
[3] https://www.gnu.org/software/tar/manual/html_node/PAX-keywords.html
[4] https://cs.opensource.google/go/go/+/refs/tags/go1.19:src/archive/tar/common.go;l=168-191

Thanks,
Eric



Severity set to 'wishlist' from 'normal' Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Mon, 10 Oct 2022 10:39:02 GMT) (full text, mbox, link).


Marked as found in versions 1.17.5ubuntu5.6. Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Mon, 10 Oct 2022 10:39:03 GMT) (full text, mbox, link).


Added tag(s) patch. Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Mon, 10 Oct 2022 10:39:04 GMT) (full text, mbox, link).


Merged 850340 1017028 Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Mon, 10 Oct 2022 10:39:04 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 Jul 27 22:28:12 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.