--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: xfs: NMU patch for version 1:1.0.8-1.1
- From: Petter Reinholdtsen <pere@hungry.com>
- Date: Thu, 26 Jun 2008 23:32:32 +0200
- Message-id: <2fl7icbyj9r.fsf@klodrik.uio.no>
Package: xfs
Version: 1:1.0.8-1.1
Tags: patch
Here is the patch used in my NMU.
diff -u xfs-1.0.8/debian/changelog xfs-1.0.8/debian/changelog
--- xfs-1.0.8/debian/changelog
+++ xfs-1.0.8/debian/changelog
@@ -1,3 +1,14 @@
+xfs (1:1.0.8-1.1) unstable; urgency=low
+
+ * Non-maintainer upload to fix RC bug.
+ * Run xfs process as user nobody by default (Closes: #50859). Patch
+ from Petter Reinholdtsen.
+ * Build with -DUSE_SYSLOG to get the syslog option to work, to avoid
+ log rotation issue when xfs is running as a non-privileged
+ user (Closes: 481758). Patch from Sven Joachim.
+
+ -- Petter Reinholdtsen <pere@debian.org> Thu, 26 Jun 2008 22:45:42 +0200
+
xfs (1:1.0.8-1) unstable; urgency=low
* New upstream release.
diff -u xfs-1.0.8/debian/rules xfs-1.0.8/debian/rules
--- xfs-1.0.8/debian/rules
+++ xfs-1.0.8/debian/rules
@@ -22,6 +22,7 @@
INSTALL_PROGRAM += -s
endif
+CPPFLAGS = -DUSE_SYSLOG
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
@@ -42,7 +43,8 @@
../configure --prefix=/usr --mandir=\$${prefix}/share/man \
--infodir=\$${prefix}/share/info \
--sysconfdir=/etc $(confflags) \
- CFLAGS="$(CFLAGS)"
+ CFLAGS="$(CFLAGS)" \
+ CPPFLAGS="$(CPPFLAGS)"
cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE)
touch build-stamp
diff -u xfs-1.0.8/debian/xfs.init xfs-1.0.8/debian/xfs.init
--- xfs-1.0.8/debian/xfs.init
+++ xfs-1.0.8/debian/xfs.init
@@ -92,7 +92,7 @@
start)
set_up_socket_dir
echo -n "Starting X font server: xfs"
- start-stop-daemon --start --quiet $SSD_START_ARGS -- -daemon \
+ start-stop-daemon --start --quiet $SSD_START_ARGS -- -daemon -user nobody -droppriv \
|| echo -n " already running"
echo "."
;;
Happy hacking,
--
Petter Reinholdtsen
--- End Message ---
--- Begin Message ---
- To: Petter Reinholdtsen <pere@hungry.com>, 488194-done@bugs.debian.org
- Subject: Re: Bug#488194: xfs: NMU patch for version 1:1.0.8-1.1
- From: Julien Cristau <jcristau@debian.org>
- Date: Mon, 7 Jul 2008 15:51:49 +0200
- Message-id: <20080707135149.GC4753@patate.is-a-geek.org>
- In-reply-to: <2fl7icbyj9r.fsf@klodrik.uio.no>
- References: <2fl7icbyj9r.fsf@klodrik.uio.no>
Version: 1:1.0.8-2
On Thu, Jun 26, 2008 at 23:32:32 +0200, Petter Reinholdtsen wrote:
> Here is the patch used in my NMU.
>
Thanks, applied.
Cheers,
Julien
--- End Message ---