ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus mailing list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Вопрос по os-release
Date: Fri, 1 Mar 2013 20:50:19 +0400
Message-ID: <20130301165019.GA3345@altlinux.org> (raw)
In-Reply-To: <512F4CF3.3040306@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 977 bytes --]

On Thu, Feb 28, 2013 at 04:26:27PM +0400, Alexey Gladkov wrote:
> 28.02.2013 16:03, Pavel Vainerman wrote:
> >> Как я показал выше показать что именно файл битый можно, но выглядеть
> >> эта проверка будет очень забавно. Безусловно я добавлю её раз возник
> >> прецедент с записью туда мусора.
> >   +1
> > 
> > Если это всё-таки возможно.. то было бы хорошо.
> 
> Нет ничего невозможного, есть трудно достижимое :)
> 
> http://git.altlinux.org/people/legion/packages/make-initrd.git?p=make-initrd.git;a=commitdiff;h=891b6c03bc3c574db56c0f48342bd18f5ab0bc3f

Файл с синтаксисом shell-скрипта, конечно, засорсится, но если там
окажется синтаксически корректный мусор, то результат может оказаться
еще веселее.  Например:

echo halt > /etc/os-release

Другими словами, мусор в системных файлах легко может разрушить всю
систему.  Проверка синтаксиса - это, конечно, хорошо, но не отменяет
необходимости поддерживать системные файлы в порядке.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2013-03-01 16:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-28  5:30 Sergei Epiphanov
2013-02-28  7:11 ` Alexey Gladkov
2013-02-28  8:12   ` Vladimir Lettiev
2013-02-28 10:26     ` Андрей Черепанов
2013-02-28 10:06   ` Sergei Epiphanov
2013-02-28 10:25     ` Alexey Gladkov
2013-02-28 10:29       ` Michael Shigorin
2013-02-28 11:15         ` Alexey Gladkov
2013-02-28 11:19           ` Pavel Vainerman
2013-02-28 11:30             ` Alexey Gladkov
2013-02-28 11:35               ` Pavel Vainerman
2013-02-28 11:59                 ` Alexey Gladkov
2013-02-28 12:03                   ` Pavel Vainerman
2013-02-28 12:26                     ` Alexey Gladkov
2013-02-28 12:57                       ` Pavel Vainerman
2013-03-01 16:50                       ` Dmitry V. Levin [this message]
2013-02-28 12:16                   ` Michael Shigorin
2013-02-28 11:52               ` Aleksey Novodvorsky
2013-02-28 13:35               ` Sergei Epiphanov
2013-02-28 13:34       ` Sergei Epiphanov

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=20130301165019.GA3345@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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