X Tutup
Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

kd: fix "text file is busy" / "bad file descriptor"#11402

Merged
ppknap merged 5 commits intomasterfrom
kd-fix
Aug 13, 2017
Merged

kd: fix "text file is busy" / "bad file descriptor"#11402
ppknap merged 5 commits intomasterfrom
kd-fix

Conversation

@rjeczalik
Copy link
Member

@rjeczalik rjeczalik commented Aug 11, 2017

Related #8514 (comment).

"text file is busy" was indeed a problem, but under Linux.

"bad file descriptor" was reproducible under Fedora 25.

Fixes under Linux:

    Error: error installing "KD": open /usr/local/bin/kd: text file busy
Fixes:

    $ kd config set lockTimeout 10s
    Error: failed to update lockTimeout=10s: json: cannot unmarshal number 10s into Go struct field Konfig.lockTimeout of type time.Duration
Works around:

    Error: Error opening configuration cache: error opening config:
    write /home/jaden-giordano/.config/koding/kd.bolt: bad file descriptor
@rjeczalik rjeczalik requested a review from ppknap August 11, 2017 22:33
@codecov-io
Copy link

codecov-io commented Aug 12, 2017

Codecov Report

Merging #11402 into master will decrease coverage by <.1%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #11402     +/-   ##
=========================================
- Coverage    30.2%    30.2%   -0.1%     
=========================================
  Files         101      101             
  Lines       11409    11420     +11     
=========================================
  Hits         3456     3456             
- Misses       7556     7567     +11     
  Partials      397      397

@ppknap ppknap merged commit 04fab54 into master Aug 13, 2017
@ppknap ppknap deleted the kd-fix branch August 13, 2017 21:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

X Tutup