ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Shabalin <a.shabalin@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] systemd-v197
Date: Tue, 15 Jan 2013 18:37:55 +0400
Message-ID: <CAEdvWkTjBBeh1UPjXjZfrPKwe56CyTHnQDHB+770JKwY0nQY-w@mail.gmail.com> (raw)
In-Reply-To: <20130115141138.GC3652@altlinux.org>

15 января 2013 г., 18:11 пользователь Dmitry V. Levin написал:
> On Tue, Jan 15, 2013 at 05:55:22PM +0400, Alexey Shabalin wrote:
>> День добрый.
>> Я начинаю готовить systemd-v197.
>> В v197 убрали все дистрибутиво-специфичные конфиги.
>> Всем дистрибутивам рекомендовано иметь одинаковые конфиги.
>
> Не совсем так.  В анонсе
> http://cgit.freedesktop.org/systemd/systemd/tree/NEWS?id=v197#n95
> написано:
>         * systemd will no longer detect and recognize specific
>           distributions. All distribution-specific #ifdeffery has been
>           removed, systemd is now fully generic and
>           distribution-agnostic. Effectively, not too much is lost as
>           a lot of the code is still accessible via explicit configure
>           switches. However, support for some distribution specific
>           legacy configuration file formats has been dropped. We
>           recommend distributions to simply adopt the configuration
>           files everybody else uses now and convert the old
>           configuration from packaging scripts. Most distributions
>           already did that. If that's not possible or desirable,
>           distributions are welcome to forward port the specific
>           pieces of code locally from the git history.
>
>> Речь идёт об:
>> - /etc/sysconfig/clock - не нужен, достаточно /etc/localtime
>> - /etc/sysconfig/i18n,/etc/sysconfig/keyboard  ->
>> /etc/locale.conf,/etc/vconsole.conf
>> - HOSTNAME= из /etc/sysconfig/network -> /etc/hostname
>>
>> Желания возвращать поддержку ALTLinux-специфичных конфигов в systemd нет.
>> Т.к. в ALTLinux поддерживается и SysV, то предлагаю адаптировать
>> SysV-скрипты к новым конфигам. Также надо будет исправить alterator.
>> В fedora миграция происходит в %post пакета systemd. Я бы предложил
>> эту миграцию делать в тех пакетах, которым принадлежат эти конфиги
>> сейчас.
>>
>> Отдельный вопрос об миграции с prefdm на {gdm,kdm,foo}.service, но
>> пока я к этому не готов морально :)
>>
>> У кого какие мысли по этому поводу? (только воздержитесь с
>> высказываниями что всё хреново - я и сам знаю).
>
> Предлагаю план:
> 1. вернуть поддержку ALTLinux-специфичных конфигов в systemd;
> 2. найти все те места, где используются эти ALTLinux-специфичные конфиги;
> 3. добавить во все эти места поддержку distribution-agnostic конфигов
>    в стиле systemd;
> 4. создавать новые distribution-agnostic конфиги в стиле systemd;
> 5. реализовать конвертацию старых ALTLinux-специфичных конфигов в новые,
>    distribution-agnostic конфиги в стиле systemd;
> 6. убрать поддержку старых ALTLinux-специфичных конфигов из systemd.

Поддерживаю план. Тогда я возвращаю поддержу и начинаю развешивать баги.

--
Alexey Shabalin

  reply	other threads:[~2013-01-15 14:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-15 13:55 Alexey Shabalin
2013-01-15 14:02 ` Alexey Gladkov
2013-01-15 14:14   ` Alexey Shabalin
2013-01-15 14:58     ` Michael Shigorin
2013-01-15 15:11       ` [devel] [JT] systemd-v197 Vladislav Zavjalov
2013-01-15 19:47         ` Денис Смирнов
2013-01-15 20:19           ` Vladislav Zavjalov
2013-01-15 19:42       ` [devel] systemd-v197 Alexey Shabalin
2013-01-17 18:44         ` Michael Shigorin
2013-01-15 14:11 ` Dmitry V. Levin
2013-01-15 14:37   ` Alexey Shabalin [this message]
2013-01-17 19:18   ` Alexey Shabalin
2013-01-15 16:18 ` Aleksey Avdeev
2013-01-15 19:40   ` Alexey Shabalin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEdvWkTjBBeh1UPjXjZfrPKwe56CyTHnQDHB+770JKwY0nQY-w@mail.gmail.com \
    --to=a.shabalin@gmail.com \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git