Bug#785785: mini-buildd: fails to upgrade: “Unable to change process owner ([Errno 1] Operation not permitted)”

2016-02-10 Thread Stephan Sürken
Hi Ben,

thanks for the additional information...

On Mi, 2016-01-20 at 15:10 +1100, Ben Finney wrote:
> Control: found -1 mini-buildd/1.0.9
> Control: retitle -1 mini-buildd: fails to upgrade: Unable to change process 
> owner ([Errno 1] Operation not permitted)

...but I am still puzzled by this ;). Fwiw, I just sandboxed a
jessie/strech upgrade without any such problems.

Do you have any security (selinux,...?) hardening going on?

(...)

> Jan 20 15:02:29 lavender systemd[1]: Starting LSB: Start mini-buildd daemon...
> Jan 20 15:02:29 lavender mini-buildd[26769]: Starting custom Debian build 
> daemon: mini-builddmini-buildd FAILED: Unable to change process owner ([Errno 
> 1] Operation not permitted)
> Jan 20 15:02:29 lavender mini-buildd[26769]: failed!

Could you try what

--
# start-stop-daemon --start --chuid mini-buildd --exec /usr/bin/id
--

(as user 'root') says an that system?

If that does work fine, could you please try

--
? /usr/sbin/mini-buildd --foreground --verbose --verbose --debug=exception
--
(as user 'mini-buildd')?

Thanks!

Stephan



Bug#785785: mini-buildd: fails to upgrade: “Unable to change process owner ([Errno 1] Operation not permitted)”

2016-02-10 Thread Ben Finney
Control: tags -1 - moreinfo
Control: notfound -1 mini-buildd/1.0.6
Control: notfound -1 mini-buildd/1.0.9

On 10-Feb-2016, Stephan Sürken wrote:
> I am still puzzled by this ;). Fwiw, I just sandboxed a
> jessie/strech upgrade without any such problems.

I believe this was caused by a locally-installed ‘python-daemon’
package, which I have now removed. I'm closing this report; if the
behaviour occurs again I'll give more information.

Thank you for patiently helping to diagnose this!

-- 
 \  “Software patents provide one more means of controlling access |
  `\  to information. They are the tool of choice for the internet |
_o__) highwayman.” —Anthony Taylor |
Ben Finney 


signature.asc
Description: PGP signature


Bug#785785: mini-buildd: fails to upgrade: “Unable to change process owner ([Errno 1] Operation not permitted)”

2016-01-19 Thread Ben Finney
Control: found -1 mini-buildd/1.0.9
Control: retitle -1 mini-buildd: fails to upgrade: Unable to change process 
owner ([Errno 1] Operation not permitted)

On 24-May-2015, Stephan Sürken wrote:
> Could you please provide more information on this? The complete output
> of s.th. like
> 
> apt-get install mini-buildd
> 
> on your system could be a starter ;).

Attached to this message is a ‘script’ session showing the output.

There is also an error from SystemD:

=
$ sudo systemctl status mini-buildd.service
● mini-buildd.service - LSB: Start mini-buildd daemon
   Loaded: loaded (/etc/init.d/mini-buildd; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2016-01-20 15:02:29 AEDT; 3min 
51s ago
 Docs: man:systemd-sysv-generator(8)
  Process: 26769 ExecStart=/etc/init.d/mini-buildd start (code=exited, 
status=1/FAILURE)

Jan 20 15:02:29 lavender systemd[1]: Starting LSB: Start mini-buildd daemon...
Jan 20 15:02:29 lavender mini-buildd[26769]: Starting custom Debian build 
daemon: mini-builddmini-buildd FAILED: Unable to change process owner ([Errno 
1] Operation not permitted)
Jan 20 15:02:29 lavender mini-buildd[26769]: failed!
Jan 20 15:02:29 lavender systemd[1]: mini-buildd.service: Control process 
exited, code=exited status=1
Jan 20 15:02:29 lavender systemd[1]: Failed to start LSB: Start mini-buildd 
daemon.
Jan 20 15:02:29 lavender systemd[1]: mini-buildd.service: Unit entered failed 
state.
Jan 20 15:02:29 lavender systemd[1]: mini-buildd.service: Failed with result 
'exit-code'.
=

-- 
 \   “Holy astringent plum-like fruit, Batman!” —Robin |
  `\   |
_o__)  |
Ben Finney 


signature.asc
Description: PGP signature