#122 Debian install - /cluster/node{nodenum} link wrong

v1.9.2
closed-fixed
nobody
5
2008-10-21
2006-12-29
John Hughes
No

After a 1.9.3 (ish) debian install /cluster/node{nodenum} was left pointing at /cluster/nodetemplate instead of /cluster/node$initnode, which breaks later invocations mkinitrd.

Looks like distro_create_write (in distro.pm, called from openssi-create) didn't get run or didn't work.

I'll look at this - this bug is just so I don't forget.

Discussion

  • John Hughes

    John Hughes - 2007-06-28

    Logged In: YES
    user_id=166336
    Originator: YES

    Nope, the bug is that on install we run create_cdsl which points /cluster/node{nodenum} at /cluster/nodetemplate temporarily so that mkglobalfile works, then we run create_init_node which makes the correct link between /cluster/node{nodenum} and /cluster/node$initnode. Then in the openssi.postinst (which gets run on updates as well as installs) script we re-run create_cdsl, thus messing up our nice link.

    create_cdsl should only make the link if it doesn't exist?

     
  • John Hughes

    John Hughes - 2007-06-29

    Logged In: YES
    user_id=166336
    Originator: YES

    Fixed for 1.9.3

     
  • John Hughes

    John Hughes - 2007-06-29
    • status: open --> closed
     
  • John Hughes

    John Hughes - 2008-10-21
    • status: closed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks