[ 8.061040] dracut-pre-pivot[653]: mkdir: cannot create directory '/sysroot/tmp': File exists [ 8.061818] dracut-pre-pivot[653]: mkdir: cannot create directory '/sysroot/usr': File exists
/usr 分明应该是目录.
[ 8.062597] dracut-pre-pivot[653]: mkdir: cannot create directory '/sysroot/var': File exists [ 8.063374] dracut-pre-pivot[653]: mkdir: cannot create directory '/sysroot/vmlinuz': File exists
可是这些目录应该有吧,也会报错。
这是啥环境? 怎么复现?
ls -l /sysroot 是啥调试输出?
Thanks, Fengguang
On Fri, Aug 21, 2020 at 12:41:55PM +0800, Wu Fengguang wrote:
[ 8.061040] dracut-pre-pivot[653]: mkdir: cannot create directory '/sysroot/tmp': File exists [ 8.061818] dracut-pre-pivot[653]: mkdir: cannot create directory '/sysroot/usr': File exists
/usr 分明应该是目录.
[ 8.062597] dracut-pre-pivot[653]: mkdir: cannot create directory '/sysroot/var': File exists [ 8.063374] dracut-pre-pivot[653]: mkdir: cannot create directory '/sysroot/vmlinuz': File exists
可是这些目录应该有吧,也会报错。
这是啥环境? 怎么复现?
ls -l /sysroot 是啥调试输出?
Thanks, Fengguang
使用openeuler 20和20.03,centos 7.6, 7.8, 8.1 跑job,均会出现这种mkdir:cannot create directory,***** File exists。 在dracut这一步。
Thanks, LiangTao.