Package: bup
Version: 0.33.1-1
Severity: important
Tags: upstream

Updating a save that had old-format ACL metadata (from
e.g. /var/log/journal) fails with

  ...
    File "/usr/lib/bup/bup/metadata.py", line 864, in read
      result._load_posix1e_acl_rec(port, version=1)
    File "/usr/lib/bup/bup/metadata.py", line 573, in _load_posix1e_acl_rec
      acl_rep = self._correct_posix1e_v1_delimiters(acl_rep)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  TypeError: Metadata._correct_posix1e_v1_delimiters() missing 1 required 
positional argument: 'path'

where AFAICT path is needed only for potential error reporting.  The
obvious candidate is self.path, which I'll try locally patching
_load_posix1e_acl_rec to pass.  (_correct_posix1e_v1_delimiters is a
static method and as such does in fact need to receive the path
explicitly.)

Could you please take a look?

Thanks!

-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'proposed-updates-debug'), (500, 'oldstable-security'), 
(500, 'testing'), (300, 'unstable-debug'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 6.3.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bup depends on:
ii  git                              1:2.40.1-1
ii  libacl1                          2.3.1-3
ii  libc6                            2.36-9
ii  libpython3.11                    3.11.4-1
ii  libreadline8                     8.2-1.3
ii  par2                             0.8.1-3
ii  python3                          3.11.2-1+b1
ii  python3-pylibacl                 0.7.0-2
ii  python3-xattr [python3-pyxattr]  0.10.1-1

Versions of packages bup recommends:
ii  bup-doc          0.33.1-1
ii  python3-fuse     2:1.0.5-1+b3
ii  python3-tornado  6.2.0-3

bup suggests no packages.

-- debconf-show failed

Reply via email to