dCore Import Debian Packages to Mountable SCE extensions > Allwinner A10

[Solved] importsce - messages 'can't create symlink - operation not permitted'

(1/2) > >>

junit:
Firstly, microcore on the A10 is >very< impressed. many thanks to the entire team/community.

OK, maybe a TC-newb question... help required, and hopefully it helps someone else.

I've installed TC CLI to an A10-marsboard via the handy mkSDCard.sh script. Note: I have just extended the single partition created in the script, to get things 'going', so am unsure if this problem relates to that move.

When it comes to importsce all of my builds/installs seem to contain messages such as:

Example:

--- Quote ---importsce dropbear
...
...
Merging dropbear:
tar: can't create symlink from etc/init.d/dropbear to /usr/local/etc/init.d/dropbear; Operation not permitted
tar: can't create symlink from usr/bin/dbclient to ../sbin/dropbearmulti: Operation not permitted
... and so on.
--- End quote ---

For the most part these symlink messages that occur on all importsce calls have not affected my successful use of importsce to mount nano, alsa-utils, build-essential etc

However, since dropbear uses symlinks to call generate RSA keys etc, by calling the dropbearmulti i'm a little stuck when it comes time to run dropbear.

Example:

--- Quote ---/usr/local/etc/init.d/dropbear start
Generating Dropbear rsa key...
/usr/local/etc/init.d/dropbear: line62: dropbearkey: not found
... and so on

--- End quote ---

So i cannot use dropbear.

Any ideas?

1) What is causing the symlink messages on all importsce, are any other users experiencing this?

2) Curiously, why does init.d/dropbear run from the /usr/local/etc/init.d/dropbear and not the usual /etc/init.d/dropbear

Many thanks in advance


tinypoodle:
Blind guess, perhaps you are using a filesystem which is not POSIX compliant (e.g. msdos/vfat), while such might be required?

junit:
hmmm I can create symlinks manually.

To be clear:
1) I  installed TC-GUI onto an x86 via the CD
2) from (1) I used mkSDCard.sh to download and build the SD Card (as per tinycorelinux.net/5.x/armv7/Allwinner-A10/README-1st.txt)
3) I inserted the SD card into the marsboard, booted successfully to CLI, and proceeded to use importsce

These importsce "symlink" messages are not fatal, as i can use debian packages such as nano etc with no problem... but the use of symlinks does break dropbear which relies on symlinks to use the dropbearmulti executable

Has anyone else used the marsboard? could you try a fresh mkSDcard, and let me know if the same importsce messages appear?

Got the strange feeling, it's something small and simple staring me in the face... as usual. Possibly something to do with where init.d is placed? hmm


edit: typoe

junit:
For what it's worth, i was able to manually add some symlinks to link dropbearkey to the executable.

When i run: sudo dropbear start       ...for the first time, the RSA keys seem to successfully generate and write to the /etc/dropbear folder

However, it appears that dropbear does not start at all.


--- Quote ---sudo /etc/init.d/dropbear start
Starting SSH server: Dropbear....

Usage: /etc/init.d/dropbear start

sudo /etc/init.d/dropbear status
Dropbear is not running.

--- End quote ---

all is not well...  :(

tinypoodle:

--- Quote from: junit on November 16, 2013, 10:45:55 PM ---hmmm I can create symlinks manually.

--- End quote ---

Is that referring to your running system or your mounted storage filesystem (latter being of relevance)?

Navigation

[0] Message Index

[#] Next page

Go to full version