Skip to content

traffic_layout remove command core dumped #9065

@wk333

Description

@wk333
[root@localhost ~]# mkdir test
[root@localhost ~]# cd test
[root@localhost test]# traffic_layout init
creating runroot - /root/test
WARNING: Unable to copy 'cachedir' - No such file or directory
NOTE: Creating 'cachedir': /var/cache/trafficserver
WARNING: Unable to copy 'sysconfdir' - No such file or directory
NOTE: Creating 'sysconfdir': /etc/trafficserver
WARNING: Unable to copy 'runtimedir' - No such file or directory
NOTE: Creating 'runtimedir': /run/trafficserver
WARNING: Unable to copy 'logdir' - No such file or directory
NOTE: Creating 'logdir': /var/log/trafficserver
Copying from /usr ...
[root@localhost test]# ls
bin  include  lib64  runroot.yaml  sbin  share
[root@localhost test]# cat runroot.yaml 
prefix: .
exec_prefix: .
bindir: ./bin
sbindir: ./sbin
sysconfdir: /etc/trafficserver
datadir: ./share
includedir: ./include
libdir: ./lib64/trafficserver
libexecdir: ./lib64/trafficserver/plugins
localstatedir: /var
runtimedir: /run/trafficserver
logdir: /var/log/trafficserver
cachedir: /var/cache/trafficserver[root@localhost test]# 
[root@localhost test]# traffic_layout remove
NOTE: using cwd as TS_RUNROOT
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 11) > this->size() (which is 5)
Aborted(core dumped)
[root@localhost test]# 

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions