From: Alexander <alxste@yandex.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] как смонтировать или перемонтировать каталоги /run/user/... c опцией noexec?
Date: Fri, 3 Jun 2016 09:23:23 +0300
Message-ID: <6b9a1096-4bdd-22d7-700d-49f184581d2b@yandex.ru> (raw)
In-Reply-To: <f02eefcb-0fd7-8f3d-868d-a74cfe2405ad@yandex.ru>
01.06.2016 20:20, Alexander пишет:
> В принципе их можно попробовать перемонтировать уже после создания с
> нужной опцией,
Вот такой юнит systemd делает почти то что нужно (перемонтирует как надо):
[Unit]
Description=my remount unit
DefaultDependencies=yes
After=var-run-user-503.mount
[Service]
Type=simple
ExecStart=/bin/bash /etc/my-remount-script 503
[Install]
WantedBy=var-run-user-503.mount
но не понимаю как переписать его без использования константы - чтобы не
делать отдельной копии юнита под каждого пользователя?
С уважением, Александр
next prev parent reply other threads:[~2016-06-03 6:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-01 17:20 Alexander
2016-06-03 6:23 ` Alexander [this message]
2016-06-03 11:44 ` Ruslan
2016-06-04 19:41 ` Hihin Ruslan
2016-06-04 19:53 ` Alexander
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=6b9a1096-4bdd-22d7-700d-49f184581d2b@yandex.ru \
--to=alxste@yandex.ru \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git