[Bug 910933] New: Canna can not start
http://bugzilla.opensuse.org/show_bug.cgi?id=910933 Bug ID: 910933 Summary: Canna can not start Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: x86-64 OS: openSUSE 13.2 Status: NEW Severity: Major Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: bkbin005@rinku.zaq.ne.jp QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I installed canna-devel in openSUSE 13.2. But I can not start Canna. Steps to Reproduce: 1) install openSUSE 13.2 2) sudo zypper install canna-devel 3) sudo systemctl status canna.service Actual Results: mitsutoshi@linux-rvvx:~> sudo systemctl start canna.service root's password: Job for canna.service failed. See "systemctl status canna.service" and "journalctl -xn" for details. mitsutoshi@linux-rvvx:~> sudo systemctl status canna.service canna.service - Canna Japanese Conversion Engine Loaded: loaded (/usr/lib/systemd/system/canna.service; disabled) Active: failed (Result: exit-code) since Sun 2014-12-21 09:57:54 JST; 32s ago Process: 6362 ExecStart=/usr/sbin/cannaserver -syslog (code=exited, status=1/FAILURE) Dec 21 09:57:54 linux-rvvx cannaserver[6362]: /usr/sbin/cannaserver: invalid option -- 'y' Dec 21 09:57:54 linux-rvvx cannaserver[6362]: Usage: cannaserver [-p num] [-l num] [-u us...e] Hint: Some lines were ellipsized, use -l to show in full. mitsutoshi@linux-rvvx:~> sudo systemctl -l status canna.service canna.service - Canna Japanese Conversion Engine Loaded: loaded (/usr/lib/systemd/system/canna.service; disabled) Active: failed (Result: exit-code) since Sun 2014-12-21 09:57:54 JST; 50s ago Process: 6362 ExecStart=/usr/sbin/cannaserver -syslog (code=exited, status=1/FAILURE) Dec 21 09:57:54 linux-rvvx cannaserver[6362]: /usr/sbin/cannaserver: invalid option -- 'y' Dec 21 09:57:54 linux-rvvx cannaserver[6362]: Usage: cannaserver [-p num] [-l num] [-u userid] [-syslog] [-inet] [-d] [dichome] mitsutoshi@linux-rvvx:~> sudo journalctl -xn -- Logs begin at Sat 2014-12-13 16:32:42 JST, end at Sun 2014-12-21 09:59:12 JST. -- Dec 21 09:57:54 linux-rvvx cannaserver[6362]: Usage: cannaserver [-p num] [-l num] [-u userid] Dec 21 09:57:54 linux-rvvx sudo[6359]: pam_unix(sudo:session): session closed for user root Dec 21 09:58:27 linux-rvvx sudo[6367]: mitsutoshi : TTY=pts/1 ; PWD=/home/mitsutoshi ; USER=ro Dec 21 09:58:27 linux-rvvx sudo[6367]: pam_unix(sudo:session): session opened for user root by Dec 21 09:58:27 linux-rvvx sudo[6367]: pam_unix(sudo:session): session closed for user root Dec 21 09:58:45 linux-rvvx sudo[6371]: mitsutoshi : TTY=pts/1 ; PWD=/home/mitsutoshi ; USER=ro Dec 21 09:58:45 linux-rvvx sudo[6371]: pam_unix(sudo:session): session opened for user root by Dec 21 09:58:45 linux-rvvx sudo[6371]: pam_unix(sudo:session): session closed for user root Dec 21 09:59:12 linux-rvvx sudo[6375]: mitsutoshi : TTY=pts/1 ; PWD=/home/mitsutoshi ; USER=ro Dec 21 09:59:12 linux-rvvx sudo[6375]: pam_unix(sudo:session): session opened for user root by I can reproduce this issue every time. Expected Results: Canna should start. Build Date & Hardware: Installed 2014-12-13 on VirtualBox 4.3.20 r96996 in Windows 7 Ultimate SP1. Please see also: http://lists.opensuse.org/opensuse-ja/2014-12/msg00017.html http://lists.opensuse.org/opensuse-ja/2014-12/msg00022.html -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910933 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |bwiedemann@suse.com, | |dvaleev@suse.com, | |maiku.fabian@gmail.com Assignee|bnc-team-screening@forge.pr |i@marguerite.su |ovo.novell.com | --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> --- /usr/sbin/cannaserver -syslog /usr/sbin/cannaserver: invalid option -- 'y' Usage: cannaserver [-p num] [-l num] [-u userid] [-syslog] [-inet] [-d] [dichome] it seems as if it does not understand the -syslog option even though its Usage suggests that it would -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910933 --- Comment #2 from Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp> --- The security-okir.patch changes -syslog option to -s, but usage and canna.service have forgotten it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910933 Fuminobu Takeyama <ftake@geeko.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ftake@geeko.jp Assignee|i@marguerite.su |ftake@geeko.jp --- Comment #3 from Fuminobu Takeyama <ftake@geeko.jp> --- Several mistakes in this commit: https://build.opensuse.org/request/show/204858 Sorry, I could not notice in the review phase. - "-syslog" option is wrong (as Mitsutoshi says) - the path in the canna-tmpfiles.conf is wrong + should be /tmp or change the path by adding a patch - user name for cannaserver is wrong + wrong fix: https://build.opensuse.org/package/rdiff/M17N/canna?linkrev=base&rev=29 $ sudo -u wnn /usr/sbin/cannaserver -s still don't work for me. It silently exits. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910933 Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tcs27@cantab.net --- Comment #4 from Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp> --- *** Bug 911526 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910933 --- Comment #5 from Fuminobu Takeyama <ftake@geeko.jp> --- I've packaged fixed version. Please confirm that it works for your environment: https://build.opensuse.org/package/show/home:ftake:branches:M17N/canna -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910933 --- Comment #6 from Mitsutoshi NAKANO <bkbin005@rinku.zaq.ne.jp> --- (In reply to Fuminobu Takeyama from comment #5)
https://build.opensuse.org/package/show/home:ftake:branches:M17N/canna
Your fix seems to run normally on my environment. Thank you! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910933 --- Comment #7 from Christian Steinruecken <tcs27@cantab.net> --- The changed version of service.canna now works correctly: [Unit] Description=Canna Japanese Conversion Engine [Service] Type=forking ExecPre=/bin/rm -rf /tmp/.iroha_unix ExecStart=/usr/sbin/cannaserver -s -u wnn -r /var/lib/canna ExecStopPost=/bin/rm -rf /tmp/.iroha_unix [Install] WantedBy=multi-user.target It would be great to add this patch to the openSuSE update repositories. Thank you very much! ありがとうございます。 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910933 --- Comment #8 from Christian Steinruecken <tcs27@cantab.net> --- While the patch isn't available via YaST online update yet, the simplest work-around is to manually edit /usr/lib/systemd/system/canna.service as follows: -------------------------------------------------------------- [Unit] Description=Canna Japanese Conversion Engine [Service] Type=forking ExecPre=/bin/rm -rf /tmp/.iroha_unix ExecStart=/usr/sbin/cannaserver -s /var/lib/canna/dic ExecStopPost=/bin/rm -rf /tmp/.iroha_unix [Install] WantedBy=multi-user.target -------------------------------------------------------------- And then executing (as root) the following commands: # systemctl daemon-reload # systemctl restart canna.service -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910933 Matthias Grießmeier <mgriessmeier@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED CC| |mgriessmeier@suse.com Resolution|--- |FIXED --- Comment #10 from Matthias Grießmeier <mgriessmeier@suse.com> --- Update released for openSUSE 13.2 - resolved fixed -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910933 --- Comment #13 from Fuminobu Takeyama <ftake@geeko.jp> --- confirmed. I submitted a new package to M17N. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=910933 http://bugzilla.opensuse.org/show_bug.cgi?id=910933#c14 Karl Cheng <qantas94heavy@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |qantas94heavy@gmail.com Resolution|--- |FIXED --- Comment #14 from Karl Cheng <qantas94heavy@gmail.com> --- Additional fix mentioned in comment 13 is present since Leap 42.1. 13.2 does not has the fix but it is now EOL. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com