View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000326 | SkyChart | 1-Software | public | 07-12-17 18:10 | 08-09-18 08:01 |
| Reporter | jayjay | Assigned To | Patrick Chevalley | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | x86 | OS | Linux | OS Version | Ubuntu 7.10 |
| Product Version | 3.0.1.2 | ||||
| Summary | 0000326: Simply does not start at all | ||||
| Description | Hello there! I installed cdc following the documentation: I used the deb-sources specified in the docs and installed via apt, so I could not do something wrong ;-) Anyway: skychart does not start! It just does nothing. Even when I open a console *nothing* happens after typing "skychart". The binary is installed, and is found in my path. There is no output at all. | ||||
| Additional Information | jochen@selektron:~$ skychart jochen@selektron:~$ | ||||
| Tags | No tags attached. | ||||
| has duplicate | 0000324 | closed | Patrick Chevalley | Fail to start |
|
|
Great that you found the bug tracker of Cartes du Ciel / Skychart. But: * Did you check on the Yahoo-group (http://tech.groups.yahoo.com/group/skychart-discussion) ? * Did you install the latest Linux snapshot (http://www.ap-i.net/skychart/en/development_version) ? Most probably your problem is not a bug, but a configuration issue. Ask on the Yahoo group, there are plenty people that are willing to help. (I found that the link in this note is not working on my computer, but the "skychart-discussion" group really exists on Yahoo.) |
|
|
Hi! Yes, I checked with the yahoo-group: *start_quote* Linux Is it possible to run CdC on Linux ubuntu? If so HOW?? Regards h-g... Hans-Göran Lindbergh Re: Linux Yes, I do it every day. Just get the Linux version and install it like any other Linux program. Look to the archives to find the location of the file. Jules... *end_quote* And no, I did not install the latest snpashot. *As I wrote*, I installed using apt, the "official" .deb from the "official" apt-source as named in the docs. |
|
|
I am running Ubuntu 7.10 and I have the same problem: after installing Skychart (as described in the official documentation) absolutely nothing happens, when I try to start it. When I start it on the text console the following error is displayed: <3>AppArmor: aa_register: failed to get filename I am not sure, if that error message has to do with the problem, or if it is caused by trying to start it in a text console and not under X11. |
|
|
Markus, I don't use Ubuntu, but your problem seems due to security policies provided by AppArmor, that blocks Skychart start. Try to stop AppArmor (I don't know if that is possible) or try to ask in a ubuntu forum how to create a security policy to run skychart. |
|
|
Hi Mattia! A very good hint! That's the problem. After disabling AppArmor (sudo modprobe -r apparmor) it works. So it seems that I have to create a rule in AppArmor for Skychart. I have not recognized that AppArmor is working in the background. Maybe it is contained in the standard ubuntu distribution and activated as default... I cannot remember to manually active apparmor by myself. And I have already installed several applications manually without any security conflicts... Is there any speciality in relation with security policies with Skychart?! Thanks, Markus |
|
|
Hi there! I do not have apparmor running, and skychart does not start, nor produces it *any* output. I installed it canocally using apt, so to me the bug seems to be in the packaging. |
|
|
I have "googled" a little bit: it seems that Skychart uses a runtime compression (UPX) and AppArmor doesn't accept this due to security issues. Is it true? How can I create a profile for AppArmor so that Skychart runs on Ubuntu 7.10 (where AppArmor is active by default). |
|
|
Me again: I have a workaround for ubuntu: 1. Install the UPX packer: sudo apt-get install upx-ucl 2. decrompess the Skychart executable sudo upx -d /usr/bin/skychart 3. et voila: it runs under ubuntu: skychart |
|
|
Jepp! That's it! The bug is that the binary is UPX-packed! Either put an unpacked binary into deb, or put UPX into the dependencies and have the install-script unpack it. |
|
|
Thanks for documenting the problem and finding the workarounds chaps. The problem appeared for me and both the workarounds (modprobe -r apparmor and upx -d) also worked on Ubuntu 7.10 for me. |
|
|
Probably related to issue 324. |
|
|
Thank you to all for solving this problem! The reason is really a compatibility problem between Apparmor and the old Upx version provided by Ubuntu 6.06 I use last year for 3.0.1.2. I not remark this problem despite I use Ubuntu 7.10 with Apparmor as my main system because I never run this old version again. There is no problem if you install the snapshot version because it is packed with a new Upx version that solve this incompatibility (the one that ship with Ubuntu 7.10). Note this is just a compatibility bug, not a security problem as there is nothing reported in the system log and Skychart is not concerned by Apparmor until you create a security profile for it (at least this is how I understand Apparmor). |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 07-12-17 18:10 | jayjay | New Issue | |
| 07-12-17 21:34 | marc fokker | Note Added: 0000548 | |
| 07-12-17 21:35 | marc fokker | Note Edited: 0000548 | |
| 07-12-17 21:36 | marc fokker | Note Edited: 0000548 | |
| 07-12-17 21:37 | marc fokker | Note Edited: 0000548 | |
| 07-12-17 21:40 | jayjay | Note Added: 0000549 | |
| 07-12-17 21:41 | marc fokker | Note Edited: 0000548 | |
| 07-12-17 21:43 | marc fokker | Note Edited: 0000548 | |
| 07-12-27 08:59 | Markus | Note Added: 0000552 | |
| 07-12-27 10:31 | Mattia Verga | Note Added: 0000553 | |
| 07-12-27 10:46 | Markus | Note Added: 0000554 | |
| 07-12-27 11:10 | jayjay | Note Added: 0000555 | |
| 07-12-28 07:37 | Markus | Note Added: 0000556 | |
| 07-12-28 07:44 | Markus | Note Edited: 0000556 | |
| 07-12-28 07:51 | Markus | Note Edited: 0000556 | |
| 07-12-28 07:51 | Markus | Note Added: 0000557 | |
| 07-12-28 07:51 | Markus | Note Edited: 0000557 | |
| 07-12-28 10:30 | jayjay | Note Added: 0000558 | |
| 07-12-28 23:50 | ed davies | Note Added: 0000559 | |
| 07-12-29 09:27 | marc fokker | Note Added: 0000561 | |
| 07-12-29 10:59 | Patrick Chevalley | Status | new => resolved |
| 07-12-29 10:59 | Patrick Chevalley | Resolution | open => fixed |
| 07-12-29 10:59 | Patrick Chevalley | Assigned To | => Patrick Chevalley |
| 07-12-29 10:59 | Patrick Chevalley | Note Added: 0000562 | |
| 07-12-29 11:03 | Patrick Chevalley | Relationship added | has duplicate 0000324 |
| 08-09-18 08:01 | Patrick Chevalley | Status | resolved => closed |