| Summary: | shutdown command : unknown option : -F | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Adrien D <email> |
| Component: | RPM Packages | Assignee: | Colin Guthrie <mageia> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | Normal | CC: | email, filorin, thierry.vignaud |
| Version: | Cauldron | Keywords: | UPSTREAM |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | man-pages-fr | CVE: | |
| Status comment: | |||
|
Description
Adrien D
2014-01-09 20:19:56 CET
Adrien D
2014-01-09 20:20:06 CET
CC:
(none) =>
aaaaadrien man shutdown say :
OPTIONS
-a Utiliser /etc/shutdown.allow.
-t sec Indiquer à init(8) d'attendre sec secondes entre le moment de l'émission du signal d'averâ
tissement et celui du signal de fin (kill) aux processus, avant d'effectuer un changement
de niveau d'exécution.
-k Ne pas réellement s'arrêter ; uniquement envoyer les messages d'avertissement à tous les
processus.
-r Redémarrer la machine après l'arrêt du système.
-h Arrêter la machine après l'arrêt du système.
-n [DÃPRÃCIÃ] Ne pas appeler init(8) mais le faire soi-même. L'utilisation de cette option est
découragée, et ses résultats ne sont pas toujours ceux espérés.
-f Ne pas effectuer de fsck en cas de redémarrage.
-F Forcer l'utilisation de fsck en cas de redémarrage.
-c Annuler un shutdown en cours. Avec cette option, il n'est évidemment pas possible de donner
d'argument heure, mais vous pouvez entrer un message d'explication sur la ligne de commanâ
des qui sera envoyé Ã tous les utilisateurs.
Thierry Vignaud
2014-01-09 21:10:42 CET
Assignee:
bugsquad =>
mageia On my system the man of shutdown does not say this. The -f or -F options are not set. I believe the -F option used to write a /forcefsck file, but these days this is highly discouraged as the last thing you want to do to a filesystem you suspect of being dodgy is write files to it! So upstream have been quite reluctant to add a -F option when this way of working is considered bad practice. It's generally better to pass forcefsck on the kernel command line instead. If this is not possible and you're happy with the general state of your filesystem and it's mounted rw, then just "touch /forcefsck" and then "reboot". If the man page is a quote from your up-to-date cauldron machine, then this is indeed a bug as it's very much out of date and should be fixed. Sadly it seems the shutdown man page comes from the man-pages-fr project rather than systemd itself. These manual pages need to be consolidated and shipped with the upstream project, NOT separately where they go out of sync :( I'll raise this issue at FOSDEM at the systemd hackfest. Okay for the -F option. It's a bug into manpages-fr so.
Manuel Hiebel
2014-01-20 23:56:18 CET
Keywords:
(none) =>
UPSTREAM @Adrien D : manpages-fr translations are very old (the project seems to be given up since 2009). It's not recommended to use these translations anymore. Have a look at man urpmi and check the last translations' year in order to have an idea :) There's no -F option in shutdown. CC:
(none) =>
guillaume.ber17 Fixed in man-pages-fr-3.70-4.mga6.src.rpm Status:
NEW =>
RESOLVED |