From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IqPuX-0003ac-Go for garchives@archives.gentoo.org; Fri, 09 Nov 2007 09:12:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lA99Afnp000740; Fri, 9 Nov 2007 09:10:41 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lA9987fK029716 for ; Fri, 9 Nov 2007 09:08:08 GMT Received: from gentoo.org (c-67-171-150-177.hsd1.or.comcast.net [67.171.150.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 47B1B653E5; Fri, 9 Nov 2007 09:08:07 +0000 (UTC) Date: Fri, 9 Nov 2007 01:08:05 -0800 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org, wschlich@gentoo.org Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sys-process/fcron: ChangeLog fcron-3.0.4.ebuild Message-ID: <20071109090805.GD5516@supernova> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 9dfd7211-5a2b-48d0-995d-3a5efa294a85 X-Archives-Hash: 9d17a8a79a4bd0d79bb4fecef3fa629f On 08:54 Fri 09 Nov , Wolfram Schlich (wschlich) wrote: > 1.1 sys-process/fcron/fcron-3.0.4.ebuild > > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/fcron/fcron-3.0.4.ebuild?rev=1.1&view=markup > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/fcron/fcron-3.0.4.ebuild?rev=1.1&content-type=text/plain > if useq debug; then use() is useq() now. Dunno whether this is common enough to deserve a repoman check. > if ls -1 /var/spool/cron/fcrontabs/* >&/dev/null; then This particular check ignores ROOT, and so does the rest of pkg_postinst(). Seems to me that a cron daemon is a package relatively likely to be installed using ROOT, so it's worth fixing. > ewarn > ewarn "WARNING: fcron now uses a dedicated fcron-specific" > ewarn "spooldir /var/spool/fcron instead of the commonly" > ewarn "used /var/spool/cron for several reasons." > ewarn > ewarn "Copying over existing crontabs from /var/spool/cron/fcrontabs" > cp /var/spool/cron/fcrontabs/* /var/spool/fcron/ >&/dev/null \ > || die "failed to migrate existing crontabs" > ewarn "You should now remove /var/spool/cron/fcrontabs!" > ewarn > ewarn "Fixing permissions and ownership of /var/spool/fcron" > chown root:root /var/spool/fcron/* >&/dev/null > chmod 0600 /var/spool/fcron/* >&/dev/null > chown fcron:fcron /var/spool/fcron/*.orig >&/dev/null > chmod 0640 /var/spool/fcron/*.orig >&/dev/null > ewarn > ewarn "*** YOU SHOULD IMMEDIATELY UPDATE THE" > ewarn "*** fcrontabs ENTRY IN /etc/fcron/fcron.conf" > ewarn "*** AND RESTART YOUR FCRON DAEMON!" > ebeep 20 > epause 10 Thanks, Donnie -- gentoo-dev@gentoo.org mailing list