<div dir="ltr">Hi Xose,<div><br></div><div>this 4-patch patchset to janitor the project header files is now merged, and more files deleted (specfile template and suse example sysv init script).</div><div><br></div><div>Do you care if I don't publish tarballs anymore ? I'd rather deprecate this <a href="http://christophe.varoqui.free.fr/" rel="noreferrer" target="_blank" style="font-size:19.2px">http://christophe.varoqui.free.fr/</a><span style="font-size:19.2px"> </span> website usage. The gitweb at <a href="http://git.opensvc.com">git.opensvc.com</a> offers the tarball extraction from version tags, for people who don't want to clone the git project.</div><div><br></div><div>Best regards,</div><div>Christophe Varoqui</div><div>OpenSVC</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 19, 2016 at 5:24 PM, Xose Vazquez Perez <span dir="ltr"><<a href="mailto:xose.vazquez@gmail.com" target="_blank">xose.vazquez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 04/28/2016 12:46 AM, Benjamin Marzinski wrote:<br>
<br>
> On Tue, Apr 26, 2016 at 07:53:48AM +0200, Hannes Reinecke wrote:<br>
>> On 04/25/2016 10:14 PM, Xose Vazquez Perez wrote:<br>
>>> Btw, are these relevant ?<br>
><br>
> For all that I didn't comment on, I feel the same way as Hannes.<br>
><br>
>>> getuid/usb_id<br>
>> Huh? What is that doing there?<br>
>> It should really have been moved to the udev package ...<br>
>><br>
>>> kpartx/kpartx_id<br>
>>> kpartx/kpartx.rules<br>
>> See above. Yes, they are relevant (at least for us)<br>
><br>
> Like I said, Red Hat doesn't use them. I'll post our multipath.rules<br>
> shortly.<br>
><br>
>>> multipath/01_udev<br>
>>> multipath/02_multipath<br>
>> Not used anymore with systemd/dracut<br>
>><br>
>>> multipath/11-dm-mpath.rules<br>
>> Yep. Absolutely required.<br>
>><br>
>>> multipath.conf.annotated<br>
>>> multipath.conf.defaults<br>
>>> multipath.conf.synthetic<br>
>> Actually, I never saw the need for those.<br>
>> Can we at least have them merged?<br>
><br>
> I don't think they are being kept up to date anymore.  The 'defaults'<br>
> information can be gotten from a running system, and it includes the<br>
> changes from the config files, so it's much more useful. I have no idea<br>
> what people would use 'synthetic' for besides an example of what a<br>
> config would look like. And the 'annotated' information is all in the<br>
> multipath.conf manpage. Red Hat doesn't ship these files anymore. I'd be<br>
> happy to see them go.<br>
><br>
>>> multipathd/multipathd.init.debian<br>
>>> multipathd/multipathd.init.redhat<br>
>>> multipathd/multipathd.init.suse<br>
>> Old init scripts; doubtful value.<br>
>><br>
>>> multipathd/multipathd.service<br>
>>> multipathd/multipathd.socket<br>
>> systemd service definitions. Yes, required.<br>
><br>
> Red Hat has a slightly different multipathd.service file, and we don't<br>
> ship the socket file.  Since multipathd should always be running, I<br>
> don't really see the need. Also, if you start multipathd manually<br>
> (instead of through udev) this causes problems with multipathd not<br>
> getting messages.<br>
><br>
> For those interested, here's a diff of our multipath.service<br>
><br>
> diff --git a/multipathd/multipathd.service<br>
> b/multipathd/multipathd.service<br>
> index d5f8606..1e5dfab 100644<br>
> --- a/multipathd/multipathd.service<br>
> +++ b/multipathd/multipathd.service<br>
> @@ -2,9 +2,10 @@<br>
>  Description=Device-Mapper Multipath Device Controller<br>
>  Before=iscsi.service iscsid.service lvm2-activation-early.service<br>
>  Before=local-fs-pre.target<br>
> -After=multipathd.socket<br>
> +ConditionPathExists=/etc/multipath.conf<br>
> +ConditionKernelCommandLine=!nompath<br>
>  DefaultDependencies=no<br>
> -Wants=local-fs-pre.target multipathd.socket blk-availability.service<br>
> +Wants=local-fs-pre.target blk-availability.service<br>
>  Conflicts=shutdown.target<br>
><br>
>  [Service]<br>
> @@ -12,9 +13,9 @@ Type=notify<br>
>  NotifyAccess=main<br>
>  LimitCORE=infinity<br>
>  ExecStartPre=/sbin/modprobe dm-multipath<br>
> +ExecStartPre=-/sbin/multipath -A<br>
>  ExecStart=/sbin/multipathd -d -s<br>
>  ExecReload=/sbin/multipathd reconfigure<br>
><br>
>  [Install]<br>
>  WantedBy=sysinit.target<br>
> -Also=multipathd.socket<br>
><br>
><br>
> Aside from dropping the socket, it checks that /etc/multipath.conf<br>
> exists, and that the kernel wasn't started with "nompath". Also it runs<br>
> "multipath -A" this reads the kernel commandline from /proc/cmdline, and<br>
> adds any wwids listed as part of any mpath.wwid=<wwid> parameters.<br>
> Hannes NACKed this patch, so the option isn't present upsteam.<br>
><br>
><br>
>>> multipath/multipath.init.suse<br>
>> Old init script; not used anymore.<br>
>><br>
>>> multipath/multipath.rules<br>
>> Yep. used for udev.<br>
>><br>
>>> <a href="http://multipath-tools.spec.in" rel="noreferrer" target="_blank">multipath-tools.spec.in</a><br>
>>><br>
>> Well; due to our buildservice we have to keep a separate spec file<br>
>> anyway. So ATM we don't use it.<br>
<br>
Hi Christophe, more files could be deleted as Benjamin and<br>
Hannes have suggested in this thread.<br>
<br>
I sent also four patches last month, and they're still pending:<br>
<a href="https://www.redhat.com/archives/dm-devel/2016-April/thread.html#00453" rel="noreferrer" target="_blank">https://www.redhat.com/archives/dm-devel/2016-April/thread.html#00453</a><br>
<br>
<br>
BTW, there are not new tar files at <a href="http://christophe.varoqui.free.fr/" rel="noreferrer" target="_blank">http://christophe.varoqui.free.fr/</a> ,<br>
latest is 0.5.0<br>
<br>
-thanks-<br>
</blockquote></div><br></div>