Re: [dm-devel] [PATCH 6/8] libmultipath: improve checks for set_str

2021-11-05 Thread Benjamin Marzinski
On Fri, Nov 05, 2021 at 06:59:11AM +, Martin Wilck wrote: > Hi Ben, > > On Thu, 2021-11-04 at 21:34 +0100, Martin Wilck wrote: > > On Wed, 2021-10-06 at 15:04 -0500, Benjamin Marzinski wrote: > > > multipath always requires absolute pathnames, so make sure all file > > > and > > > directory na

Re: [dm-devel] [PATCH 6/8] libmultipath: improve checks for set_str

2021-11-05 Thread Benjamin Marzinski
On Thu, Nov 04, 2021 at 08:34:20PM +, Martin Wilck wrote: > On Wed, 2021-10-06 at 15:04 -0500, Benjamin Marzinski wrote: > > multipath always requires absolute pathnames, so make sure all file > > and > > directory names start with a slash.  Also check that the directories > > exist.  Finally,

[dm-devel] [PATCH 6/8] libmultipath: improve checks for set_str

2021-10-06 Thread Benjamin Marzinski
multipath always requires absolute pathnames, so make sure all file and directory names start with a slash. Also check that the directories exist. Finally, some strings, like the alias, will be used in paths. These must not contain the slash character '/', since it is a forbidden character in fil