Bug 12491 - crontab -e discards change with EDITOR=vim
Summary: crontab -e discards change with EDITOR=vim
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.31.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-21 12:50 UTC by David Demelier
Modified: 2020-04-19 22:33 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Demelier 2020-01-21 12:50:35 UTC
Hello,

I'm moving the bug that I've reported on Alpine Linux:

https://gitlab.alpinelinux.org/alpine/aports/issues/11143

I've encountered a problem when using `crontab -e` with EDITOR=vim. It opens correctly the file, I save and I exit. Re-opening `crontab -e` shows me the initial file, just as if changes weren't saved.

This was seen with busybox 1.31.1.
Comment 1 wolf+busybox 2020-01-21 23:16:33 UTC
Patch fixing this bug send to mailing list.
Comment 2 wolf+busybox 2020-04-19 22:33:56 UTC
Hello,

I would like to ask if there is any progress on this bug? Was there anything wrong with the patch I've sent? Anything I can help with to make this fixed?

http://lists.busybox.net/pipermail/busybox/2020-January/087743.html

Thank you,
W.