[{"id":1766808,"web_url":"http://patchwork.ozlabs.org/comment/1766808/","msgid":"<9863389f-0b1b-7900-8d39-be960a6a78ae@denx.de>","list_archive_url":null,"date":"2017-09-12T09:26:31","subject":"Re: [swupdate] [PATCH v2 1/6] socket split: make socket paths\n\tconfigurable","submitter":{"id":5771,"url":"http://patchwork.ozlabs.org/api/people/5771/","name":"Stefano Babic","email":"sbabic@denx.de"},"content":"On 07/09/2017 14:24, Christian Storm wrote:\n> Make socket paths configurable via config system.\n> Per default, the currently established paths are\n> used to maintain backwards compatibility.\n> \n> Signed-off-by: Christian Storm <christian.storm@siemens.com>\n> ---\n>  Kconfig | 23 +++++++++++++++++++++++\n>  1 file changed, 23 insertions(+)\n> \n> diff --git a/Kconfig b/Kconfig\n> index 07c394a..b77850f 100644\n> --- a/Kconfig\n> +++ b/Kconfig\n> @@ -110,6 +110,29 @@ config SW_VERSIONS_FILE\n>  \t  but in some cases it can be required to do it. Having a check,\n>  \t  the risky-component is not always updated.\n>  \n> +menu \"Socket Paths\"\n> +\n> +config SOCKET_CTRL_PATH\n> +\tstring \"SWUpdate control socket path\"\n> +\tdefault \"/tmp/sockinstctrl\"\n> +\thelp\n> +\t  Path to SWUpdate's IPC socket.\n> +\n> +config SOCKET_PROGRESS_PATH\n> +\tstring \"SWUpdate progress socket path\"\n> +\tdefault \"/tmp/swupdateprog\"\n> +\thelp\n> +\t  Path to the socket progress information is sent to.\n> +\n> +config SOCKET_REMOTE_HANDLER_DIRECTORY\n> +\tstring \"SWUpdate remote handler socket directory\"\n> +\tdefault \"/tmp/\"\n> +\thelp\n> +\t  Directory where sockets to remote handler processes\n> +\t  are expected to be found.\n> +\n> +endmenu\n> +\n>  config MTD\n>  \tbool \"MTD support\"\n>  \tdefault y\n> \n\nApplied (whole series) to -master, thanks !\n\nBest regards,\nStefano Babic","headers":{"Return-Path":"<swupdate+bncBAABBS6Q33GQKGQEGK7NE4I@googlegroups.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=googlegroups.com\n\t(client-ip=2a00:1450:4010:c07::238;\n\thelo=mail-lf0-x238.google.com;\n\tenvelope-from=swupdate+bncbaabbs6q33gqkgqegk7ne4i@googlegroups.com;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=googlegroups.com header.i=@googlegroups.com\n\theader.b=\"nctdt1tX\"; dkim-atps=neutral"],"Received":["from mail-lf0-x238.google.com (mail-lf0-x238.google.com\n\t[IPv6:2a00:1450:4010:c07::238])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xrzvM53yZz9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 19:26:38 +1000 (AEST)","by mail-lf0-x238.google.com with SMTP id k23sf284077lfi.3\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 02:26:38 -0700 (PDT)","by 10.25.23.154 with SMTP id 26ls11526lfx.7.gmail; Tue, 12 Sep 2017\n\t02:26:35 -0700 (PDT)","from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9])\n\tby gmr-mx.google.com with ESMTPS id\n\t200si953860wmj.0.2017.09.12.02.26.35\n\tfor <swupdate@googlegroups.com>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 12 Sep 2017 02:26:35 -0700 (PDT)","from frontend03.mail.m-online.net (unknown [192.168.6.182])\n\tby mail-out.m-online.net (Postfix) with ESMTP id 3xrzvH2d7Xz1qvgc;\n\tTue, 12 Sep 2017 11:26:35 +0200 (CEST)","from localhost (dynscan3.mnet-online.de [192.168.6.84])\n\tby mail.m-online.net (Postfix) with ESMTP id 3xrzvH2QMfz1qsQG;\n\tTue, 12 Sep 2017 11:26:35 +0200 (CEST)","from mail.mnet-online.de ([192.168.8.182])\n\tby localhost (dynscan3.mail.m-online.net [192.168.6.84]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id AYNptA33ykzC; Tue, 12 Sep 2017 11:26:34 +0200 (CEST)","from babic.homelinux.org\n\t(host-88-217-136-221.customer.m-online.net [88.217.136.221])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby mail.mnet-online.de (Postfix) with ESMTPS;\n\tTue, 12 Sep 2017 11:26:34 +0200 (CEST)","from localhost (mail.babic.homelinux.org [127.0.0.1])\n\tby babic.homelinux.org (Postfix) with ESMTP id CA2F345405CE;\n\tTue, 12 Sep 2017 11:26:33 +0200 (CEST)","from babic.homelinux.org ([127.0.0.1])\n\tby localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id pfqcLV7-sI8o; Tue, 12 Sep 2017 11:26:31 +0200 (CEST)","from [192.168.178.132] (papero.fritz.box [192.168.178.132])\n\tby babic.homelinux.org (Postfix) with ESMTP id 1DE0945405CD;\n\tTue, 12 Sep 2017 11:26:31 +0200 (CEST)"],"ARC-Seal":["i=2; a=rsa-sha256; t=1505208396; cv=pass;\n\td=google.com; s=arc-20160816;\n\tb=OBlIiDjN75HD26BG7mtOec1e3skYzHGP4FR70xDIhgXDLkPaZXBKdajAlwLe7lIZnI\n\tHfNdM1CjMXgnJQQRLEOui0jpbkG8UFCoLnXcFHuhd+1AOU0C+9CyuvbFu3IMNkSwcVPG\n\t9RhKTPjFl15+okcsn8L1TRuPeqJ2Dm8is2LrDMc7Q/M/mrC4QGXmCY901nC0PYFK6KrS\n\tz8NyjFBTGQDfmIBHycUhUya1itfgptFD/OHGRLGvGWGfjlFOtVzHpzmXKKnwFqlnxTM+\n\tM9B4swfpXPvqjsfUSICROlxRaGJOO80pnXA5VhXBeKkGCJzEq9gqMFRjX2qAZEFlx25j\n\t9oIw==","i=1; a=rsa-sha256; t=1505208395; cv=none;\n\td=google.com; s=arc-20160816;\n\tb=oz39DXncnK5T9nLAdE/CnRLWy0bk8482LtH00QUmjxaPw5vS/dW/BSQOvwZt6NifIw\n\tEZdxCjt7r4fsjCg8YRV8FKx9VzwbX4CaGJ/Wyk0/7n0J79NthF8AARRjCZnYSD5Dr+Uo\n\tvCtT70LHKy14wjfAiaGKj99ZKVIWcaQ5TLQqSoAS02F2kYpgQaP6w3EA7iEJQpSbKyBP\n\tM2ZUsoBsToYbturUdkypJL9G4HTex9ucvtYhThmOuNDfcAwMreeL3lWGvfUSNQ1RTEFP\n\tYjpt3/Whywv20z79CrR7Ju8wU4x6Y8wKtOGJ6nc5cb5ui8pCRlIrcNMgFizfoLAj4+0u\n\tlF4w=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=list-unsubscribe:list-subscribe:list-archive:list-help:list-post\n\t:list-id:mailing-list:precedence:content-language:in-reply-to\n\t:mime-version:user-agent:date:message-id:from:references:to:subject\n\t:arc-authentication-results:arc-message-signature:sender\n\t:dkim-signature:arc-authentication-results;\n\tbh=VzselU6riQJo50x0uhnSijhvWSQSm+upBERaVqEiMVg=;\n\tb=SdUHPCdswXsc69qTDEXZU3ZbKfL4Iw2G6yD+SzHPdjfU8x/BiKEpKMDXJJXrljDMgE\n\tomAWDLPBC7Tve9EHErKidMO0xX+pkQmQTx/thPRVKib3bKR06QRU114HNBEeNk6nqeu4\n\tLLnqFhCu/oA6EPq2khpCRmc1LFrvyun/nRb/CSUPaWUQCe1VuJkt2EErVamG9N5Ap3kk\n\t6powGCjPRGNBY1Yj5hWy3jTlr7L6rWJVkSK1XX5KsoeIjU/wg/FiTNjitI1Bt7mFGf4u\n\tqD+0gXrIqIu7LZPKxaYrrC5YTA9T+ZX9tHW8vY1tt9cT6gBPbHE0uWwaXbQ1T7i5ny+I\n\tIYRg==","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=arc-20160816; \n\th=content-transfer-encoding:content-language:in-reply-to:mime-version\n\t:user-agent:date:message-id:from:references:to:subject\n\t:arc-authentication-results;\n\tbh=9Co7XRDZBOkYo6S/01Og7oysKFglv6/KzAMvr4qcu3Y=;\n\tb=oOTn1smNDSKBYTXClefaUJqz8s8ei2d85KZQKWDM/5HQcvuxNKBPU1nEYty7bKI6h+\n\t7JzJGPS+n43lLdeRwjuN75BcwqSRDpe3Zlt7jXj2xNw8VaiuAsVIlRWk4yKxCjzDrF+I\n\txo7hAzQFh7PLM53UlJvreRkxcYRAMkC+khtEMSONY94nn1+CeBjxXX1cCPv3KmYBw2WY\n\t4VFmjFOdlM1MPlpmdLWSP73YbAjp1nVIGvGez3wzi+kzUeaPPxD+/f+5aOur1bYGHns1\n\tA2XEVaSd1TolTSIUe8P46Vyt07JcCQKxCPoaF+fnKbtE93lCqqXSEJCZ2p3C2aAH5ayF\n\ttFcQ=="],"ARC-Authentication-Results":["i=2; gmr-mx.google.com;\n\tspf=neutral (google.com: 212.18.0.9 is neither permitted nor denied\n\tby best guess record for domain of sbabic@denx.de)\n\tsmtp.mailfrom=sbabic@denx.de","i=1; gmr-mx.google.com;\n\tspf=neutral (google.com: 212.18.0.9 is neither permitted nor denied\n\tby best guess record for domain of sbabic@denx.de)\n\tsmtp.mailfrom=sbabic@denx.de"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20161025;\n\th=sender:subject:to:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:x-original-sender\n\t:x-original-authentication-results:precedence:mailing-list:list-id\n\t:list-post:list-help:list-archive:list-subscribe:list-unsubscribe;\n\tbh=VzselU6riQJo50x0uhnSijhvWSQSm+upBERaVqEiMVg=;\n\tb=nctdt1tXJfZAYC8IrOo+CvqxvmwlLEMOA5qj3c1uQSrBNbf1ltOmqxvr8sBssZEWka\n\t+H0bfuGh4S+uia658Ul8m4VO7oyVb3fad78iAFtdiAD7HuikYFhnjPebf/2e7QIAhDtG\n\trWTbrnF4B/UQlX/ShAu9jOECEJQbX2yJI3/EsNdxgDPvgmGTpZ7uBc4ru2SqzT2w+7nD\n\tNXH6vbWmxt8A6xjnSjM2iD1cMs36em618iG669yxJOHJP4AYf4yuI9OH2gMVcrFQoqDB\n\tmdBeVzPGB3WoMHdI1zw7Ll6wwZtPSBkToXIVsbqFtBua72IDDMi7lhAxKt5esbbTy/f6\n\ttwCQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=sender:x-gm-message-state:subject:to:references:from:message-id\n\t:date:user-agent:mime-version:in-reply-to:content-language\n\t:x-original-sender:x-original-authentication-results:precedence\n\t:mailing-list:list-id:x-spam-checked-in-group:list-post:list-help\n\t:list-archive:list-subscribe:list-unsubscribe;\n\tbh=VzselU6riQJo50x0uhnSijhvWSQSm+upBERaVqEiMVg=;\n\tb=OgSIZTMLt/lj4DOUgYk8PCa/2Z3sT/MOlMD4AOuqR0DJMqC5dLhr//p0Gkd3/TyWcF\n\tcDasHFkrB0NZuvTA7Ck1W0QRMHCClWkBMz4H3BhHHeU8qQRbCp35XRZKaB0gg8EUH+qh\n\tofu89Hmj/E4gGvAv8tKvY4KbBTsBfIgRcp9OZlmmIDkOaUFb94+tpokVEozb44t8X0dr\n\tdXaMIE/vw7ZgoHIzYvmOCRj34+jdQy/3jDzaJWpnjFu3dELBMo1oydDuwvrUqX/OR1zp\n\tYzHEYmdjIFpYVJjxXD6QVRHYWqrhYyXhdq51MCw1hkqnrVog8SaSEZm/AwbWrYJc3rAN\n\tQY5Q==","Sender":"swupdate@googlegroups.com","X-Gm-Message-State":"AHPjjUgiufUfeDMMZQ0sk/NfVFUul8mNkIiYH0kxfjNUKb4wyVSNh48l\n\t60wpnZdVUA8piQ==","X-Google-Smtp-Source":"AOwi7QB8H2/CAsAdayGvKeAdzn0vHbyS43WZbNCmFJe6kkW4a43fEo+LhtoZKK94rb1aXfpRevU7eg==","X-Received":["by 10.46.43.133 with SMTP id r5mr25611ljr.10.1505208396166;\n\tTue, 12 Sep 2017 02:26:36 -0700 (PDT)","by 10.25.84.7 with SMTP id i7mr1108766lfb.12.1505208395646;\n\tTue, 12 Sep 2017 02:26:35 -0700 (PDT)"],"X-BeenThere":"swupdate@googlegroups.com","Received-SPF":"neutral (google.com: 212.18.0.9 is neither permitted nor\n\tdenied by best guess record for domain of sbabic@denx.de)\n\tclient-ip=212.18.0.9; ","X-Virus-Scanned":["amavisd-new at mnet-online.de","Debian amavisd-new at babic.homelinux.org"],"Subject":"Re: [swupdate] [PATCH v2 1/6] socket split: make socket paths\n\tconfigurable","To":"Christian Storm <christian.storm@siemens.com>, swupdate@googlegroups.com","References":"<20170907122454.24183-1-christian.storm@siemens.com>","From":"Stefano Babic <sbabic@denx.de>","Message-ID":"<9863389f-0b1b-7900-8d39-be960a6a78ae@denx.de>","Date":"Tue, 12 Sep 2017 11:26:31 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<20170907122454.24183-1-christian.storm@siemens.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Language":"de-DE","X-Original-Sender":"sbabic@denx.de","X-Original-Authentication-Results":"gmr-mx.google.com;       spf=neutral\n\t(google.com: 212.18.0.9 is neither permitted nor denied by best guess\n\trecord\n\tfor domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de","Precedence":"list","Mailing-list":"list swupdate@googlegroups.com;\n\tcontact swupdate+owners@googlegroups.com","List-ID":"<swupdate.googlegroups.com>","X-Spam-Checked-In-Group":"swupdate@googlegroups.com","X-Google-Group-Id":"605343134186","List-Post":"<https://groups.google.com/group/swupdate/post>,\n\t<mailto:swupdate@googlegroups.com>","List-Help":"<https://groups.google.com/support/>,\n\t<mailto:swupdate+help@googlegroups.com>","List-Archive":"<https://groups.google.com/group/swupdate","List-Subscribe":"<https://groups.google.com/group/swupdate/subscribe>,\n\t<mailto:swupdate+subscribe@googlegroups.com>","List-Unsubscribe":"<mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>,\n\t<https://groups.google.com/group/swupdate/subscribe>"}}]