On Thursday, July 28, 2016 at 1:03:18 PM UTC-4, Chris Leech wrote: > > On Thu, Jul 28, 2016 at 02:50:54AM -0700, james harvey wrote: > > Am I doing something wrong to get iscsid to automatically login to > certain > > nodes, or am I not understanding what the .startup = automatic settings > do? > > > > I was about to post about having trouble getting automatic login to > work, > > but on the mailing list archives, I see some systemd services that run > > logins. > > > > Now I'm confused. > > > > I spammed automatic everywhere, thinking that would make iscsid > > automatically log into them. > > > > iscsid.conf:node.startup = automatic > > nodes/iqn.XXX/IP,port,1/defualt:node.startup = automatic > > nodes/iqn.XXX/IP,port,1/defualt:node.conn[0].startup = automatic > > send_targets/IP,port/st_config:discovery.startup = automatic > > > > Should these be left as manual, and run a systemd service that uses > > iscsiadm to login instead? > > The node.startup setting is handled by iscsiadm and not iscsid, and the > automatic setting just gives an easy filter (log into all vs log into > automatic) to use. > > There should be an service that makes use of that, but I haven't looked > at what Arch ships. We should make an effort to standardize systemd > units across distros as much as possible, but Arch is also shipping old > open-iscsi tools (due to the lack of releases). > > - Chris >
Thanks for clarification on which uses node.startup. Arch's service just has "ExecStart=/sbin/iscsid", not even an ExecStop, and nothing for iscsiadm. If a release gets tagged, if you'd like, I'd be happy to handle getting it and standardized systemd units into Arch's packaging. It would help if the standardized systemd services were all in the git repo. I see an iscsid.service is in there, but not the other service files discussed previous on the mailing list. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
