>> охрененно очевидное решение.
> Ну я уже два раза пытался написать правильное и очевидное решение, но
> сообщения трут. Видимо потому, что там есть нелестный отзыв о г-не
> Ш. )
> охрененно очевидное решение.(Третья попытка без мата)
Это если совсем в лоб. Проблема в том, что указана директива
After=systemd-remount-fs.service dbus.service
А After=. значит, что:
Before=, After=
Configures ordering dependencies between units. If a unit foo.service contains a setting Before=bar.service and both units are being started, bar.service's start-up is delayed until foo.service is started up. Note that this setting is independent of and orthogonal to the requirement dependencies as configured by Requires=. It is a common pattern to include a unit name in both the After= and Requires= option in which case the unit listed will be started before the unit that is configured with these options. This option may be specified more than once, in which case ordering dependencies for all listed names are created. After= is the inverse of Before=, i.e. while After= ensures that the configured unit is started after the listed unit finished starting up, Before= ensures the opposite, i.e. that the configured unit is fully started up before the listed unit is started. Note that when two units with an ordering dependency between them are shut down, the inverse of the start-up order is applied. i.
e. if a unit is configured with After= on another unit, the former is stopped before the latter if both are shut down. If one unit with an ordering dependency on another unit is shut down while the latter is started up, the shut down is ordered before the start-up regardless whether the ordering dependency is actually of type After= or Before=. If two units have no ordering dependencies between them, they are shut down or started up simultaneously, and no ordering takes place.
Т.е глупо просить стартовать после systemd-remount-fs.service, так как dbus.service стартует гораздо позже. И все эти попытки "угомонить разбушевавшийся и нелогичный systemd" можно решить одной простой строчкой:
After=dbus.service
P.S.: Честно говоря был лучшего мнения о г-не Шигорине. Никак не ожидал, что он не прочтет прежде документацию, вместо написания unit-файла методом брутфорса с 18-ой попытки (полтора часа / 5минут)! Да и в итоге получилось какое-то г-но. Впринципе выше правильно говорилось - майнтайнер, майнтайнеру рознь )