Bug#924791: kea-dhcp-ddns-server: won't start on boot because of mis-typed WantedBy in the .service file

2019-06-06 Thread Jason Guy
Hi Markus,

We are trying to get this in Buster, but not sure how that is going...or
why it is taking so long.
However, in the meantime, you can simply add the sid repo to the sources,
and add an apt preference to pin the Kea packages to use Sid.

Jason

On Thu, Jun 6, 2019 at 10:54 AM Markus Schönhaber <
debian-b...@ddt-consult.de> wrote:

> Hi Jason,
>
> how is one supposed to upgrade the package to 1.5.0 on a
> released/supported Debian version (i. e. without moving to sid or create
> some kind of a frankendebian)?
>
> Jason Guy:
>
> > The version 1.1.0 package is not supported anymore. Please upgrade to the
> > 1.5.0 package.
>


Bug#924105: Need to add group creation to postinst script

2019-06-06 Thread Jason Guy
I see now...

dpkg-statoverride: error: group '_kea' does not exist

I will fix this...

Jason


On Thu, Jun 6, 2019 at 10:06 AM Jason Guy  wrote:

> Hi Shane,
>
> Thanks for the help on this. I thought the username is automatically
> created with a group of the same name, as part of user creation.
> Is the _kea group not getting created when you installed it? Please let me
> know what OS and version you tested on.
>
> I see there is a loop that also set the user and group for all files in
> /var/log/kea:
>
>for d in /var/log/kea /var/lib/kea; do
> if ! dpkg-statoverride --list $d >/dev/null 2>&1; then
> dpkg-statoverride --update --add *_kea _kea 0750 $d*
> fi
> done
>
> This _kea user is new in 1.5.0, for security, so it is only done for the
> debian/ubuntu package installs.
>
> Thanks,
> Jason
>
> On Fri, Apr 26, 2019 at 4:33 PM Shane Spencer  wrote:
>
>> addgroup --force-bad-name --system _kea
>> adduser ...
>> adduser _kea _kea
>>
>> That way kea is run as _kea.nogroup with access to _kea group.
>>
>> Not sure about those names either.  Is that standard for kea installs?
>>
>> <https://about.me/ShaneSpencer?promo=email_sig_source=product_medium=email_sig_campaign=gmail_api_content=thumb>
>> Shane Spencer
>> about.me/ShaneSpencer
>> <https://about.me/ShaneSpencer?promo=email_sig_source=product_medium=email_sig_campaign=gmail_api_content=thumb>
>>
>


Bug#924791: kea-dhcp-ddns-server: won't start on boot because of mis-typed WantedBy in the .service file

2019-06-06 Thread Jason Guy
Hi Markus,

The version 1.1.0 package is not supported anymore. Please upgrade to the
1.5.0 package.

Jason

On Sun, Mar 17, 2019 at 1:33 PM Markus Schönhaber <
debian-b...@ddt-consult.de> wrote:

> Package: kea-dhcp-ddns-server
> Version: 1.1.0-1
> Severity: important
>
> Dear Maintainer,
>
> the service names given in the WantedBy entires of kea's .service
> file contain an additional character 'v' that is not present in the
> names of the services referenced - for example
> kea-dhcp*v*4-server.service instead of kea-dhcp4-server.service.
> Therefore, the .service.wants directories created by systemd on
> enabling the service have the wrong name and the symlinks created in there
> are ignored when calculating the dependencies.
> The trivial patch which is attached solves this problem for me.
>
> -- System Information:
> Debian Release: 9.8
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
> LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages kea-dhcp-ddns-server depends on:
> ii  kea-common 1.1.0-1
> ii  libboost-system1.62.0  1.62.0+dfsg-4
> ii  libc6  2.24-11+deb9u4
> ii  libgcc11:6.3.0-18+deb9u1
> ii  libstdc++6 6.3.0-18+deb9u1
>
> kea-dhcp-ddns-server recommends no packages.
>
> Versions of packages kea-dhcp-ddns-server suggests:
> ii  kea-doc  1.1.0-1
>
> -- Configuration Files:
> /etc/kea/kea-dhcp-ddns.conf changed [not included]
>
> -- no debconf information
>


Bug#924105: Need to add group creation to postinst script

2019-06-06 Thread Jason Guy
Hi Shane,

Thanks for the help on this. I thought the username is automatically
created with a group of the same name, as part of user creation.
Is the _kea group not getting created when you installed it? Please let me
know what OS and version you tested on.

I see there is a loop that also set the user and group for all files in
/var/log/kea:

   for d in /var/log/kea /var/lib/kea; do
if ! dpkg-statoverride --list $d >/dev/null 2>&1; then
dpkg-statoverride --update --add *_kea _kea 0750 $d*
fi
done

This _kea user is new in 1.5.0, for security, so it is only done for the
debian/ubuntu package installs.

Thanks,
Jason

On Fri, Apr 26, 2019 at 4:33 PM Shane Spencer  wrote:

> addgroup --force-bad-name --system _kea
> adduser ...
> adduser _kea _kea
>
> That way kea is run as _kea.nogroup with access to _kea group.
>
> Not sure about those names either.  Is that standard for kea installs?
>
> 
> Shane Spencer
> about.me/ShaneSpencer
> 
>


Bug#910671: kea-dhcp4-server: Missing /var/kea and /var/run/kea

2018-12-16 Thread Jason Guy
Hi Baptiste,

Apologies for this, but I fixed this bug months ago. I am somewhat new at
maintaining a package, and apparently I failed to do something to get the
debian build system to pickup the changes for P1-4 and P1-5. I will figure
out how to do this critical step, and make sure it gets pushed to Sid. I am
starting to package 1.5, and wanted to make sure 1.4 was moved to
testing but I have to first make sure it is actually pushed to Sid
first. :(

Thanks
Jason

On Fri, Nov 9, 2018 at 10:56 AM Jason Guy  wrote:

> Thanks for sharing Martin. In 1.3 I had all the directories defined
> correctly, but we made a bunch of changes and I thought I fixed all of the
> directories in 1.4, but you are correct, the localstatedir SHOULD be
> /var/lib/kea, which should be created during the install. I will take a
> look over the weekend, and fix this.
>
> Cheers,
> Jason
>
> On Wed, Nov 7, 2018 at 10:30 AM Martin Weinelt 
> wrote:
>
>> I temporarily fixed this using systemd-tmpfiles:
>>
>> # cat /etc/tmpfiles.d/kea.conf
>> #Type Path Mode UID  GID  Age Argument
>> d /run/kea 0755 root root -   -
>>
>> # systemd-tmpfiles --create
>>
>> Instead of using /var/kea I used /var/lib/kea which existed from before
>> the upgrade.
>>
>> Set a "name", actually a path, for your lease-database:
>>
>> "lease-database": {
>> // Memfile is the simplest and easiest backend to use. It's a
>> in-memory
>> // C++ database that stores its state in CSV file.
>> "type": "memfile",
>> "lfc-interval": 3600,
>> "name": "/var/lib/kea/dhcp4.leases"
>> },
>>
>>
>> Best regards
>>
>> Martin
>>
>>


Bug#910671: kea-dhcp4-server: Missing /var/kea and /var/run/kea

2018-11-09 Thread Jason Guy
Thanks for sharing Martin. In 1.3 I had all the directories defined
correctly, but we made a bunch of changes and I thought I fixed all of the
directories in 1.4, but you are correct, the localstatedir SHOULD be
/var/lib/kea, which should be created during the install. I will take a
look over the weekend, and fix this.

Cheers,
Jason

On Wed, Nov 7, 2018 at 10:30 AM Martin Weinelt 
wrote:

> I temporarily fixed this using systemd-tmpfiles:
>
> # cat /etc/tmpfiles.d/kea.conf
> #Type Path Mode UID  GID  Age Argument
> d /run/kea 0755 root root -   -
>
> # systemd-tmpfiles --create
>
> Instead of using /var/kea I used /var/lib/kea which existed from before
> the upgrade.
>
> Set a "name", actually a path, for your lease-database:
>
> "lease-database": {
> // Memfile is the simplest and easiest backend to use. It's a
> in-memory
> // C++ database that stores its state in CSV file.
> "type": "memfile",
> "lfc-interval": 3600,
> "name": "/var/lib/kea/dhcp4.leases"
> },
>
>
> Best regards
>
> Martin
>
>


Bug#905977: kea-ctrl-agent: missing dependency on python3

2018-09-24 Thread Jason Guy
Thanks Adrian, I have made the changes to fix this, but I am running into
issues building the package. The odd part is the errors seem unrelated to
the changes. I just wanted to let you know I am working on it.




On Sun, Aug 12, 2018 at 1:58 PM, Adrian Bunk  wrote:

> Package: kea-ctrl-agent
> Version: 1.4.0.P1-3
> Severity: serious
>
> kea-ctrl-agent lacks a python3 dependency
> for /usr/sbin/kea-shell
>
> This can be fixed by adding dh-python to the build dependencies
> plus python3 to the "dh $@ --with" in debian/rules.
>


Bug#906134: RFS

2018-09-21 Thread Jason Guy
Hi Kai-Chung,

I agree. I will do that. Thanks.

Jason

On Fri, Sep 21, 2018 at 6:20 AM 殷啟聰 | Kai-Chung Yan 
wrote:

> Hello Jason,
>
> I am not a DD, but this thread might seem inappropriate to appear as a
> "sponsorship-requests" bug. How about posting it to debian-mentors [1] and
> then closing this bug?
>
> [1]: https://lists.debian.org/debian-mentors
>
>


Bug#906134: RFS

2018-08-14 Thread Jason Guy
Package: sponsorship-requests
Severity: normal

Dear mentors,

I have been doing a lot of work on the isc-kea package. The new maintainer
Ondrej Sury suggested I get a mentor to help me refine my packaging skills.

I am fairly comfortable with the package layout, and most of the basics of
building. I have read everything I can find on maintaining debian packages,
but it would be great to expand on that and learn more.

Thanks,
Jason


Bug#901525: TAG: isc-kea -- Next-gen DHCP server

2018-06-14 Thread Jason Guy
Package: wnpp
Severity: important

The current version of the isc-kea package in the debian repo is 1.1. ISC
is about to release version 1.4. The user community has been requesting the
Debian packages get updated, with the current version of Kea 1.3 pushed to
stable, and provide beta version 1.4 in testing.

I have been trying to contact the maintainer for over a year, with minimal
success getting a response. In one reply, he mentioned back in December he
is very busy. I have offered my help many times and I actually went ahead
and packaged Kea 1.3, and sent him the patches. He gladly took the patches,
and updated the git repo, but unfortunately he never pushed the package to
the Sid repo for users to test. Furthermore, I have some bug fixes, which I
have sent him and have not seen them merged on the git repo.

Adam has not replied to me in over 6 months, and it seems he has no
interest actively maintaining this package. I will be more than happy to
take over the maintenance or become a co-maintainer of this package.

Currently it looks like there is an error with the build system accessing
the git repo, which needs fixed. Most of the bugs should be fixed with
latest patches I have.


Thanks,
Jason Guy


Bug#883016: ITP: isc-kea -- New upstream version 1.3.0 released

2018-06-07 Thread Jason Guy
Hi Ivan,

I have been working with Adam to update this. The git repo does not have
the latest fixes, but I have a patch for the final patch for 1.3.0. I do
not have the permissions to get make the 1.3.0 marked stable, or pushed to
the APT repo. I am starting work on 1.4.0, but yes, I agree we need to be
better about pushing the packages out.

Jason

On Fri, Jun 1, 2018 at 3:32 AM, Ivan Stenda  wrote:

> as 1.4.0-beta released already, I would kindly ask for update at least to
> last stable  [1.3.0] ...
>
> regards
> i
>


Bug#883016: ITP: isc-kea -- New upstream version 1.3.0 released

2018-02-02 Thread Jason Guy
Hi Adam,

Apologies, I see you pushed my changes. I didn't see the package tracker
update the testing or unstable versions. How do we get this page updated?
https://tracker.debian.org/pkg/isc-kea

Thanks for pushing my changes to the git repo. I am going to pull it down
and build it.

Cheers,
Jason

On Fri, Feb 2, 2018 at 10:47 AM, Jason Guy <jason.e@gmail.com> wrote:

> Hi Adam,
>
> What is the status on getting the Kea 1.3 package done. Is it possible for
> me to create a branch for the kea1.3 so users can at least build the
> package themselves, and use it? People are unicasting me for help building
> this package, and I am more than happy to help you maintain this.
>
> Thanks,
> Jason
>
> On Wed, Dec 6, 2017 at 10:25 PM, Jason Guy <jason.e@gmail.com> wrote:
>
>> Hi Adam,
>>
>> Attached is a patch file with all the changes I made, which are
>> documented in the changelog. Please let me know if you have any questions.
>> I created a branch with the committed changes I made locally, and can
>> push that to the repo if that is easier.
>> I was not sure what the appropriate method was for contributing my
>> changes.
>>
>> Cheers,
>> Jason
>>
>>
>> On Wed, Dec 6, 2017 at 11:28 AM, Adam Majer <ad...@zombino.com> wrote:
>>
>>>
>>>
>>> On 12/06/2017 03:09 PM, Jason Guy wrote:
>>>
>>>> Hi Adam,
>>>>
>>>> I emailed you and didn't get any response, so I guessed you were really
>>>> busy. My apologies for misusing the term "orphaned", I am trying to learn
>>>> about packaging, and contributing to debian packages. Perhaps I
>>>> misunderstood the procedure, but I found no ITP for the new Kea package, so
>>>> I opened the ITP assuming nobody was working on it.
>>>>
>>>> Anyway, I just completed the build of the isc-kea 1.3.0 package. I made
>>>> a lot of improvements (I think) and tried to clean up some of the lintian
>>>> errors/warnings. I would be happy to create a pull request or whatever with
>>>> my changes. I have a few other minor tweaks to do, but I can provide the
>>>> updates I made as well. Please let me know how you would like me to 
>>>> proceed.
>>>>
>>>
>>>
>>> https://packages.qa.debian.org/i/isc-kea.html
>>>
>>> No problem. There is a Git repository for packaging. If you would like,
>>> you can marge your package changes in there and send me the patches in
>>> email.
>>>
>>> I've had my "dinner plate full" with non-Debian things for some time.
>>> But I will try to find some time to update my packages this week.
>>>
>>> Sorry for delay on this.
>>>
>>> - Adam
>>>
>>> PS. I have a patch already to update to 1.3.0, but if you send me yours
>>> I can merge them.
>>>
>>>
>>
>


Bug#883016: ITP: isc-kea -- New upstream version 1.3.0 released

2018-02-02 Thread Jason Guy
Hi Adam,

What is the status on getting the Kea 1.3 package done. Is it possible for
me to create a branch for the kea1.3 so users can at least build the
package themselves, and use it? People are unicasting me for help building
this package, and I am more than happy to help you maintain this.

Thanks,
Jason

On Wed, Dec 6, 2017 at 10:25 PM, Jason Guy <jason.e@gmail.com> wrote:

> Hi Adam,
>
> Attached is a patch file with all the changes I made, which are documented
> in the changelog. Please let me know if you have any questions.
> I created a branch with the committed changes I made locally, and can push
> that to the repo if that is easier.
> I was not sure what the appropriate method was for contributing my changes.
>
> Cheers,
> Jason
>
>
> On Wed, Dec 6, 2017 at 11:28 AM, Adam Majer <ad...@zombino.com> wrote:
>
>>
>>
>> On 12/06/2017 03:09 PM, Jason Guy wrote:
>>
>>> Hi Adam,
>>>
>>> I emailed you and didn't get any response, so I guessed you were really
>>> busy. My apologies for misusing the term "orphaned", I am trying to learn
>>> about packaging, and contributing to debian packages. Perhaps I
>>> misunderstood the procedure, but I found no ITP for the new Kea package, so
>>> I opened the ITP assuming nobody was working on it.
>>>
>>> Anyway, I just completed the build of the isc-kea 1.3.0 package. I made
>>> a lot of improvements (I think) and tried to clean up some of the lintian
>>> errors/warnings. I would be happy to create a pull request or whatever with
>>> my changes. I have a few other minor tweaks to do, but I can provide the
>>> updates I made as well. Please let me know how you would like me to proceed.
>>>
>>
>>
>> https://packages.qa.debian.org/i/isc-kea.html
>>
>> No problem. There is a Git repository for packaging. If you would like,
>> you can marge your package changes in there and send me the patches in
>> email.
>>
>> I've had my "dinner plate full" with non-Debian things for some time. But
>> I will try to find some time to update my packages this week.
>>
>> Sorry for delay on this.
>>
>> - Adam
>>
>> PS. I have a patch already to update to 1.3.0, but if you send me yours I
>> can merge them.
>>
>>
>


Bug#883016: ITP: isc-kea -- New upstream version 1.3.0 released

2017-12-06 Thread Jason Guy
Hi Adam,

Attached is a patch file with all the changes I made, which are documented
in the changelog. Please let me know if you have any questions.
I created a branch with the committed changes I made locally, and can push
that to the repo if that is easier.
I was not sure what the appropriate method was for contributing my changes.

Cheers,
Jason


On Wed, Dec 6, 2017 at 11:28 AM, Adam Majer <ad...@zombino.com> wrote:

>
>
> On 12/06/2017 03:09 PM, Jason Guy wrote:
>
>> Hi Adam,
>>
>> I emailed you and didn't get any response, so I guessed you were really
>> busy. My apologies for misusing the term "orphaned", I am trying to learn
>> about packaging, and contributing to debian packages. Perhaps I
>> misunderstood the procedure, but I found no ITP for the new Kea package, so
>> I opened the ITP assuming nobody was working on it.
>>
>> Anyway, I just completed the build of the isc-kea 1.3.0 package. I made a
>> lot of improvements (I think) and tried to clean up some of the lintian
>> errors/warnings. I would be happy to create a pull request or whatever with
>> my changes. I have a few other minor tweaks to do, but I can provide the
>> updates I made as well. Please let me know how you would like me to proceed.
>>
>
>
> https://packages.qa.debian.org/i/isc-kea.html
>
> No problem. There is a Git repository for packaging. If you would like,
> you can marge your package changes in there and send me the patches in
> email.
>
> I've had my "dinner plate full" with non-Debian things for some time. But
> I will try to find some time to update my packages this week.
>
> Sorry for delay on this.
>
> - Adam
>
> PS. I have a patch already to update to 1.3.0, but if you send me yours I
> can merge them.
>
>


kea-1.3.0.patch
Description: Binary data


Bug#883016: ITP: isc-kea -- New upstream version 1.3.0 released

2017-12-06 Thread Jason Guy
Hi Adam,

I emailed you and didn't get any response, so I guessed you were really
busy. My apologies for misusing the term "orphaned", I am trying to learn
about packaging, and contributing to debian packages. Perhaps I
misunderstood the procedure, but I found no ITP for the new Kea package, so
I opened the ITP assuming nobody was working on it.

Anyway, I just completed the build of the isc-kea 1.3.0 package. I made a
lot of improvements (I think) and tried to clean up some of the lintian
errors/warnings. I would be happy to create a pull request or whatever with
my changes. I have a few other minor tweaks to do, but I can provide the
updates I made as well. Please let me know how you would like me to
proceed.

Cheers,
Jason

On Wed, Dec 6, 2017 at 4:16 AM, Adam Majer <ad...@zombino.com> wrote:

> On 11/28/2017 08:39 PM, Jason Guy wrote:
>
>> This package has not had a lot of updates as the new versions come out.
>> The latest version brings a lot of improvements that would be great to make
>> available.
>>
>> I am not sure if the maintainer has orphaned it, but I would like to help
>> by updating the existing package for the latest upstream source.
>>
>>
> It's not orphaned. Orphaned packages have a bu filed against wnpp. Yes, I
> am rather busy with other things than Debian for a while. But an update
> version is pending thanks to patch by Baptiste Jonglez - I just need to
> upload it. Hopefully I will have time tonight (and not forget about it ;)
>
> - Adam
>
>


Bug#883016: ITP: isc-kea -- New upstream version 1.3.0 released

2017-11-28 Thread Jason Guy
Package: isc-kea
Version: 1.3.0-1
Severity: Wishlist
X-Debbugs-CC: debian-de...@lists.debian.org

This package has not had a lot of updates as the new versions come out. The
latest version brings a lot of improvements that would be great to make
available.

I am not sure if the maintainer has orphaned it, but I would like to help
by updating the existing package for the latest upstream source.