Re: ExecStart line in systemd service files.

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

 



On Fri, 9 Aug 2013 17:52:23 +0200
Lennart Poettering <mzerqung@xxxxxxxxxxx> wrote:

> On Fri, 09.08.13 16:34, আনন্দ কুমার সমাদ্দার Ananda Samaddar
> (asamaddar@xxxxxxxxxxx) wrote:
> 
> > > I have no idea about hte package in question, but be aware that
> > > you need to pass --prefix=/usr (among other things) to configure
> > > for all packages packaged for Fedora. This is documented in more
> > > detail in the Fedora packaging guidelines.
> > > 
> > > If you end up with /usr/local in a path then this indicates that
> > > you didn't pass --prefix=/usr correctly or you found a bug in the
> > > upstream build scripts.
> > > 
> > > Lennart
> > > 
> > 
> > The package configures and builds fine.  The default %configure
> > macro automatically sets the prefix to /usr.  Michael was saying
> > that the binary path in the service file should be set by the
> > configure or make commands so this would require some knowledge of
> > autoconf.
> 
> If the unit files are shipped upstream, and are hardcoded to point to
> /usr/local, then that's an upstream bug really. Please ask them to
> generate them with sed or so with the right path filled in. 
> 
> Lennart
> 

The unit file did point to /usr/local/bin.  I contacted upstream and
they changed it to /usr/bin.  I was then led to believe that the path
had to be generated during the build process as I've mentioned
previously and it's not satisfactory to include a manually written unit
file with the path already set.  If it is I'll inform upstream and this
issue can be closed.

Ananda
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux