Your message dated Tue, 12 Jul 2016 10:04:49 +0200
with message-id <[email protected]>
and subject line openerp-server was removed from Debian in 2011
has caused the Debian Bug report #646277,
regarding openerp-server: Please include fix to init script and postrm script
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.)


-- 
646277: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646277
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openerp-server
Version: 5.0.15-2
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu precise ubuntu-patch

In Ubuntu, the attached patch was applied to achieve the following:

It fixes the following often reported problems with the package:

  * Fix creation of openerp user, when a user openerp* already exists.
    - debian/openerp-server.postinst
    - LP: #807017
  * Fix multiple starts of the server, by using "startas" and "oknodo" with
    start-stop-daemon.
    - debian/openerp-server.init
    - LP: #414864
    - This should also fix "userdel: user openerp is currently logged in"
      (LP: #454436).


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric-proposed'), (500, 'oneiric')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-13-generic-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru openerp-server-5.0.15/debian/openerp-server.init openerp-server-5.0.15/debian/openerp-server.init
--- openerp-server-5.0.15/debian/openerp-server.init	2010-12-30 21:28:35.000000000 +0100
+++ openerp-server-5.0.15/debian/openerp-server.init	2011-10-22 21:01:31.000000000 +0200
@@ -29,7 +29,7 @@
 
 		start-stop-daemon --start --quiet --pidfile /var/run/${NAME}.pid \
 			--chuid ${USER} --background --make-pidfile \
-			--exec ${DAEMON} -- --config=/etc/openerp-server.conf
+			--startas ${DAEMON} --oknodo -- --config=/etc/openerp-server.conf
 
 		echo "${NAME}."
 		;;
@@ -53,7 +53,7 @@
 
 		start-stop-daemon --start --quiet --pidfile /var/run/${NAME}.pid \
 			--chuid ${USER} --background --make-pidfile \
-			--exec ${DAEMON} -- --config=/etc/openerp-server.conf
+			--startas ${DAEMON} --oknodo -- --config=/etc/openerp-server.conf
 
 		echo "${NAME}."
 		;;
diff -Nru openerp-server-5.0.15/debian/openerp-server.postinst openerp-server-5.0.15/debian/openerp-server.postinst
--- openerp-server-5.0.15/debian/openerp-server.postinst	2010-12-30 21:28:53.000000000 +0100
+++ openerp-server-5.0.15/debian/openerp-server.postinst	2011-10-22 16:33:58.000000000 +0200
@@ -16,7 +16,7 @@
 
 		db_stop
 
-		if ! getent passwd | grep -q "^${_USERNAME}"
+		if ! getent passwd | grep -q "^${_USERNAME}:"
 		then
 			adduser --system --no-create-home --quiet --gecos 'Open ERP server' --group ${_USERNAME}
 		else

--- End Message ---
--- Begin Message ---
Version: 5.0.15-2+rm

openerp-server was last released with Debian 6.0 (squeeze) in
February 2011 and removed from Debian sid/unstable later in 2011 (see
http://bugs.debian.org/633587 for details on the removal). Since
support for squeeze and squeeze-LTS has now ended, I'm closing all the
remaining bugs reported against this package.


Andreas

--- End Message ---

Reply via email to