Bug 30306 - status args translation
Summary: status args translation
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: service (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 5361
  Show dependency tree
 
Reported: 2014-09-12 15:42 MSK by ildar
Modified: 2017-05-15 15:05 MSK (History)
6 users (show)

See Also:


Attachments
test script (198 bytes, text/plain)
2014-09-12 15:44 MSK, ildar
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ildar 2014-09-12 15:42:02 MSK
функция status безобразно преобразует входные аргументы. Например, такая конструкция:
> status --pidfile "$PIDFILE" --expect-user mail --name 'amavisd (master' -- amavisd

преобразуется (запуск sh -x test.sh) в такую:
+ start-stop-daemon --stop --test --name amavisd '(master' --pidfile /var/run/amavis/amavisd.pid --user mail

Где правда?
И как тогда использовать --name 'ИМЯ С ПРОБЕЛАМИ'?
Comment 1 ildar 2014-09-12 15:44:40 MSK
Created attachment 6138 [details]
test script