PPA for Ubuntu 15.04 missing systemd integration
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Mythbuntu |
Undecided
|
Thomas Mashos | ||
| | mythtv (Ubuntu) |
Critical
|
Thomas Mashos | ||
Bug Description
There are two issues:
1. The PPA package for ubuntu mythtv package for 15.04 does not appear to have the systemd integration that I guess was fixed in the non-ppa version: https:/
I see no mythtv-
| Jack Deslippe (jdeslip) wrote : | #1 |
| Thomas Mashos (tgm4883) wrote : | #2 |
Fix committed. I'm waiting for it to be pulled upstream, then it should be available in the next set of packages.
| description: | updated |
| Changed in mythtv (Ubuntu): | |
| assignee: | nobody → Thomas Mashos (tgm4883) |
| status: | New → In Progress |
| importance: | Undecided → Critical |
| status: | In Progress → Fix Committed |
| Thomas Mashos (tgm4883) wrote : | #3 |
This has been merged upstream and will be fixed in the next daily build.
| Changed in mythtv (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Gabz (gnoronha) wrote : | #4 |
tagged mythbuntu teams as they manage the PPA.
| David Newman (drdrnewman) wrote : | #5 |
On 12 October 2015, there is still no mythtv-
| David Newman (drdrnewman) wrote : | #6 |
To be precise, not in the mythtv-backend package. I don't run mythbuntu standalone, but run mythtv within kubuntu.
| David Newman (drdrnewman) wrote : | #7 |
Sorry it is in /lib/systemd/system instead of /etc/systemd/system
| Steve Rimbey (steverimbey) wrote : | #8 |
Yes, it is there but does not work during boot. It does work as "sudo systemctl start mythtv-backend".
| Mark Kendall (markk) wrote : | #9 |
I added a /etc/systemd/
| Mark Kendall (markk) wrote : | #10 |
I spoke to early, the mythtv backend looked like it had started (it was visible in a ps -Af) but it wasn't usable. I also had to do a 'sudo chown mythtv /var/log/mythtv', after doing this log files are created but have minimal contents
there was no logging and event after this there is minimal content that generally looks like
2015-10-27 19:22:46.652295 C [1563/1563] thread_unknown mythcommandline
2015-10-27 19:22:46.652314 C [1563/1563] thread_unknown mythcommandline
2015-10-27 19:22:46.652319 N [1563/1563] thread_unknown mythcommandline
2015-10-27 19:22:46.693098 C [1563/1563] CoreContext main.cpp:129 (main) - Failed to init MythContext.
| Changed in mythbuntu: | |
| assignee: | nobody → Thomas Mashos (tgm4883) |
| Changed in mythtv (Ubuntu): | |
| status: | Fix Released → In Progress |
| Changed in mythbuntu: | |
| status: | New → In Progress |
| Thomas Mashos (tgm4883) wrote : | #11 |
There are 2 issues I'm working currently through for 16.04.
1) mythtv-backend isn't set to start at boot. This actually looks fairly trivial to fix as there is a dh_ script to assist with enabling this. I've just pushed this fix to the 0.28 packaging.
2) mysql listens on localhost only due to their config file. There is a new conf file in mysql that gets read after ours making mysql listen on localhost only. I think I've got an idea for fixing this.
3) The database we ship doesn't work quite right without firing off mythtv-setup first. I think I've got a handle on this, just need some time to fix this.
The service file is installed in the right location and works. Just these other kinks that need worked out.
| Steve Rimbey (steverimbey) wrote : Re: [Bug 1442773] Re: PPA for Ubuntu 15.04 missing systemd integration | #12 |
Thomas,
The mythbackend service is there but it is not "enabled" to start at boot. I used the systemctl enable command and now it starts at boot. The install of mythtv package should do the enable.
Thanks for your work on this package.
Steve Rimbey
Steve Rimbey
> On Jan 9, 2016, at 12:54 PM, Thomas Mashos <email address hidden> wrote:
>
> There are 2 issues I'm working currently through for 16.04.
>
> 1) mythtv-backend isn't set to start at boot. This actually looks fairly trivial to fix as there is a dh_ script to assist with enabling this. I've just pushed this fix to the 0.28 packaging.
> 2) mysql listens on localhost only due to their config file. There is a new conf file in mysql that gets read after ours making mysql listen on localhost only. I think I've got an idea for fixing this.
> 3) The database we ship doesn't work quite right without firing off mythtv-setup first. I think I've got a handle on this, just need some time to fix this.
>
> The service file is installed in the right location and works. Just
> these other kinks that need worked out.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> PPA for Ubuntu 15.04 missing systemd integration
>
> Status in Mythbuntu:
> In Progress
> Status in mythtv package in Ubuntu:
> In Progress
>
> Bug description:
> There are two issues:
>
> 1. The PPA package for ubuntu mythtv package for 15.04 does not appear
> to have the systemd integration that I guess was fixed in the non-ppa
> version: https:/
>
> I see no mythtv-
> create one.
>
> To manage notifications about this bug go to:
> https:/
| Thomas Mashos (tgm4883) wrote : | #13 |
Just pushed a possible fix for 2 (see post #11). For 3, I had forgotten that we require mythtv-setup now and we don't customize the database.
| Thomas Mashos (tgm4883) wrote : | #14 |
@steverimbley What is the full mythtv version you are using? I pushed a fix for that yesterday to our 0.28 packaging.
| Changed in mythbuntu: | |
| status: | In Progress → Fix Committed |
| Changed in mythtv (Ubuntu): | |
| status: | In Progress → Fix Committed |
| Steve Rimbey (steverimbey) wrote : | #15 |
From mythfrontend system status...
fixes/0.27 (v0.27.
From Ubuntu software center...
Mythtv 2:0.27.
I first encountered the enabled problem after initial install last September, and there had been an update since then.
Steve Rimbey
> On Jan 10, 2016, at 1:10 PM, Thomas Mashos <email address hidden> wrote:
>
> @steverimbley What is the full mythtv version you are using? I pushed a
> fix for that yesterday to our 0.28 packaging.
>
> ** Changed in: mythbuntu
> Status: In Progress => Fix Committed
>
> ** Changed in: mythtv (Ubuntu)
> Status: In Progress => Fix Committed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> PPA for Ubuntu 15.04 missing systemd integration
>
> Status in Mythbuntu:
> Fix Committed
> Status in mythtv package in Ubuntu:
> Fix Committed
>
> Bug description:
> There are two issues:
>
> 1. The PPA package for ubuntu mythtv package for 15.04 does not appear
> to have the systemd integration that I guess was fixed in the non-ppa
> version: https:/
>
> I see no mythtv-
> create one.
>
> To manage notifications about this bug go to:
> https:/
| Thomas Mashos (tgm4883) wrote : | #16 |
@steverimbey Not sure how I missed your update, but you're on a pretty old build of mythtv. It's recommended that you use the mythbuntu repos http://
| Changed in mythbuntu: | |
| status: | Fix Committed → Fix Released |
| Changed in mythtv (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Guyverix (guyverix) wrote : | #17 |
I am running the latest .27 build and the fix is no longer in place. I had to set the backend to stat manually with systemctl (sudo systemctl enable mythtv-backend). Looks like it may have gotten stepped on sometime in the last 7 months. LMK what kind of data or validation will assist in squishing this bug and I will happily provide it.
Note, this is not a fresh install, I just update regularly so if the fix only works for new installs of the software, it would not have fixed my issue with the commit that was done. Just wanted to bring this to peoples attention in case it should have fixed my problem too.
My system is on a 15.04 host fully up to date as of today. Just finally got annoyed at having to manually start the backend to start looking and found out about this bug.


I'll report the second issue as a second bug since it doesn't match the title.