View Issue Details

IDProjectCategoryView StatusLast Update
0008634Talerdeployment and operationspublic2024-04-15 19:32
Reporterjavier.sepulveda Assigned Tojavier.sepulveda Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version0.10Fixed in Version0.10 
Summary0008634: Apply version control to /etc folder - anastasis.lu
DescriptionEither with directory binding and git, or with the configuring properly the etckeeper program.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

javier.sepulveda

2024-03-13 12:39

reporter   ~0021885

After doing some tests on this. I don't like bind-mount. As we are using a VPS and not physical server, so dealing with partitions (lsblk), and editing the /etc/fstab complicates too much things. I even lost the ssh access with the test server when doing the mount --bind.

Using etckeeper is simple, but I don't like it neither:
1) Touches the original /etc, creating a .git folder inside
2) Even though you can enable a systemd timer for this program to work (which is nice), and avoid to use cronjobs, in the end, after each edition of the /etc, you will have
automatic daily commits, with random names, which eventually won't be helpful for recovery.
3) You can't use GIT as usual, but have to use specific etckeeper command syntax every time.

I am thinking on using hard symlinks from an external /root/etc-maintenance folder to the real /etc, but as far as I have tried GIT doesn't track symlinks even if they are hard ones.
So I will keep going to think a better solution. For the moment no danger at all with the server, as I have created a snapshot from the provider control panel,so we can rollback that at any time.

I have learnt in this process, that rush is not good, and I am very happy to see that even though I have been requested to do this in a way, I have decided to wait and further investigate.

Thus I will keep doing some research to see if I can find a nice solution for this in combination with GIT, as to end up using etckeeper, there is always time.

Christian Grothoff

2024-03-18 11:19

manager   ~0021942

Please only assign as 'feedback' if there is any open issue/question to be addressed. Otherwise, you should probably just resolve!

Issue History

Date ModifiedUsernameFieldChange
2024-03-13 09:45javier.sepulvedaNew Issue
2024-03-13 09:45javier.sepulvedaStatusnew => assigned
2024-03-13 09:45javier.sepulvedaAssigned To => javier.sepulveda
2024-03-13 12:39javier.sepulvedaNote Added: 0021885
2024-03-14 12:48javier.sepulvedaAssigned Tojavier.sepulveda => Christian Grothoff
2024-03-14 12:48javier.sepulvedaStatusassigned => feedback
2024-03-18 11:19Christian GrothoffAssigned ToChristian Grothoff => javier.sepulveda
2024-03-18 11:19Christian GrothoffStatusfeedback => informing
2024-03-18 11:19Christian GrothoffResolutionopen => fixed
2024-03-18 11:19Christian GrothoffFixed in Version => 0.10
2024-03-18 11:19Christian GrothoffNote Added: 0021942
2024-04-11 23:50Christian GrothoffTarget Version => 0.10
2024-04-15 19:32Christian GrothoffStatusinforming => closed