<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>44480</bug_id>
          
          <creation_ts>2022-11-29 06:19:55 +0300</creation_ts>
          <short_desc>При установке пакета создавать пустой /etc/hasplm/nethasp.ini, если в системе такого файла ещё нет.</short_desc>
          <delta_ts>2023-04-22 01:46:52 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>haspd</component>
          <version>unstable</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey">mail</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>218076</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey">mail</who>
    <bug_when>2022-11-29 06:19:55 +0300</bug_when>
    <thetext>Сразу после установки пакета и запуска демона в лог (/var/hasplm/*.log) сыпятся сообщения об ошибках.

    FQDN is &apos;&lt;censored&gt;&apos;
    Limit NPROC at soft 127692 and hard 127692
    Limit NOFILE at soft 4096 and hard 524288
    Local timezone is &apos;&lt;censored&gt;&apos;, bias &lt;censored&gt; seconds
    Startup UTC time is &lt;censored&gt;
    Startup local time is &lt;censored&gt;, daylight is not active
    Server startup using Admin LM 22.0 build 84151 32 bit
    Unknown section specification &apos;TRUST&apos; in file &apos;/etc/hasplm/hasplm.ini&apos;
    Unrecognized entry &apos;proxy_password&apos; in &apos;/etc/hasplm/hasplm.ini&apos;
    Unrecognized entry &apos;proxy_username&apos; in &apos;/etc/hasplm/hasplm.ini&apos;
    Unrecognized entry &apos;proxy_port&apos; in &apos;/etc/hasplm/hasplm.ini&apos;
    Unrecognized entry &apos;proxy_host&apos; in &apos;/etc/hasplm/hasplm.ini&apos;
    Unrecognized entry &apos;proxy&apos; in &apos;/etc/hasplm/hasplm.ini&apos;
    Unrecognized entry &apos;id_public_addr&apos; in &apos;/etc/hasplm/hasplm.ini&apos;
    Invalid value &apos;anyone&apos;, using default &apos;1&apos; in entry &apos;accessfromremote&apos; in file &apos;/etc/hasplm/hasplm.ini&apos;
    Unrecognized entry &apos;autodetachhours&apos; in &apos;/etc/hasplm/hasplm.ini&apos;
    Unrecognized entry &apos;enableautodetach&apos; in &apos;/etc/hasplm/hasplm.ini&apos;
    Unrecognized entry &apos;identity_storage_encrypt&apos; in &apos;/etc/hasplm/hasplm.ini&apos;
    Unrecognized entry &apos;privatekey&apos; in &apos;/etc/hasplm/hasplm.ini&apos;
    Unrecognized entry &apos;certificate&apos; in &apos;/etc/hasplm/hasplm.ini&apos; 

После создания заглушки (# touch /etc/hasplm/nethasp.ini) сообщения об ошибках пропадают:

    FQDN is &apos;&lt;censored&gt;&apos;
    Limit NPROC at soft 127707 and hard 127707
    Limit NOFILE at soft 4096 and hard 524288
    Local timezone is &apos;&lt;censored&gt;&apos;, bias &lt;censored&gt; seconds
    Startup UTC time is &lt;censored&gt;
    Startup local time is &lt;censored&gt;, daylight is not active
    Server startup using Admin LM 22.0 build 84151 32 bit
    Reading configuration file &apos;/etc/hasplm/hasplm.ini&apos; 

По наводке из группы в телеграме: https://t.me/alt_linux/237141</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224850</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-04-22 01:46:52 +0300</bug_when>
    <thetext>eepm-3.52.3-alt1 -&gt; sisyphus:

 Fri Apr 21 2023 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 3.52.3-alt1
 - epm repack aksusbd: create empty /etc/hasplm/nethasp.ini (ALT bug 44480)
 - epm play: net.downloadhelper.coapp
 - epm print: fix: check if file is real package
 - epm update: check for new Korinf version not with eepm from stable ALT branches
 - epm ei: do nothing on stable ALT branches</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>