[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#982274: marked as done (usr.lib.libreoffice.program.soffice.bin: temporary files are not allowed due to length change)



Your message dated Sat, 01 May 2021 13:34:23 +0000
with message-id <E1lcplH-0000ld-O3@fasolo.debian.org>
and subject line Bug#982274: fixed in libreoffice 1:7.0.4-4
has caused the Debian Bug report #982274,
regarding usr.lib.libreoffice.program.soffice.bin: temporary files are not allowed due to length change
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.)


-- 
982274: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982274
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libreoffice-common
Version: 1:7.0.4-3
Severity: important
File: /etc/apparmor.d/usr.lib.libreoffice.program.soffice.bin
Usertags: apparmor
Tags: patch

When I open a document in my home directory in libreoffice I get this:

   Feb 08 08:08:48 audit[474619]: AVC apparmor="DENIED" operation="open" profile="libreoffice-soffice" name="/home/pabs/lu474619vthyvt.tmp" pid=474619 comm="soffice.bin" requested_mask="wrc" denied_mask="wrc" fsuid=1000 ouid=1000

The reason is that this rule allowing temporary files is too short:

     owner @{libo_user_dirs}/{,**/}lu??????????{,?}.tmp rwk, #Temporary file used when saving

Adding one more possible temporary filename length fixes the denial:

     owner @{libo_user_dirs}/{,**/}lu??????????{,?,??}.tmp rwk, #Temporary file used when saving

I expect that just switching to a wildcard would work too and would be
much more likely to continue working if LibreOffice update the length.

     owner @{libo_user_dirs}/{,**/}lu??????????*.tmp rwk, #Temporary file used when saving

-- Package-specific info:

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libreoffice-common depends on:
ii  libnumbertext-data         1.0.7-1
ii  libreoffice-style-colibre  1:7.0.4-3
ii  ucf                        3.0043
ii  ure                        1:7.0.4-3

Versions of packages libreoffice-common recommends:
ii  apparmor                                       2.13.6-7
pn  fonts-liberation2 | ttf-mscorefonts-installer  <none>
ii  libexttextcat-data                             3.4.5-1
ii  python3-uno                                    1:7.0.4-3
ii  xdg-utils                                      1.1.3-2

Versions of packages libreoffice-common suggests:
ii  libreoffice-style-colibre [libreoffice-style]  1:7.0.4-3

Versions of packages python3-uno depends on:
ii  libc6                    2.31-9
ii  libgcc-s1                10.2.1-6
ii  libpython3.9             3.9.1-3
ii  libreoffice-core         1:7.0.4-3
ii  libstdc++6               10.2.1-6
ii  libuno-cppu3             1:7.0.4-3
ii  libuno-cppuhelpergcc3-3  1:7.0.4-3
ii  libuno-sal3              1:7.0.4-3
ii  libuno-salhelpergcc3-3   1:7.0.4-3
ii  python3                  3.9.1-1
ii  python3.9                3.9.1-3
ii  ucf                      3.0043
ii  uno-libs-private         1:7.0.4-3

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: libreoffice
Source-Version: 1:7.0.4-4
Done: Rene Engelhard <rene@debian.org>

We believe that the bug you reported is fixed in the latest version of
libreoffice, 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 982274@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <rene@debian.org> (supplier of updated libreoffice 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: SHA512

Format: 1.8
Date: Sat, 01 May 2021 13:50:48 +0200
Source: libreoffice
Architecture: source
Version: 1:7.0.4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <rene@debian.org>
Closes: 982274 985297
Changes:
 libreoffice (1:7.0.4-4) unstable; urgency=medium
 .
   * debian/patches/apparmor-updates.diff: allow one more digit in temp
     files (closes: #982274)
   * debian/control.in, debian/libreoffice-common.{maintscript,postinst.in}:
     apply patch from Adreas Beckmann to fix upgrade buster->bullseye
     - libreoffice-core: Copy some Conflicts from libreoffice-common for smoother
       upgrades from buster. Dpkg will otherwise ignore Conflicts that are
       encountered later against a package that is already deconfigured.
     - libreoffice-common: Do not use dir_to_symlink for
       /usr/lib/libreoffice/share/registry, the Breaks/Conflicts cascade does not
       work reliable here to ensure all packages previously shipping files there
       are either removed or upgraded first, but not just deconfigured. Fix up
       the symlink in postinst instead.  (Closes: #985297)
Checksums-Sha1:
 701e4d774432971dc4dba771db9f915b457f42dd 31313 libreoffice_7.0.4-4.dsc
 8858346d5b45d73a72550bce214bab9e1c1e5781 19483948 libreoffice_7.0.4-4.debian.tar.xz
 2946ca5e9b7dac5c77891b4daf8bcbb015d19f6c 33228 libreoffice_7.0.4-4_source.buildinfo
Checksums-Sha256:
 e1bd6fd123ff5d8335360bb1352df1e7e9026ad02a0a38d96b61eb4069254213 31313 libreoffice_7.0.4-4.dsc
 bdd39c201dc85b5a183d2989c574078717e716bb86b8cad5e3472fcafd98f2dd 19483948 libreoffice_7.0.4-4.debian.tar.xz
 10751ce901c0d267408d0ee8b69101c564ac5ff09915d6b696445d5df81e206f 33228 libreoffice_7.0.4-4_source.buildinfo
Files:
 3ef268bc93da51127c68204bab42844f 31313 editors optional libreoffice_7.0.4-4.dsc
 1999c1c4f5da8480d01ee8efccb3430f 19483948 editors optional libreoffice_7.0.4-4.debian.tar.xz
 0eab38d9be3175a07a200a702a4d49b5 33228 editors optional libreoffice_7.0.4-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAmCNTvYQHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cDLYD/9KnFRi6TPEQhSKzg4jeux/Q/0XOj8oooj9
7kQ/VSHqiZFZRi8TPcNd2tVHqlifxK0wHqMrs6W23883Si9ATY0sbvOyqCKni+90
xNY1AVbY77Osa7rcFy+dRwvxIfEXsyfMn9jSs7FoO9/43VATJEL4WGTJ60xRiPtA
44DJeQGMq3p0nDtqPE9lD4Bx55D4i7OBip799fb8yMyI44xUXa7RHhgkzEYyPVQ9
GpYrvhmdtVmWPLTTpBHfQ/FXVowflcQ2og5HdL8Rd9EhnEHOWvICTjqkfu92m9Dg
UD/T6kD9/VnoI+9Xa0B42KfoO4+kTaHkKi7mtwz9Z8+B3U6AhxAjbvQF8tTqsish
zPITbOxENawl08LkgrAOD3QVSB9+zXUooN5M9+d5ErEfvFmlfrEDnvIs5bQ0irTj
pkkC18n49wH3HmH0+8lztJXfH3MplHUvGZY0/ISUK4uoh1X+noysXq+Bcv1dcqFw
0FjVWEwJ/tyIDPcvy0dVDPevu1YGSyYcq5vtD3s0QkHBjzB4qYKUkD2EQHgT87qr
dyY6XJ2myh3UMsNQV9Q7s2Vm2ThxtlapWYgHDKKlueCfNXbZ6Ib5ZDkZUvtqjGsJ
upGFd5UrAj2SwBS9MzxSCZ7Rq95i+f3RxV2BPOm48ZGWGoaIrP8fDPnNoAoKVhgm
lITvq6vzbA==
=b7Xs
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: