From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qohte-00033X-Sp for garchives@archives.gentoo.org; Wed, 03 Aug 2011 20:18:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D565A21C281; Wed, 3 Aug 2011 20:18:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AB4F621C281 for ; Wed, 3 Aug 2011 20:18:23 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 29BBF2AC01C for ; Wed, 3 Aug 2011 20:18:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 97BE38003C for ; Wed, 3 Aug 2011 20:18:21 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: Subject: [gentoo-commits] proj/udev-gentoo-scripts:master commit in: init.d/, conf.d/ X-VCS-Repository: proj/udev-gentoo-scripts X-VCS-Files: conf.d/udev init.d/udev X-VCS-Directories: init.d/ conf.d/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: c322c9fb2fa5baf5706dfd771a41b6868b0e047a Date: Wed, 3 Aug 2011 20:18:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 1958046f20bdf7679fd57de6e48d2988 commit: c322c9fb2fa5baf5706dfd771a41b6868b0e047a Author: William Hubbs gentoo org> AuthorDate: Wed Aug 3 20:17:44 2011 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Aug 3 20:17:44 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/udev-gentoo-s= cripts.git;a=3Dcommit;h=3Dc322c9fb Revert "Move debug and event logs" This reverts commit 9177f931b926e4b1377b51f19cbbae94a421fc03. This can't happen because root is read only when udev is started. --- conf.d/udev | 4 ++-- init.d/udev | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf.d/udev b/conf.d/udev index f41ff01..da113a8 100644 --- a/conf.d/udev +++ b/conf.d/udev @@ -38,12 +38,12 @@ persistent_cd_disable=3D"no" # udevd --help for possible values #udev_opts=3D"" =20 -# Run udevd --debug and write output to /tmp/udev.log +# Run udevd --debug and write output to $RUNDIR/udev.log # Should not be kept on as it fills diskspace slowly #udev_debug=3D"YES" =20 # Run udevadmin monitor to get a log of all events -# in /tmp/udevmonitor.log +# in $RUNDIR/udevmonitor.log #udev_monitor=3D"YES" =20 # Keep udevmonitor running after populating /dev. diff --git a/init.d/udev b/init.d/udev index a565ac0..9e6e2e7 100644 --- a/init.d/udev +++ b/init.d/udev @@ -103,7 +103,7 @@ start_udevd() =20 ebegin "Starting udevd" if yesno "${udev_debug}"; then - /sbin/udevd --daemon ${opts} --debug 2>/tmp/udev.log + /sbin/udevd --daemon ${opts} --debug 2>"$(get_rundir)"/udev.log else start-stop-daemon --start --exec /sbin/udevd -- --daemon ${opts} fi @@ -146,10 +146,10 @@ start_udevmonitor() { yesno "${udev_monitor}" || return 0 =20 - udevmonitor_log=3D/tmp/udevmonitor.log + udevmonitor_log=3D"$(get_rundir)/udevmonitor.log" udevmonitor_pid=3D"$(get_rundir)/udevmonitor.pid" =20 - einfo "udev: Running udevadm monitor ${udev_monitor_opts} to log all ev= ents" + einfo "udev: Running udevadm monitor ${udev_monitor_opts} to get a log = of all events" start-stop-daemon --start --stdout "${udevmonitor_log}" \ --make-pidfile --pidfile "${udevmonitor_pid}" \ --background --exec /sbin/udevadm -- monitor ${udev_monitor_opts}