Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1358097

Summary: ipcs shows strange status message in ja locale
Product: Red Hat Enterprise Linux 7 Reporter: Tsukahara Ken <tsukahara.ken>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Radka Brychtova <rskvaril>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.2CC: bblaskov, kzak, lpol, rskvaril
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: util-linux-2.23.2-41.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 21:41:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1380361    
Attachments:
Description Flags
It will be better to use "削除" instead of "対象". none

Description Tsukahara Ken 2016-07-20 03:38:49 UTC
Created attachment 1181895 [details]
It will be better to use "削除" instead of "対象".

Description of problem:
ipcs shows strange status message in ja locale.
"dest" means "destroyed", but "対象" does not mean "destroyed".

Version-Release number of selected component (if applicable):
util-linux-2.23.2-26.el7_2.2.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Show shared memory information with C locale.
   $ LANG=C ipcs -m
   ------ Shared Memory Segments --------
   key        shmid      owner      perms      bytes      nattch     status
   0x011456ac 0          root       600        1000       6
   0x00000000 229377     user1      600        524288     2          dest
   0x00000000 262146     user1      600        4194304    2          dest
   0x00000000 360451     user1      600        4194304    2          dest
   0x00000000 458758     user1      600        4194304    2          dest
2.  Show shared memory information with ja locale.
   $ LANG=ja_JP.utf8 ipcs -m

Actual results:
   $ LANG=ja_JP.utf8 ipcs -m
   ------ 共有メモリセグメント --------
   キー     shmid      所有者  権限     バイト  nattch     状態
   0x011456ac 0          root       600        1000       6
   0x00000000 229377     user1      600        524288     2          対象
   0x00000000 262146     user1      600        4194304    2          対象
   0x00000000 360451     user1      600        4194304    2          対象
   0x00000000 458758     user1      600        4194304    2          対象

Expected results:
   $ LANG=ja_JP.utf8 ipcs -m
   ------ 共有メモリセグメント --------
   キー     shmid      所有者  権限     バイト  nattch     状態
   0x011456ac 0          root       600        1000       6
   0x00000000 229377     user1      600        524288     2          削除
   0x00000000 262146     user1      600        4194304    2          削除
   0x00000000 360451     user1      600        4194304    2          削除
   0x00000000 458758     user1      600        4194304    2          削除

Additional info:
   It will be better to use "削除" instead of "対象".

Comment 2 Karel Zak 2016-07-20 08:38:17 UTC
Hmm... upstream JP translation is actively maintained at

    http://translationproject.org/latest/util-linux/ja.po

I see 対象 there too.

Maybe you can review it and ask Takeshi Hamasaki <hmatrjp.jp> for a change, then we will have it correct in all next versions.

For RHEL7 I'll keep this open. Thanks!

Comment 3 Tsukahara Ken 2016-07-20 10:28:01 UTC
OK, I will try to contact him. Thank you.

Comment 4 Tsukahara Ken 2016-07-20 13:58:35 UTC
He accepted my suggestion, and the ja.po file has been fixed.

    http://translationproject.org/latest/util-linux/ja.po

Comment 5 Karel Zak 2016-12-01 10:49:08 UTC
Thanks!

It's trivial bugfix, going to suggest it for the next RHEL7 update.

Comment 14 errata-xmlrpc 2017-08-01 21:41:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2186