Bug 30314 - shutdown/systemctl падает с SIGABRT при указании незнакомой опции
Summary: shutdown/systemctl падает с SIGABRT при указании незнакомой опции
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: systemd-sysvinit (show other bugs)
Version: unstable
Hardware: all Linux
: P3 major
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords: systemd
Depends on:
Blocks:
 
Reported: 2014-09-14 20:52 MSK by Evgenii Terechkov
Modified: 2014-09-14 20:52 MSK (History)
2 users (show)

See Also:


Attachments
Дамп упавшего процесса (512.00 KB, application/octet-stream)
2014-09-14 20:52 MSK, Evgenii Terechkov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evgenii Terechkov 2014-09-14 20:52:12 MSK
Created attachment 6141 [details]
Дамп упавшего процесса

========================================================
root@thinkpad ~ #shutdown -hF now
Code should not be reached 'Unhandled option' at src/systemctl/systemctl.c:6205, function shutdown_parse_argv(). Aborting.
[1]    16239 abort (core dumped)  shutdown -hF now
root@thinkpad ~ #ls -l /sbin/shutdown 
lrwxrwxrwx 1 root root 9 Sep 15 00:33 /sbin/shutdown -> systemctl
root@thinkpad ~ #rpm -qf /sbin/shutdown 
systemd-sysvinit-216-alt1
========================================================

Действительно, опция -F не поддерживается, но это не повод падать с вымётыванием дампа.