All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Roland Fehrenbacher <rf-PKu+Ek1N2UGzQB+pC5nmwQ@public.gmane.org>
Cc: Benjamin Drung
	<benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>,
	Laurence Oberman
	<loberman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Bart Van Assche
	<bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: srp_daemon : ​Disallow ​all targets ​if ​not ​explicitly ​allowed by default
Date: Wed, 10 May 2017 19:05:36 +0300	[thread overview]
Message-ID: <20170510160536.GE1839@mtr-leonro.local> (raw)
In-Reply-To: <22803.7541.113159.214164-4mDQ13Tdud8Jw5R7aSpS0dP8p4LwMBBS@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 4305 bytes --]

On Wed, May 10, 2017 at 04:02:29PM +0200, Roland Fehrenbacher wrote:
> >>>>> "BD" == Benjamin Drung <benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org> writes:
>
> Hi all,
>
>     BD> Am Dienstag, den 09.05.2017, 21:01 +0300 schrieb Leon
>     BD> Romanovsky:
>     >> On Tue, May 09, 2017 at 01:41:46PM -0400, Laurence Oberman wrote:
>     >> >
>     >> >
>     >> > ----- Original Message -----
>     >> > > From: "Bart Van Assche" <bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org> To:
>     >> > > "Benjamin Drung" <benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>, linux-rdm
>     >> > > a@vger.kernel.org Sent: Tuesday, May 9, 2017 1:11:06 PM
>     >> > > Subject: Re: srp_daemon : Disallow all targets if not
>     >> > > explicitly allowed by default
>     >> > >
>     >> > > On 05/09/17 10:07, Benjamin Drung wrote:
>     >> > > > srptools 1.0.3-2 in Debian disallows all targets if not
>     >> > > > explicitly allowed by default. Motivation (taken from
>     >> > > > debian/changelog):
>     >> > > >
>     >> > > > * Don't activate any targets per default. (Closes: #740945)
>     >> > > >   This is more sensible than the previous default of
>     >> > > > bringing   up all targets in the IB fabric upon boot. In a
>     >> > > > larger fabric   with many storage targets available, most
>     >> > > > of the times only   one or a few targets are wanted on a
>     >> > > > particular machine.
>     >> > > >
>     >> > > > Do you agree and could you change the default upstream? I
>     >> > > > prefer not to carry a different behavior in Debian alone.
>     >> > >
>     >> > > Hello Benjamin,
>     >> > >
>     >> > > What I expect is that users will hate this change. They will
>     >> > > notice that after they have installed and enabled srp_daemon
>     >> > > that no targets are discovered without having any clue why no
>     >> > > automatic login to SRP targets occurs.
>     >> > >
>     >> > > Bart.
>     >> > >
>     >> > > -- 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.htm l
>     >> > >
>     >> >
>     >> > Hello
>     >> >
>     >> > Indeed, I agree with Bart here, this change will lead to a lot
>     >> > of confusion about why users no longer see device discovery.
>     >> > For me I would prefer its not changed.
>     >>
>     >> According to the Benjamin's description, this is already behavior
>     >> of Debian and their derivatives. So this change won't change for
>     >> these users anything. I think that the best solution will be to
>     >> keep in sync distros and upstream. Or enable by default on all
>     >> systems or disable by default on all systems.
>
>     BD> This change was uploaded to Debian unstable two days ago. So it
>     BD> is a recent change done by Roland Fehrenbacher (CCed) which
>     BD> still can be reverted. I'm fine with any option as long as
>     BD> Debian and upstream are in sync.
>
>     BD> Bart's objection (that users of large setups know how to edit
>     BD> the srp_daemon configuration file but most users of small setups
>     BD> don't know how to edit that configuration file) seem valid to
>     BD> me. Roland, your input please.
>
> it's hard to judge what is the most wanted default setup. The reason why
> this was changed was the cited Debian bug report. I'm also a friend of
> well-defined configs, so I agree with that opinion. I believe,
> adding a '#' in front of a line of a config file shouldn't overburden an
> admin who deals with IB storage under Linux, if she/he prefers the most
> simple config. The change in Debian is also clearly communicated (NEWS
> file), so I don't really see a problem. Finally: There are many packages
> in Debian that have a different default config as compared to upstream.

There are number of reasons to keep upstream and distros in sync. Main
reasons are simplify testing (test once for all distros), packaging
(part of our CI checks) and developing (new features are added to all
distros automatically).

Thanks

>
> Cheers,
>
> Roland

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2017-05-10 16:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-09 17:07 srp_daemon : ​Disallow ​all targets ​if ​not ​explicitly ​allowed by default Benjamin Drung
     [not found] ` <1494349653.3752.4.camel-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2017-05-09 17:11   ` Bart Van Assche
     [not found]     ` <021b0a17-0552-6ee4-ec19-0e86ead527ef-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-05-09 17:41       ` Laurence Oberman
     [not found]         ` <1050725096.6555338.1494351706650.JavaMail.zimbra-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-05-09 18:01           ` Leon Romanovsky
     [not found]             ` <20170509180159.GK10073-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-05-09 18:04               ` srp_daemon : targets " Bart Van Assche
     [not found]                 ` <1494353077.2518.12.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-05-09 18:12                   ` Leon Romanovsky
2017-05-09 18:21                   ` Jason Gunthorpe
     [not found]                     ` <20170509182123.GC9715-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2017-05-09 18:41                       ` Laurence Oberman
2017-05-10 13:30               ` srp_daemon : ​Disallow ​all targets ​if ​not ​explicitly ​allowed " Benjamin Drung
     [not found]                 ` <1494423046.3739.8.camel-EIkl63zCoXaH+58JC4qpiA@public.gmane.org>
2017-05-10 14:02                   ` Roland Fehrenbacher
     [not found]                     ` <22803.7541.113159.214164-4mDQ13Tdud8Jw5R7aSpS0dP8p4LwMBBS@public.gmane.org>
2017-05-10 16:05                       ` Leon Romanovsky [this message]
2017-05-10 16:06                       ` srp_daemon : targets " Bart Van Assche
     [not found]                         ` <1494432414.2578.9.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-05-10 16:39                           ` Roland Fehrenbacher
     [not found]                             ` <22803.16933.196383.482890-4mDQ13Tdud8Jw5R7aSpS0dP8p4LwMBBS@public.gmane.org>
2017-05-10 16:46                               ` Bart Van Assche
     [not found]                                 ` <1494434801.2578.13.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-05-10 17:13                                   ` Roland Fehrenbacher
     [not found]                                     ` <22803.19010.749349.461444-4mDQ13Tdud8Jw5R7aSpS0dP8p4LwMBBS@public.gmane.org>
2017-05-10 17:15                                       ` Leon Romanovsky
2017-05-10 17:20                                       ` Bart Van Assche
     [not found]                                         ` <1494436821.2578.15.camel-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2017-05-11  8:50                                           ` Roland Fehrenbacher

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=20170510160536.GE1839@mtr-leonro.local \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org \
    --cc=benjamin.drung-EIkl63zCoXaH+58JC4qpiA@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=loberman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=rf-PKu+Ek1N2UGzQB+pC5nmwQ@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.