From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3164B139694 for ; Wed, 15 Mar 2017 22:32:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73D0521C1D9; Wed, 15 Mar 2017 22:32:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 51F6F21C1D9 for ; Wed, 15 Mar 2017 22:32:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3F6A1341130 for ; Wed, 15 Mar 2017 22:31:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 114D46982 for ; Wed, 15 Mar 2017 22:31:57 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1489532671.c333707cba356f4cacfd58a6fcc78f7c073dddcd.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/hwclock.in init.d/swclock.in X-VCS-Directories: init.d/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: c333707cba356f4cacfd58a6fcc78f7c073dddcd X-VCS-Branch: master Date: Wed, 15 Mar 2017 22:31:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 409a1a6d-6dac-4aac-b9ee-2dcf1e13de6f X-Archives-Hash: 595fdbb6dca9db19886755dfd5757e9e commit: c333707cba356f4cacfd58a6fcc78f7c073dddcd Author: William Hubbs gmail com> AuthorDate: Tue Mar 14 23:04:31 2017 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Mar 14 23:04:31 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=c333707c Remove all occurances of 'before *' from dependencies Using wildcards in dependencies causes issues when rc_parallel is set to yes because it can lead to deadlocks. All dependencies need to be explicit rather than implicit. This is the first stage of moving this direction. init.d/hwclock.in | 3 ++- init.d/swclock.in | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/init.d/hwclock.in b/init.d/hwclock.in index f78cc7c3..3bfcab1d 100644 --- a/init.d/hwclock.in +++ b/init.d/hwclock.in @@ -34,7 +34,8 @@ depend() if yesno $clock_adjfile; then use root else - before * + before binfmt bootmisc fsck hostname keymaps localmount loopback mtab + before procfs root swap sysctl termencoding urandom fi keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu } diff --git a/init.d/swclock.in b/init.d/swclock.in index 9ceba444..67baaab0 100644 --- a/init.d/swclock.in +++ b/init.d/swclock.in @@ -13,7 +13,10 @@ description="Sets the local clock to the mtime of a given file." depend() { - before * + before adjkerntz binfmt bootmisc devdb dumpon fsck hostid hostname keymaps + before localmount loopback modules mtab network newsyslog procfs root + before savecore staticroute swap swap-blk syscons sysctl syslogd + before termencoding ttys urandom wscons provide clock keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu }