[Pkg-giraffe-maintainers] Bug#922313: kopano-search: missing an end of line character in /etc/apparmor.d/usr.sbin.kopano-search

Louis van Belle belle at bazuin.nl
Thu Feb 14 13:35:09 GMT 2019


Package: kopano-search
Version: 8.7.0-1
Severity: serious
Justification: 2

Hello, 

The kopano-search gives a parser error on the apparmor profile. 

Setting up kopano-search (8.7.0-1) ...
AppArmor parser error for /etc/apparmor.d/usr.sbin.kopano-search in /etc/apparmor.d/usr.sbin.kopano-search at line 39: missing an end of line character? (entry: /etc/ssl/openssl.cnf)
Created symlink /etc/systemd/system/multi-user.target.wants/kopano-search.service → /lib/systemd/system/kopano-search.service.
Setting up kopano-core (8.7.0-1) ...

The solution is simple. 
edit /etc/apparmor.d/usr.sbin.kopano-search
add a "," behind the line: 
  /etc/ssl/openssl.cnf r

Thank you for porting kopano. 

Best regards, 

Louis



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kopano-search depends on:
ii  catdoc               1:0.95-4.1
ii  file                 1:5.35-2
ii  gawk                 1:4.2.1+dfsg-1
ii  init-system-helpers  1.56+nmu1
ii  kopano-common        8.7.0-1
ii  lsb-base             10.2018112800
ii  poppler-utils        0.71.0-2
ii  python3              3.7.2-1
ii  python3-bsddb3       6.2.6-3
ii  python3-dateutil     2.7.3-3
ii  python3-kopano       8.7.0-1
ii  python3-magic        2:0.4.15-2
ii  python3-xapian       1.4.9-1
ii  unzip                6.0-21
ii  w3m                  0.5.3-37
ii  xsltproc             1.1.32-2

kopano-search recommends no packages.

kopano-search suggests no packages.

-- Configuration Files:
/etc/apparmor.d/usr.sbin.kopano-search changed:
/usr/sbin/kopano-search flags=(attach_disconnected) {
  #include <abstractions/base>
  #include <abstractions/nameservice>
  #include <abstractions/python>
  #include <abstractions/user-tmp>
  capability chown,
  capability dac_override,
  capability dac_read_search,
  capability setgid,
  capability setuid,
  @{PROC}/@{pid}/cmdline r,
  @{PROC}/@{pid}/fd r,
  @{PROC}/@{pid}/mounts r,
  @{PROC}/@{pid}/status r,
  @{PROC}/@{pid}/task/@{tid}/comm rw,
  deny /usr/lib/python{3,2.?}/dist-packages/kopano_search/*.pyc w,
  /bin/dash Pix,
  /bin/rm Pix,
  # FIXME: it would be nice if search would use search- like pa
  /dev/shm/* rwl,
  /etc/gss/mech.d/ r,
  /etc/gss/mech.d/*.conf r,
  /etc/kopano/search.cfg r,
  /etc/magic r,
  /etc/mapi/ r,
  /etc/mapi/kopano.inf r,
  /etc/mapi/zcontacts.inf r,
  /etc/ssl/openssl.cnf r,
  /lib/@{multiarch}/ld-*.so mr,
  /sbin/ldconfig Pix,
  /run/kopano/search.pid rw,
  /run/kopano/search.pid.lock lrw,
  /run/kopano/search.sock rw,
  /run/kopano/*.*-* rw,
  /usr/bin/python{2,3}.? ix,
  /usr/sbin/kopano-search r,
  /var/lib/kopano/search/** rwlk,
  /var/log/kopano/search.log rw,
}


-- no debconf information


More information about the Pkg-giraffe-maintainers mailing list