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 1Qogf7-0001ZP-VP for garchives@archives.gentoo.org; Wed, 03 Aug 2011 18:59:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A30A21C22F; Wed, 3 Aug 2011 18:59:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D086E21C22F for ; Wed, 3 Aug 2011 18:59:08 +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 3EFCE1B403D for ; Wed, 3 Aug 2011 18:59:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 8945F8003C for ; Wed, 3 Aug 2011 18:59:07 +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: <9177f931b926e4b1377b51f19cbbae94a421fc03.WilliamH@gentoo> 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: 9177f931b926e4b1377b51f19cbbae94a421fc03 Date: Wed, 3 Aug 2011 18:59:07 +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: 684572978729a63ed1a86a4d1e9c92db commit: 9177f931b926e4b1377b51f19cbbae94a421fc03 Author: William Hubbs gentoo org> AuthorDate: Wed Aug 3 18:55:48 2011 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Aug 3 18:55:48 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/udev-gentoo-s= cripts.git;a=3Dcommit;h=3D9177f931 Move debug and event logs Our debug and event logs were formerly stored in udev's runtime directory. I feel that /tmp is a better place for these, so this commit makes that change. --- 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 da113a8..f41ff01 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 $RUNDIR/udev.log +# Run udevd --debug and write output to /tmp/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 $RUNDIR/udevmonitor.log +# in /tmp/udevmonitor.log #udev_monitor=3D"YES" =20 # Keep udevmonitor running after populating /dev. diff --git a/init.d/udev b/init.d/udev index 9e6e2e7..a565ac0 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>"$(get_rundir)"/udev.log + /sbin/udevd --daemon ${opts} --debug 2>/tmp/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"$(get_rundir)/udevmonitor.log" + udevmonitor_log=3D/tmp/udevmonitor.log udevmonitor_pid=3D"$(get_rundir)/udevmonitor.pid" =20 - einfo "udev: Running udevadm monitor ${udev_monitor_opts} to get a log = of all events" + einfo "udev: Running udevadm monitor ${udev_monitor_opts} to log all ev= ents" start-stop-daemon --start --stdout "${udevmonitor_log}" \ --make-pidfile --pidfile "${udevmonitor_pid}" \ --background --exec /sbin/udevadm -- monitor ${udev_monitor_opts}