* [sisyphus] Bugs in /sbin/limited and /etc/init.d/functions-compat
@ 2008-11-16 0:15 Ivan Adzhubey
2008-11-16 0:21 ` Ivan Adzhubey
0 siblings, 1 reply; 2+ messages in thread
From: Ivan Adzhubey @ 2008-11-16 0:15 UTC (permalink / raw)
To: sisyphus
Приветствую!
После очередного обновления перестал запускаться демон, установленный из
вражеского RPM:
# service squeezecenter start
Starting SqueezeCenter: limited: Insufficient arguments.
Try `limited --help' for more information.
[FAILED]
Попытки разобраться пока привели к следующим находкам.
В /etc/init.d/functions-compat:
# And start it up.
if [ -z "$daemon_user" ]; then
nice -n $nicelevel initlog $INITLOG_ARGS -n "$base" -c
limited -n $base -- "sh -c '$*$bg'"
else
nice -n $nicelevel initlog $INITLOG_ARGS -n "$base" -c
limited -n $base -- "su -s /bin/sh -l $daemon_user -c '$*$bg'"
fi
Здесь аргумент -c команды initlog должен быть отквочен целиком, то есть вот
так:
initlog $INITLOG_ARGS -n "$base" -c "limited -n $base -- su -s /bin/sh -l
$daemon_user -c '$*$bg'"
После этого исправления запуск демона заработал. Сейчас в багзиллу занесу...
--Иван
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [sisyphus] Bugs in /sbin/limited and /etc/init.d/functions-compat
2008-11-16 0:15 [sisyphus] Bugs in /sbin/limited and /etc/init.d/functions-compat Ivan Adzhubey
@ 2008-11-16 0:21 ` Ivan Adzhubey
0 siblings, 0 replies; 2+ messages in thread
From: Ivan Adzhubey @ 2008-11-16 0:21 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
On Saturday 15 November 2008 07:15:42 pm Ivan Adzhubey wrote:
> Здесь аргумент -c команды initlog должен быть отквочен целиком, то есть вот
> так:
>
> initlog $INITLOG_ARGS -n "$base" -c "limited -n $base -- su -s /bin/sh -l
> $daemon_user -c '$*$bg'"
>
> После этого исправления запуск демона заработал. Сейчас в багзиллу
> занесу...
#17900
--Иван
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-16 0:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-16 0:15 [sisyphus] Bugs in /sbin/limited and /etc/init.d/functions-compat Ivan Adzhubey
2008-11-16 0:21 ` Ivan Adzhubey
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