Commit Graph

21 Commits

Author SHA1 Message Date
Anton Midyukov
08d93ed851 init: elogind support
elogind is the systemd project's "logind" extracted out to be
a standalone service.  It integrates with PAM to know the set
of users that are logged in to a system and whether they are
logged in graphically, on the console, or remotely.
2019-04-15 14:50:38 +03:00
Anton Midyukov
a9094c1f15 Revert "init: drop vconsole-setup-kludge"
This reverts commit 408cc17429.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=28805#c45
2019-03-04 19:10:29 +03:00
Anton Midyukov
6bb1d1cd93 use/init/ConsoleKit: switch to Consolekit2-service
A separate ConsoleKit2-service package should help here...

See-also: https://bugzilla.altlinux.org/35915
2019-01-21 18:20:41 +03:00
Anton Midyukov
408cc17429 init: drop vconsole-setup-kludge
https://bugzilla.altlinux.org/28805 was fixed long ago.
2019-01-14 19:08:41 +03:00
Denis Pynkin
32e2ca5510 init: added multi-user boot target for systemd 2018-12-24 19:47:35 +03:00
Anton Midyukov
cabe92c2d4 s/sysk*logd/rsyslog/g
ldv@ has dropped sysklogd from sisyphus due to
its long-standing FTBFS and "other problems":
http://git.altlinux.org/tasks/archive/done/_207/211999/logs/events.6.1.log

The current recommended replacement is rsyslog
which is fine by itself but really overcomplicated
for the barebones logging system we usually need...
2018-10-15 22:45:41 +03:00
Michael Shigorin
c5c2ea9d79 init: tweak +systemd
Added chkconfig (spotted in alt-server's m-p-d)
and vconsole-setup-kludge@X86 (common problem
stop-gap item, unfortunately).
2018-08-13 20:02:16 +03:00
Michael Shigorin
a2d55319e1 init: set pkgpriorities
The infamous systemd infiltration through secondary
"targets" using virtual dependencies started with
syslogd-daemon, continued with network-config-subsystem
and later with ntp-server; all of its implementations
pulling in the main package which is explicitly unwanted
in sysv-based images.

Let's try employing pkgpriorities.
2018-06-11 15:24:10 +03:00
Anton Midyukov
dc1170b578 init, regular.mk: use/init/sysv/consolekit
This target is only needed for systems based on sysV init
to replace logind; it conflicts with systemd-logind.
2018-02-19 22:33:37 +03:00
Michael Shigorin
4a362955bf init: added bash-completion-systemd
...for a "full" systemd target that's been re-aliased
as "+systemd"; please adjust any minimalistic images
to use/init/systemd instead of +systemd.
2016-08-04 17:06:46 +03:00
Michael Shigorin
3d9a50ba28 init: re-rework de-systemd-ization
This partially reverts commit 30d3838: trying to use/rescue
with e.g. distro/simply results in conflict between SysVinit
and systemd-sysvinit; INIT_TYPE had to relation to RESCUE_LISTS
in the first place.  Ugh.
2016-03-25 19:27:25 +03:00
Michael Shigorin
547af7bd8a init: drop useless bits
These lines don't effect anything currently due to #30806.
2015-11-30 17:17:08 +03:00
Michael Shigorin
4534ca313b init: improve systemd debug facilities
The "best" "feature" of systemd "init system" has just
emerged once again: it will happily sit there idling
given startup or shutdown loops resulting in what looks
like a hang to an unsuspecting user; let's provide the
suspecting one with at least some tools described at
http://www.freedesktop.org/wiki/Software/systemd/Debugging
2015-10-20 14:18:18 +03:00
Michael Shigorin
30d38381a3 init: rework de-systemd-ization
It's the very same problem that must be solved within mkimage:
some package lists get expanded early and some late thus having
no chance to influence apt's choices of alternatives made early
(in fact, too early).

Until that, here's another kludge...

PS: turns out that ^systemd- is not "drop ^systemd" but rather:
    systemd-analyze
    systemd-coredump
    systemd-journal-gateway
    systemd-networkd
    systemd-sysvinit
    -- thus one /really/ wants something else.
2015-06-29 20:26:33 +03:00
Michael Shigorin
47c1639618 init: added experimental polkit "support"
This one relies on the controversial polkit-sysvinit package
that subverts policykit using well known groups to make it
"work" for things like NM and shutdown helpers.

See also http://altlinux.org/sysvinit and feel free to improve.
2015-06-16 14:49:59 +03:00
Michael Shigorin
bc2a4025d8 init: use the proper variable for i-f packages
When installer-feature-systemd-stage3 hits BASE_PACKAGES
it pulls install2-init-functions in which is wrong
(one of the consequences is that alterator-browser-qt
lands into even a very basic server installation).

And install2 doesn't even need that package as init feature
carries a script hook that does the same...
2015-02-26 17:36:31 +03:00
Michael Shigorin
1ca7975520 init: add systemd debug target
This one enables a spare shell on tty9 just in case.
2015-02-25 12:39:05 +03:00
Michael Shigorin
be38098abf init: tweak to accomodate p7/t7 too
The problem with initial implementation (commit 62e7e9c)
is that there's no systemd-services package in p7/branch
thus apt complains about an attempt to remove something
that doesn't even exist in the first place.
2014-11-14 16:30:03 +03:00
Michael Shigorin
41d537fb60 init: added tty12 log setup for systemd case
That's a part of ALT Linux conveniences: system log
messages at tty12 (helps immensely in case of disk crash
or cable problems as running anything, including utilities
to view logs, becomes painful to impossible in such cases).

systemd lacks this kind of setup out-of-box for sure
so zerg@ hacked a substitute together; just pull that in.
2014-07-28 20:11:24 +04:00
Michael Shigorin
b2a1befe25 init: we don't need no systemd with sysvinit
That is, no need to pull in systemd as syslogd-daemon provider
when an unspecified one has been requested by interactivesystem
or anything else.

The tricky issue is that THE_LISTS will get expanded separately
and too late to specify a particular provider which will have been
auto-chosen while expanding e.g. BASE_PACKAGES.
2013-09-16 21:01:04 +04:00
Michael Shigorin
b337e72ead initial init feature
This one is finally there and should help reduce the
systemd-induced mess in package lists and specifications.
2013-06-17 14:03:54 +04:00