From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DNS_FROM_OPENWHOIS, RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=xk4FwwgCxfufnjTlLOznjeJIlFIaSQittqxloep+22k=; b=cT5I5K9zYha93+Z2NZoV5jXkiZkZVwaRODsWuJeXBeL//RExfShw2ZfyZRjenVxdAq sLe4rGED+ynp7snYCmME0yBeKQHln/njMom2D062glEQwmnh4d5MzXBXTqJHOzCJiw01 oWhGSj+Q1hd+3M65h1QXrp+f9Nh6CmKfIwaFY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=PwDn1jpS8tJ7FX4qAHkZbXNlPshcXUjv3pxizSQZh0pYq5JPXxbLZs1k+PpSxWKsoi eqCOoNglCNuDkZzCwpvElbuB8nIYGpsFO7d7oHhWFL6VlBoyWRASCgotDy2V9dm9ofg3 lOUlX0O28kFHO/HK3NR23Ji1g9IKtcVNYTJyE= Message-ID: <4D73789F.2030305@gmail.com> Date: Sun, 06 Mar 2011 15:05:51 +0300 From: Andrew Clark User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14pre) Gecko/20110124 Thunderbird/3.1.8pre MIME-Version: 1.0 To: ALT Linux Sisyphus discussions References: <201103060721.37146.romulak@googlemail.com> In-Reply-To: <201103060721.37146.romulak@googlemail.com> Content-Type: multipart/mixed; boundary="------------050101020608010608070002" Subject: Re: [sisyphus] systemd X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2011 12:06:01 -0000 Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. --------------050101020608010608070002 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit On 06.03.2011 08:21, Roman wrote: > Вчера отловил > service network restart > /sbin/service: line 75: [-f: команда не найдена После квадратной скобки нету пробела. Патч должен помочь. --------------050101020608010608070002 Content-Type: text/plain; name="service.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="service.patch" --- service.bak 2011-03-06 15:04:30.000000000 +0300 +++ service 2011-03-06 15:04:50.000000000 +0300 @@ -72,7 +72,7 @@ check_service cd / || exit if [ -x "$SYSTEMCTL" ]; then - if [-f "$SYSTEMDSERVICEDIR/${SERVICE}.service" -o -x "$SERVICEDIR/$SERVICE" ]; then + if [ -f "$SYSTEMDSERVICEDIR/${SERVICE}.service" -o -x "$SERVICEDIR/$SERVICE" ]; then exec $SYSTEMCTL "$@" ${SERVICE}.service fi elif [ -x "$SERVICEDIR/$SERVICE" ]; then --------------050101020608010608070002--