[Bug 803001] New: Snapper hardcodes needed directories
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=803001 https://bugzilla.novell.com/show_bug.cgi?id=803001#c0 Summary: Snapper hardcodes needed directories Classification: openSUSE Product: openSUSE Factory Version: 12.3 Beta 1 Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pastas4@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Right now in the source code of Snapper (snapper/SnapperDefines.h), the needed directories are hardcoded. For instance, the configuration file is hardcoded as "/etc/sysconfig/snapper". This inhibits portability, as other Linux distributions use /etc/conf.d or other directories for storing system configuration data. Same thing with other entries in the file - some distributions might stop using the /bin directory entirely in favour of /usr/bin. Reproducible: Always The directories should be controlled through the configure script, instead of being hardcoded. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=803001
https://bugzilla.novell.com/show_bug.cgi?id=803001#c1
Arvin Schnell
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=803001
https://bugzilla.novell.com/show_bug.cgi?id=803001#c2
--- Comment #2 from Dainius Masiliunas
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=803001
https://bugzilla.novell.com/show_bug.cgi?id=803001#c3
--- Comment #3 from Arvin Schnell
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=803001
https://bugzilla.novell.com/show_bug.cgi?id=803001#c4
--- Comment #4 from Dainius Masiliunas
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=803001
https://bugzilla.novell.com/show_bug.cgi?id=803001#c5
Dainius Masiliunas
participants (1)
-
bugzilla_noreply@novell.com