On 1/17/2018 5:10 PM, Brian J. Murrell wrote: > On Mon, 2018-01-15 at 06:52 +0100, Matt Darfeuille wrote: >> >> Ok -- You seem to be fixated on not restricting the use of the lock >> utility. > > Please don't be so defensive. That's not it at all. I am trying to > debug a problem here and in trying to do that I am trying to understand > the nature of the problem and the tool(s) involved in the problem. > > I'm just trying to understand why you think "lock" should be exclusive > to OpenWRT and that you suggested previously that even though I am on > OpenWRT that I should "pass other option to lock". It seems like you > might know something I don't. I'm just trying to discover what that > is. >
Actually, in your first e-mail you never mentioned the platform you were using: https://sourceforge.net/p/shorewall/mailman/message/36189733/ My understanding is that lock is only used on OpenWRT. Given that I wasn't aware of which platform you were on at the time; I thought that the patch might be useful. > >> 1) I don't get that behavier on OpenWRT 15.05.1 with shorewall-lite >> 5.1.10.2. > > Are you building your OpenWRT packages yourself or using something > built upstream/elsewhere? > I build Shorewall from git: http://shorewall.org/Build.html >> Note that Shorewall is patched: >> 1a68d87c9 >> c518cfaa4 >> 09980cc75 >> e0a757ea0 >> 550003f0f > > What is the reference point for those sha1s? Which git repository are > they referring to? > I cherry-picked those commits on top of the tag 5.1.10.2. See also the above link. >> 2) Using /etc for temporary files. > > Why /etc/ and not /tmp? > What I meant was: Why are the lock files created in /etc/shorewall-lite/* and not in /var. You seem to be using an old version of OpenWRT/shorewall-lite? -Matt -- Matt Darfeuille ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users