Your message dated Sun, 9 Jul 2017 13:25:05 +0200
with message-id <[email protected]>
and subject line Re: Bug#867135: ejabberd install fails with NO_NEW_PRIVILEGES
exit code
has caused the Debian Bug report #867135,
regarding ejabberd install fails with NO_NEW_PRIVILEGES exit code
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 [email protected]
immediately.)
--
867135: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867135
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ejabberd
Version: 16.09-4
Severity: important
Dear Maintainer,
* What led up to the situation?
'apt-get install -y ejabberd'
* What exactly did you do (or not do) that was effective (or
ineffective)?
'apt-get --autoremove remove ejabberd'
this was effective in the sense that i could use apt-get again.
* What was the outcome of this action?
installing failed at step NO_NEW_PRIVILEGES spawning /bin/sh: Invalid argument
* What outcome did you expect instead?
successful installation of ejabberd
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ejabberd depends on:
ii adduser 3.115
ii debconf [debconf-2.0] 1.5.61
ii erlang-asn1 1:19.2.1+dfsg-2
ii erlang-base [erlang-abi-17.0] 1:19.2.1+dfsg-2
ii erlang-crypto 1:19.2.1+dfsg-2
ii erlang-inets 1:19.2.1+dfsg-2
ii erlang-jiffy 0.14.8+dfsg-1
ii erlang-lager 3.2.4-1
ii erlang-mnesia 1:19.2.1+dfsg-2
pn erlang-odbc <none>
ii erlang-p1-cache-tab 1.0.4-2
ii erlang-p1-iconv 1.0.2-2
ii erlang-p1-stringprep 1.0.6-2
ii erlang-p1-tls 1.0.7-2+b1
ii erlang-p1-utils 1.0.5-3
ii erlang-p1-xml 1.1.15-2
ii erlang-p1-yaml 1.0.6-2
ii erlang-p1-zlib 1.0.1-4
ii erlang-public-key 1:19.2.1+dfsg-2
ii erlang-ssl 1:19.2.1+dfsg-2
ii erlang-syntax-tools 1:19.2.1+dfsg-2
ii erlang-xmerl 1:19.2.1+dfsg-2
ii init-system-helpers 1.48
ii lsb-base 9.20161125
ii openssl 1.1.0f-3
ii ucf 3.0036
ejabberd recommends no packages.
Versions of packages ejabberd suggests:
pn apparmor <none>
pn apparmor-utils <none>
pn ejabberd-contrib <none>
pn erlang-luerl <none>
ii erlang-p1-mysql 1.0.1-4
pn erlang-p1-oauth2 <none>
ii erlang-p1-pam 1.0.0-5
ii erlang-p1-pgsql 1.1.0-4
ii erlang-p1-sip 1.0.8-2
pn erlang-p1-sqlite3 <none>
ii erlang-p1-stun 1.0.7-2
pn erlang-redis-client <none>
ii imagemagick 8:6.9.7.4+dfsg-11
ii imagemagick-6.q16 [imagemagick] 8:6.9.7.4+dfsg-11
pn libunix-syslog-perl <none>
pn yamllint <none>
--- End Message ---
--- Begin Message ---
Hi,
Am 06.07.2017 um 03:17 schrieb ozzloy:
> not sure if relevant, but this initially happened during an upgrade from
> jessie to stretch.
>
> i figured the line "PrivateDevices=\n" maybe cleared whatever value the
> variable held before. maybe that used to be the case?
so I set up a fresh stretch installation and apt-get install ejabberd
worked as it is supposed to, even with erlang-p1-pam installed (but not
configured in any way).
I guess you must have had something configured differently on your system.
As for the overrides in the documentation, I tried those and had no
problems whatsoever.
An explanation for clearing the flags first is given here:
https://askubuntu.com/questions/659267/how-do-i-override-or-configure-systemd-services
You didn't literally put "PrivateDevices=\n" and "NoNewPrivileges=\n" in
the override, did you?
It should really be just
[Service]
PrivateDevices=
PrivateDevices=false
NoNewPrivileges=
NoNewPrivileges=false
To me everything looks in order, I have no idea why you needed the
override for the default configuration.
Regards,
--
.''`. Philipp Huebner <[email protected]>
: :' : pgp fp: 6719 25C5 B8CD E74A 5225 3DF9 E5CA 8C49 25E4 205F
`. `'`
`-
signature.asc
Description: OpenPGP digital signature
--- End Message ---