[OpenIndiana-discuss] services dependency cycle

Stephan Althaus Stephan.Althaus at Duedinghausen.eu
Fri May 6 11:56:00 UTC 2022


On 5/6/22 13:47, Carl Brewer wrote:
> On 6/05/2022 7:55 am, Gary Mills wrote:
>> On Thu, May 05, 2022 at 09:43:40PM +0200, Stephan Althaus wrote:
>>>
>>> Sorry, i don't have a system with a BE that contains the service 
>>> metainit, i
>>> tried several.. i looked into some snapshots where i did find a log 
>>> but not
>>> the manifest..
>>>
>>> Maybe someone else has a system with the service metainit present. 
>>> It think
>>> was disabled on my broken setup btw.
>>
>> I have one:
>>
>>      $ svcs -a | grep meta
>>      disabled       Apr_23   svc:/system/metainit:default
>>
>> I'm running a BE dated 2021-08-30 .
>
> I have one as well :
>
> # beadm list
> BE         Active Mountpoint Space  Policy Created
> oi20211122 -      -          12.89M static 2021-11-22 08:50
> oi20211130 -      -          13.27M static 2021-11-30 13:10
> oi20211207 -      -          11.01M static 2021-12-07 07:07
> oi20220123 -      -          15.71M static 2022-01-23 11:09
> oi20220321 NR     /          30.41G static 2022-03-21 20:09
>
>
> root at dumper# svcs -a | grep meta
> maintenance    Apr_22   svc:/system/metainit:default
> root at dumper:/export/backups/fw/fs/home/private#
>
> This machine would not come up after a pkg image-update about 3 weeks 
> ago, so I backed it out to this BE and it was ok
>
>
>
>
>
>
>
>>
>> The only dependency seems to be svc:/system/identity:node .
>>
>>
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss


Hello Carl!


Maybe you can provide the information to this topic that Till requested:


"Hello Everyone

So I think this is a Update configuration of the same Problem we where 
talking recently in illumos-developer list and Openindiana Maintainer 
meetup.

We thought it was svc:/system/device/local:default but here it is 
svc:/system/filesystem/usr

Stephan can you check the output of the following services with svcs -l?
svcs -l svc:/system/filesystem/usr:default
svcs -l svc:/system/filesystem/minimal:default
svcs -l svc:/system/device/local:default

So we can compare outputs?
Can you grep in /lib/svc/manifests if any section is dependent 
system/filesystem/usr and not depdendency thus making the cycle?
Example grep:
grep -A 3 -B 6 -R 'system/filesystem/usr' /lib/svc/manifest/

Can you grep for dependent in your /lib/svc/manifest and check if any 
service marks something as dependent there that looks odd? Like network 
setting filesystem/usr to dependent etc.


Thanks for helping debug this and
Greetings
Till
"




More information about the openindiana-discuss mailing list