Opened 14 months ago

#2306 new defect

i2p service doesn't start due to missing AppArmor profile in LXC container

Reported by: zzz Owned by: Masayuki Hatta
Priority: minor Milestone: undecided
Component: package/debian Version: 0.9.36
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

received via email from "jabacrack":

Package: i2p
Version: 0.9.36-2ubuntu1
Severity: normal

Dear Maintainer,

After installing i2p in LXC container (on Proxmox) I cannot start service:

● i2p.service - load-balanced unspoofable packet switching network

Loaded: loaded (/lib/systemd/system/i2p.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-09-08 19:58:29 UTC; 3s ago

Process: 692 ExecStart?=/usr/sbin/wrapper $I2P_ARGS (code=exited, status=231/APPARMOR)
Process: 691 ExecStartPre?=/bin/chmod 750 /var/log/i2p (code=exited, status=0/SUCCESS)
Process: 690 ExecStartPre?=/bin/chown -R ${I2PUSER}:${I2PUSER} /var/log/i2p /run/i2p /tmp/i2p-daemon (code=exited, status=0/SUCCESS)
Process: 689 ExecStartPre?=/bin/mkdir -p /tmp/i2p-daemon (code=exited, status=0/SUCCESS)

Sep 08 19:58:29 crypt systemd[1]: Starting load-balanced unspoofable packet switching network…
Sep 08 19:58:29 crypt systemd[1]: i2p.service: Control process exited, code=exited status=231
Sep 08 19:58:29 crypt systemd[1]: Failed to start load-balanced unspoofable packet switching network.
Sep 08 19:58:29 crypt systemd[1]: i2p.service: Unit entered failed state.
Sep 08 19:58:29 crypt systemd[1]: i2p.service: Failed with result 'exit-code'.

syslog:
Sep 8 19:58:29 crypt systemd[1]: i2p.service: Failed to reset devices.list: Operation not permitted
Sep 8 19:58:29 crypt systemd[1]: Starting load-balanced unspoofable packet switching network…
Sep 8 19:58:29 crypt systemd[692]: i2p.service: Failed at step APPARMOR spawning /usr/sbin/wrapper: No such file or directory
Sep 8 19:58:29 crypt systemd[1]: i2p.service: Control process exited, code=exited status=231
Sep 8 19:58:29 crypt systemd[1]: Failed to start load-balanced unspoofable packet switching network.
Sep 8 19:58:29 crypt systemd[1]: i2p.service: Unit entered failed state.
Sep 8 19:58:29 crypt systemd[1]: i2p.service: Failed with result 'exit-code'.

AppArmor? is not installed on my system.

— System Information:
Debian Release: 9.5

APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'Aspanta'), (500, 'stable')

Architecture: amd64 (x86_64)

Kernel: Linux 4.15.18-1-pve (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages i2p depends on:
ii adduser 3.115
ii debconf [debconf-2.0] 1.5.61
ii i2p-router 0.9.36-2ubuntu1
ii libjbigi-jni 0.9.36-2ubuntu1
ii lsb-base 9.20161125
ii service-wrapper 3.5.30-1

i2p recommends no packages.

i2p suggests no packages.

— debconf information:

i2p/memory: 128
i2p/user: i2psvc
i2p/daemon: true
i2p/aa: true

Subtickets

Change History (0)

Note: See TracTickets for help on using tickets.