FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 08-16-2011, 05:08 PM
Simon McVittie
 
Default Introduction of a "lock" group

On Tue, 16 Aug 2011 at 11:19:05 -0500, Peter Samuelson wrote:
> But for those who think it's annoying to have
> to put 3 separate steps in your init script 'start' section (mkdir -p,
> chown, chmod), I'd like to point out that you may as well just use
> install -d, and do it all in one step.

... as long as /usr is mounted (Required-Start: $remote_fs). That's true for
the majority of init scripts anyway, but something to be aware of.

S


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110816170842.GA26167@reptile.pseudorandom.co.uk" >http://lists.debian.org/20110816170842.GA26167@reptile.pseudorandom.co.uk
 
Old 08-16-2011, 05:25 PM
Colin Watson
 
Default Introduction of a "lock" group

On Tue, Aug 16, 2011 at 11:19:05AM -0500, Peter Samuelson wrote:
> Makes sense that tmpfiles.d comes from systemd, if he's trying to get
> away from shell scripts. But for those who think it's annoying to have
> to put 3 separate steps in your init script 'start' section (mkdir -p,
> chown, chmod), I'd like to point out that you may as well just use
> install -d, and do it all in one step.

Provided your init script guaranteeably runs after /usr is mounted, yes.

--
Colin Watson [cjwatson@debian.org]


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110816172553.GA18026@riva.dynamic.greenend.org.u k">http://lists.debian.org/20110816172553.GA18026@riva.dynamic.greenend.org.u k
 

Thread Tools




All times are GMT. The time now is 10:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org