Bug 12347 - [AnolisOS23] 软件包 lhunspell-devel 在AnolisOS23中的行为异常_case2
Summary: [AnolisOS23] 软件包 lhunspell-devel 在AnolisOS23中的行为异常_case2
Status: RESOLVED DUPLICATE of bug 12346
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-12 16:28 UTC by young_estt
Modified: 2025-01-07 17:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description young_estt 2024-12-12 16:28:01 UTC
Description of problem:
安装hunspell包后执行命令 hunspell -A
使用sh执行命令时报错,retcode为1,使用bash时命令正常执行

Version-Release number of selected component (if applicable):


How reproducible:
在shell执行以下指令
$ docker pull registry.openanolis.cn/openanolis/anolisos:23
$ docker run -d registry.openanolis.cn/openanolis/anolisos:23 tail -f /dev/null
$ docker exec -it [docker_id] /bin/sh
$ yum install -y hunspell-devel
$ hunspell -A

Steps to Reproduce:
1.
2.
3.

Actual results:
retcode: 1
stdout:
stderr: Can't open affix or dictionary files for dictionary named "default".

Expected results:
retcode: 0

Additional info:
Comment 1 gaochang alibaba_cloud_group 2025-01-07 17:10:19 UTC
与 12346 问题一致,均为 docker 使用方式不同导致的行为不同,暂不认为是 bug

*** This bug has been marked as a duplicate of bug 12346 ***