Skip to content

Error running fort without providing the --local-repository argument. (branch: fort2) #173

@rramirezmx

Description

@rramirezmx

This error apparently occurs because FORT cannot create the default directory internally due to a typo in the mkdir command.

As seen in the log, FORT attempts to execute mkdir -f <default_dir> instead of mkdir -p <default_dir>.

Log:

$ fort --mode standalone --tal tals/lacnic.tal --output.roa objects/vprs.csv
INF: fort 1.255.0
INF:   libcrypto:     OpenSSL 3.0.13 30 Jan 2024
INF:   jansson:       2.14
INF:   libcurl:       8.5.0
INF:   libxml:        2.9.14
INF:   libmicrohttpd: 1.0.0-0
INF: Configuration {
INF: tal: /home/rulasmx/tests/rirs/tals/lacnic.tal
INF: local-repository: /tmp/fort/repository
INF: cache.threshold: 86400
INF: shuffle-uris: false
INF: maximum-certificate-depth: 32
INF: slurm: (null)
INF: mode: standalone
INF: work-offline: false
INF: daemon: false
INF: server.address:
INF:   ::
INF: server.port: 323
INF: server.backlog: 4096
INF: server.interval.validation: 3600
INF: server.interval.refresh: 3600
INF: server.interval.retry: 600
INF: server.interval.expire: 7200
INF: server.deltas.lifetime: 2
INF: prometheus.port: 0
INF: rsync.enabled: true
INF: rsync.max: 1
INF: rsync.priority: 50
INF: rsync.strategy: <deprecated>
INF: rsync.program: rsync
INF: rsync.arguments-recursive:
INF:   <deprecated>
INF: rsync.arguments-flat:
INF:   <deprecated>
INF: rsync.transfer-timeout: 900
INF: http.enabled: true
INF: http.priority: 60
INF: http.user-agent: fort/1.255.0
INF: http.max-redirs: 10
INF: http.connect-timeout: 30
INF: http.transfer-timeout: 900
INF: http.low-speed-limit: 100000
INF: http.low-speed-time: 10
INF: http.max-file-size: 2000000000
INF: http.ca-path: (null)
INF: http.proxy: (null)
INF: rrdp.delta-threshold: 64
INF: log.enabled: true
INF: log.output: console
INF: log.level: warning
INF: log.print-times: false
INF: log.tag: (null)
INF: log.facility: daemon
INF: log.color-output: false
INF: report.path: (null)
INF: output.roa: /home/rulasmx/tests/rirs/objects/vprs.csv
INF: output.bgpsec: (null)
INF: output.format: csv
INF: asn1-decode-max-stack: 4096
INF: stale-repository-period: 43200
INF: init-tals: false
INF: init-as0-tals: false
INF: thread-pool.server.max: 20
INF: thread-pool.validation.max: 5
INF: file-type: (null)
INF: }
TRC: mkdir -f /tmp/fort/repository
ERR: Cannot create '/tmp/fort/repository': No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions