[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#179125: maintainer scripts tries to exec script in /tmp



On Tue, 2003-02-04 at 00:22, Russell Coker wrote:
> On Tue, 4 Feb 2003 00:29, Oliver Elphick wrote:
> > Russell complained that this wouldn't work with SELinux's security and
> > that I should use start-stop-daemon instead.  In order to do that, I
> > have to give it a script to run; otherwise I can't feed a sequence of
> > commands to one run of start-stop-daemon.
> 
> Couldn't you have start-stop-daemon run a shell script in /usr/sbin that uses 
> parameters or environment variables or whatever it takes to do the job?
> 
> You could take the original init script, remove the "su" bits, put it in 
> /usr/sbin and then have it called by the new init script.

I could, but why use up an inode and disk block for something that is
only used during installation?  The current solution seems more
economical of resources.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "That at the name of Jesus every knee should bow, of 
      things in heaven, and things in earth, and things 
      under the earth; And that every tongue should confess 
      that Jesus Christ is Lord, to the glory of God the 
      Father."              Philippians 2:10,11 



Reply to: