public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Bart Van Assche <bvanassche-HInyCGIudOg@public.gmane.org>
Subject: Re: [PATCH 11/13] srp_daemon: Add the debian initscripts as an option
Date: Wed, 28 Sep 2016 12:47:08 -0600	[thread overview]
Message-ID: <20160928184708.GA31472@obsidianresearch.com> (raw)
In-Reply-To: <57EC0B75.3000101-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

On Wed, Sep 28, 2016 at 02:27:01PM -0400, Doug Ledford wrote:
> On 9/23/16 3:17 PM, Jason Gunthorpe wrote:
> > Necessary to reproduce the Debian packaging.
> > 
> > Signed-off-by: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
> >  CMakeLists.txt                       |  3 ++
> >  srp_daemon/srp_daemon/CMakeLists.txt | 29 ++++++++----
> >  srp_daemon/srptools.default          | 14 ++++++
> >  srp_daemon/srptools.init             | 89 ++++++++++++++++++++++++++++++++++++
> 
> Would it be best to have directories for related install files for a
> specific OS?  For instance, srp_daemon/debian/ and srp_daemon/redhat/?
> It's not that I expect to put a redhat init script for srpd in place,
> but the script for debian is likely to not work properly on redhat, so
> having it in an OS directory would at least make that clear.

To be clear, there is already an initscript that (perhaps?) is for
RedHat - but it isn't even close to the Debian version. So this patch
introduces two scripts for srp_dameon, which I hated doing..

I'll drop this patch from the series and we can go ahead with the
other patches in the series.

For now I'll put the initscript in the Debian packaging patch and we
can think about what to do later. I think it can be moved to the
debian/ directory as well.

Going forward I think we need to make some decisions..

1) Do we want to do something with the initscripts so distros can use
   them? Is that even possible? I think Debian uses the bundled
   acm initscript, didn't look at suse.

   Is Debian the only major distro that still ships init scripts?
   Does FC/RH exclusively ship systemd unit files now?

   Maybe we should delete the initscripts entirely.

2) I'd like to support cross-distro systemd unit files upstream.
   Is that feasible? We are short unit files, could you
   contribute yours?

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2016-09-28 18:47 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-23 19:16 [PATCH 00/13] Policy changes and packaging support Jason Gunthorpe
     [not found] ` <1474658228-5390-1-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-23 19:16   ` [PATCH 01/13] Be consistent about defining NDEBUG Jason Gunthorpe
2016-09-23 19:16   ` [PATCH 02/13] Switch valgrind memcheck.h to on by default Jason Gunthorpe
2016-09-23 19:16   ` [PATCH 03/13] Do not produce libtool .la files Jason Gunthorpe
2016-09-23 19:16   ` [PATCH 04/13] Do not produce static libraries by default Jason Gunthorpe
2016-09-23 19:17   ` [PATCH 05/13] Have cmake run man pages through text substitution Jason Gunthorpe
     [not found]     ` <1474658228-5390-6-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-23 21:23       ` Hefty, Sean
     [not found]         ` <1828884A29C6694DAF28B7E6B8A82373AB08E9D8-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-09-23 21:38           ` Jason Gunthorpe
     [not found]             ` <20160923213819.GC8490-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-23 21:48               ` Hefty, Sean
2016-09-26  6:30               ` Weiny, Ira
     [not found]                 ` <2807E5FD2F6FDA4886F6618EAC48510E24EEBF1A-8k97q/ur5Z2krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-09-26  7:01                   ` Leon Romanovsky
2016-09-26 15:19                   ` Hefty, Sean
     [not found]                     ` <1828884A29C6694DAF28B7E6B8A82373AB08EFE3-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-09-26 17:47                       ` Jason Gunthorpe
     [not found]                         ` <20160926174713.GF22965-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-26 18:17                           ` Weiny, Ira
     [not found]                             ` <2807E5FD2F6FDA4886F6618EAC48510E24EEC6E9-8k97q/ur5Z2krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-09-26 18:21                               ` Jason Gunthorpe
     [not found]                                 ` <20160926182154.GA27094-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-29 18:37                                   ` ira.weiny
2016-09-23 21:49             ` Hefty, Sean
2016-09-23 19:17   ` [PATCH 06/13] Consolidate definitions for paths into config.h Jason Gunthorpe
     [not found]     ` <1474658228-5390-7-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-23 21:22       ` Hefty, Sean
2016-09-23 19:17   ` [PATCH 07/13] Pass ancillary files that use paths through cmake substitution Jason Gunthorpe
2016-09-23 19:17   ` [PATCH 08/13] srp_daemon: Move lock file into /var/run/ Jason Gunthorpe
2016-09-23 19:17   ` [PATCH 09/13] verbs: Move the providers into /usr/lib.../libibverbs by default Jason Gunthorpe
2016-09-23 19:17   ` [PATCH 10/13] ipathverbs: Move truescale-serdes.cmds to /usr/libexec/ Jason Gunthorpe
2016-09-23 19:17   ` [PATCH 11/13] srp_daemon: Add the debian initscripts as an option Jason Gunthorpe
     [not found]     ` <1474658228-5390-12-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-28 18:27       ` Doug Ledford
     [not found]         ` <57EC0B75.3000101-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-09-28 18:47           ` Jason Gunthorpe [this message]
     [not found]             ` <20160928184708.GA31472-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-28 18:55               ` Doug Ledford
     [not found]                 ` <57EC120F.7070506-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-09-28 21:13                   ` Jason Gunthorpe
2016-09-28 20:18               ` Bart Van Assche
     [not found]                 ` <07810a28-9db1-6dca-0666-d811fe246b7e-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-09-28 21:01                   ` Jason Gunthorpe
     [not found]                     ` <20160928210137.GB2533-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-28 21:11                       ` Doug Ledford
2016-09-23 19:17   ` [PATCH 12/13] Document a versioning strategy and use it Jason Gunthorpe
2016-09-23 19:17   ` [PATCH 13/13] Remove ibsupport-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org from MAINTAINERS Jason Gunthorpe
     [not found]     ` <1474658228-5390-14-git-send-email-jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-24 13:43       ` Dalessandro, Dennis
     [not found]         ` <1474724600.6625.1.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-24 16:56           ` Jason Gunthorpe
     [not found]             ` <20160924165645.GA16206-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-24 19:18               ` Dalessandro, Dennis
     [not found]                 ` <1474744719.6625.3.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-26 18:12                   ` Jason Gunthorpe
     [not found]                     ` <20160926181206.GA28992-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-26 19:12                       ` Dalessandro, Dennis
2016-09-28 18:27   ` [PATCH 00/13] Policy changes and packaging support Doug Ledford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160928184708.GA31472@obsidianresearch.com \
    --to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
    --cc=bvanassche-HInyCGIudOg@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox