From: <Venkata.Pyla@toshiba-tsip.com>
To: <cip-dev@lists.cip-project.org>, <jan.kiszka@siemens.com>
Subject: RE: [cip-dev] [PATCH] cip-core-image-security: remove unnecessary dependency package names
Date: Tue, 16 Nov 2021 05:11:16 +0000 [thread overview]
Message-ID: <OSYPR01MB5542E50807C642D356B91EFFA4999@OSYPR01MB5542.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <f222455d-19e3-d047-a4b8-afa5ad6f7700@siemens.com>
>-----Original Message-----
>From: cip-dev@lists.cip-project.org <cip-dev@lists.cip-project.org> On Behalf Of
>Jan Kiszka
>Sent: 16 November 2021 00:16
>To: pyla venkata(TSIP) <Venkata.Pyla@toshiba-tsip.com>; cip-
>dev@lists.cip-project.org
>Subject: Re: [cip-dev] [PATCH] cip-core-image-security: remove unnecessary
>dependency package names
>
>On 15.11.21 17:15, venkata.pyla@toshiba-tsip.com wrote:
>> From: venkata pyla <venkata.pyla@toshiba-tsip.com>
>>
>> It is not necessary to mention dependency package names when parent
>> package is present, the dependency packages will automatically install
>> by isar framework.
>>
>> so removing the dependency packages which are not necessary.
>>
>> Signed-off-by: venkata pyla <venkata.pyla@toshiba-tsip.com>
>> ---
>> recipes-core/images/cip-core-image-security.bb | 8 ++++----
>> 1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/recipes-core/images/cip-core-image-security.bb
>> b/recipes-core/images/cip-core-image-security.bb
>> index 61ddc39..6c41b00 100644
>> --- a/recipes-core/images/cip-core-image-security.bb
>> +++ b/recipes-core/images/cip-core-image-security.bb
>> @@ -17,12 +17,12 @@ IMAGE_INSTALL += "security-customizations"
>>
>> # Debian packages that provide security features IMAGE_PREINSTALL +=
>> " \
>> - openssl libssl1.1 \
>> + openssl \
>> fail2ban \
>> openssh-server openssh-sftp-server openssh-client \
>> syslog-ng-core syslog-ng-mod-journal \
>> - aide aide-common \
>> - libnftables0 nftables \
>> + aide \
>> + nftables \
>> libpam-pkcs11 \
>> chrony \
>> tpm2-tools \
>> @@ -30,7 +30,7 @@ IMAGE_PREINSTALL += " \
>> libtss2-esys0 libtss2-udev \
>> libpam-cracklib \
>> acl \
>> - libauparse0 audispd-plugins auditd \
>> + audispd-plugins auditd \
>> uuid-runtime \
>> sudo \
>> "
>>
>
>Was the list possibly intended to list all packages explicitly that are security
>related? If not or that was incomplete anyway, this is fine.
The original intention of the package list is to mention it explicitly all the packages required to achieve the security functionality, even though some of the packages are dependency packages of the main package.
I Just want to remove the dependency packages because, their names are changed when different distribution version (buster, bullseye, etc) is used like below
[buster]
Package: nftables
Dep: libnftables0
[bullseye]
Package: nftables
Dep: libnftables1
So, I have removed the dependency packages here and allowed package-manager to install the correct dependency packages.
But, still there is problem when the main package itself has different name in the other distribution version, in this case should we have different recipe for each distribution version? Please suggest if there is any to resolve such scenarios.
[buster]
Package: libtss2-esys0
[bullseye]
Package: libtss2-esys-3.0.2-0
Thanks
Venkata.
>
>Jan
>
>--
>Siemens AG, T RDA IOT
>Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2021-11-16 5:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-15 16:15 [PATCH] cip-core-image-security: remove unnecessary dependency package names venkata.pyla
2021-11-15 18:46 ` Jan Kiszka
2021-11-16 5:11 ` Venkata.Pyla [this message]
2021-11-16 7:25 ` [cip-dev] " Jan Kiszka
2021-11-16 9:27 ` Venkata.Pyla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=OSYPR01MB5542E50807C642D356B91EFFA4999@OSYPR01MB5542.jpnprd01.prod.outlook.com \
--to=venkata.pyla@toshiba-tsip.com \
--cc=cip-dev@lists.cip-project.org \
--cc=jan.kiszka@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.