Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717126 - app-backup/snapper: ebuild should create /etc/snapper/configs
Summary: app-backup/snapper: ebuild should create /etc/snapper/configs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dainius Masiliūnas
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-11 18:24 UTC by Andreas Zuber
Modified: 2020-04-17 15:17 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Zuber 2020-04-11 18:24:45 UTC
If the /etc/snapper/configs directory doesn't exist, snapper will quit with a very strange error message when trying to create a config:

# snapper create-config /
Failure (error.something).

After creating the /etc/snapper/configs directory it worked. This should probably be created by the ebuild.

I followed the documentation here: https://wiki.gentoo.org/wiki/Snapper
Comment 1 Jonas Stein gentoo-dev 2020-04-11 19:19:37 UTC
please report upstream too, the error message should be meaningful.
Comment 2 Andreas Zuber 2020-04-12 11:22:23 UTC
Filed an upstream bug about the error message https://github.com/openSUSE/snapper/issues/533
Comment 3 Larry the Git Cow gentoo-dev 2020-04-17 15:17:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a29ee139a69ad284306ee1199864a75246286d7

commit 4a29ee139a69ad284306ee1199864a75246286d7
Author:     Yixun Lan <dlan@gentoo.org>
AuthorDate: 2020-04-17 15:15:28 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2020-04-17 15:17:35 +0000

    app-backup/snapper: version bump, 0.8.7
    
    create /etc/snapper/configs to fix bug #717126
    
    Closes: https://bugs.gentoo.org/717126
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 app-backup/snapper/Manifest             |  1 +
 app-backup/snapper/snapper-0.8.7.ebuild | 78 +++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)