You are not logged in.

#1 2015-10-02 16:37:44

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

connmand and cmst

Is there any way to make my remote mounts go out before connmand shuts down my network causing it to be unable to unmount remote fs targets?
Maybe a change to one of the systemd units or add something to systemd-shutdown so that it doesn't shutdown in the wrong order.  Fine that we have Before= and After= but that's during startup, not shutdown.  So I figure there might be something to add to the systemd.shutdown directories that will fix the right order.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2 2015-10-02 18:08:19

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: connmand and cmst

nomorewindows wrote:

Fine that we have Before= and After= but that's during startup, not shutdown.

That's not exactly true. During shutdown the ordering is the inverse of the start-up ordering.

I found the following bug report and patch that seems to be included in the Arch package: https://01.org/jira/browse/CM-683

Some relevant systemd docs: http://www.freedesktop.org/wiki/Softwar … orkTarget/

So that should work with the remote-fs.target provided by systemd.

Offline

#3 2015-10-02 18:22:04

f3bruary
Member
From: /root
Registered: 2015-06-06
Posts: 58

Re: connmand and cmst

I had the same issue. Had to switch to netctl


-f3b

Offline

#4 2015-10-02 18:36:00

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: connmand and cmst

Raynman wrote:
nomorewindows wrote:

Fine that we have Before= and After= but that's during startup, not shutdown.

That's not exactly true. During shutdown the ordering is the inverse of the start-up ordering.

I found the following bug report and patch that seems to be included in the Arch package: https://01.org/jira/browse/CM-683

Some relevant systemd docs: http://www.freedesktop.org/wiki/Softwar … orkTarget/

So that should work with the remote-fs.target provided by systemd.

The current cmst-git has the file written that way...but it still don't wait unless it needs to have something changed according to the https://github.com/osmc/osmc/blob/maste … an.service does the ordering here matter?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#5 2015-10-03 02:13:18

ajbibb
Member
Registered: 2012-02-12
Posts: 142

Re: connmand and cmst

nomorewindows wrote:

The current cmst-git has the file written that way...but

I'm not the maintainer of cmst-git, but I am the guy who wrote cmst and I'm a bit confused by that.  We don't have any systemd service files with the program.  Did you mean service files provided by connman?

On the connman mailing list there has been some recent discussion and several patches applied dealing with the systemd service files and startup and shutdown of remote-fs.  I'm seeing messages on 9/17, 9/18 and 9/21 if you want to check the mailing list.  All are after the most recent connman update in the repos.

Offline

#6 2015-10-03 05:27:59

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: connmand and cmst

ajbibb wrote:
nomorewindows wrote:

The current cmst-git has the file written that way...but

I'm not the maintainer of cmst-git, but I am the guy who wrote cmst and I'm a bit confused by that.  We don't have any systemd service files with the program.  Did you mean service files provided by connman?

On the connman mailing list there has been some recent discussion and several patches applied dealing with the systemd service files and startup and shutdown of remote-fs.  I'm seeing messages on 9/17, 9/18 and 9/21 if you want to check the mailing list.  All are after the most recent connman update in the repos.

Yeah I meant connmand.
It's odd that connmand/cmst picks up wireless differently than wicd.  It'll pick up stuff that wicd doesn't or won't hang onto.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB